BUG-113: switch BGP to proper activators
[bgpcep.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5         <name>OpenDaylight protocols</name>
6         <url>index.html</url>
7         <modelVersion>4.0.0</modelVersion>
8         <groupId>org.opendaylight.bgpcep</groupId>
9         <artifactId>protocol-parent</artifactId>
10         <description>OpenDaylight BGP+PCEP protocol parent</description>
11         <version>0.3.0-SNAPSHOT</version>
12         <packaging>pom</packaging>
13
14         <properties>
15                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16                 <commonscodec.version>1.7</commonscodec.version>
17                 <dependency.version>2.8</dependency.version>
18                 <guava.version>14.0.1</guava.version>
19                 <java.version.source>1.7</java.version.source>
20                 <java.version.target>1.7</java.version.target>
21                 <junit.version>4.10</junit.version>
22                 <logback.version>1.0.7</logback.version>
23                 <maven.bundle.version>2.4.0</maven.bundle.version>
24                 <maven.compiler.version>3.1</maven.compiler.version>
25                 <maven.jar.version>2.4</maven.jar.version>
26                 <maven.shade.version>2.1</maven.shade.version>
27                 <mockito.version>1.9.5</mockito.version>
28                 <netty.version>4.0.9.Final</netty.version>
29                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
30                 <slf4j.version>1.7.2</slf4j.version>
31                 <surefire.version>2.15</surefire.version>
32                 <osgi.version>5.0.0</osgi.version>
33
34                 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
35                 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
36                 <ietf.types.version>2010.09.24.1</ietf.types.version>
37         </properties>
38         <prerequisites>
39                 <maven>3.0.4</maven>
40         </prerequisites>
41
42         <modules>
43                 <module>bgp</module>
44                 <module>concepts</module>
45                 <module>framework</module>
46                 <module>integration-tests</module>
47                 <module>mockito-configuration</module>
48                 <module>pcep</module>
49                 <module>programming</module>
50                 <module>rsvp</module>
51                 <module>topology</module>
52                 <module>util</module>
53         </modules>
54
55         <dependencies>
56                 <dependency>
57                         <groupId>junit</groupId>
58                         <artifactId>junit</artifactId>
59                         <version>${junit.version}</version>
60                         <scope>test</scope>
61                 </dependency>
62                 <dependency>
63                         <groupId>ch.qos.logback</groupId>
64                         <artifactId>logback-classic</artifactId>
65                         <version>${logback.version}</version>
66                         <scope>test</scope>
67                 </dependency>
68         </dependencies>
69         
70         <reporting>
71                 <plugins>
72                         <plugin>
73                                 <groupId>org.apache.maven.plugins</groupId>
74                                 <artifactId>maven-javadoc-plugin</artifactId>
75                                 <version>2.9.1</version>
76                         </plugin>
77                 </plugins>
78         </reporting>
79
80         <distributionManagement>
81                 <!-- OpenDayLight Released artifact -->
82                 <repository>
83                         <id>opendaylight-release</id>
84                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
85                 </repository>
86                 <!-- OpenDayLight Snapshot artifact -->
87                 <snapshotRepository>
88                         <id>opendaylight-snapshot</id>
89                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
90                 </snapshotRepository>
91                 <site>
92                         <id>${project.artifactId}-site</id>
93                         <url>./</url>
94                 </site>
95         </distributionManagement>
96
97         <build>
98                 <plugins>
99                         <plugin>
100                                 <groupId>org.apache.maven.plugins</groupId>
101                                 <artifactId>maven-compiler-plugin</artifactId>
102                                 <version>${maven.compiler.version}</version>
103                                 <configuration>
104                                         <source>${java.version.source}</source>
105                                         <target>${java.version.target}</target>
106                                         <testSource>${java.version.source}</testSource>
107                                         <testTarget>${java.version.target}</testTarget>
108                                 </configuration>
109                         </plugin>
110                         <plugin>
111                                 <groupId>org.apache.maven.plugins</groupId>
112                                 <artifactId>maven-surefire-plugin</artifactId>
113                                 <version>${surefire.version}</version>
114                                 <configuration>
115                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
116                                         <!--parallel>classes</parallel>
117                                         <forkCount>1C</forkCount>
118                                         <reuseForks>false</reuseForks>
119                                         <perCoreThreadCount>true</perCoreThreadCount-->
120                                         <threadCount>1</threadCount>
121                                 </configuration>
122                         </plugin>
123
124                         <plugin>
125                                 <groupId>org.apache.maven.plugins</groupId>
126                                 <artifactId>maven-dependency-plugin</artifactId>
127                                 <version>${dependency.version}</version>
128                                 <configuration>
129                                         <failOnWarning>true</failOnWarning>
130                                         <ignoreNonCompile>true</ignoreNonCompile>
131                                 </configuration>
132                         </plugin>
133             <plugin>
134                 <!-- Let eclipse know about the generated sources -->
135                 <groupId>org.codehaus.mojo</groupId>
136                 <artifactId>build-helper-maven-plugin</artifactId>
137                                 <version>1.8</version>
138                 <executions>
139                     <execution>
140                         <phase>generate-sources</phase>
141                         <goals>
142                             <goal>add-source</goal>
143                         </goals>
144                         <configuration>
145                             <sources>
146                                 <source>target/generated-sources/sal</source>
147                             </sources>
148                         </configuration>
149                     </execution>
150                 </executions>
151             </plugin>
152                 </plugins>
153                 <pluginManagement>
154                         <plugins>
155                                 <!--This plugin's configuration is used to store Eclipse m2e settings
156                                         only. It has no influence on the Maven build itself. -->
157                                 <plugin>
158                                         <groupId>org.eclipse.m2e</groupId>
159                                         <artifactId>lifecycle-mapping</artifactId>
160                                         <version>1.0.0</version>
161                                         <configuration>
162                                                 <lifecycleMappingMetadata>
163                                                         <pluginExecutions>
164                                                                 <pluginExecution>
165                                                                         <pluginExecutionFilter>
166                                                                                 <groupId>pl.project13.maven</groupId>
167                                                                                 <artifactId>git-commit-id-plugin</artifactId>
168                                                                                 <versionRange>[2.1.4,)</versionRange>
169                                                                                 <goals>
170                                                                                         <goal>revision</goal>
171                                                                                 </goals>
172                                                                         </pluginExecutionFilter>
173                                                                         <action>
174                                                                                 <ignore></ignore>
175                                                                         </action>
176                                                                 </pluginExecution>
177                                 <pluginExecution>
178                                     <pluginExecutionFilter>
179                                         <groupId>org.opendaylight.yangtools</groupId>
180                                         <artifactId>yang-maven-plugin</artifactId>
181                                         <versionRange>[0.5,)</versionRange>
182                                         <goals>
183                                             <goal>generate-sources</goal>
184                                         </goals>
185                                     </pluginExecutionFilter>
186                                     <action>
187                                         <ignore></ignore>
188                                     </action>
189                                 </pluginExecution>
190                                                         </pluginExecutions>
191                                                 </lifecycleMappingMetadata>
192                                         </configuration>
193                                 </plugin>
194                         </plugins>
195                 </pluginManagement>
196         </build>
197
198         <repositories>
199                 <repository>
200                         <id>opendaylight-release</id>
201                         <name>opendaylight-release</name>
202                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
203                 </repository>
204                 <repository>
205                         <id>opendaylight-snapshot</id>
206                         <name>opendaylight-snapshot</name>
207                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
208                 </repository>
209         </repositories>
210
211         <pluginRepositories>
212                 <pluginRepository>
213                         <id>opendaylight-release</id>
214                         <name>opendaylight-release</name>
215                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
216                 </pluginRepository>
217                 <pluginRepository>
218                         <id>opendaylight-snapshot</id>
219                         <name>opendaylight-snapshot</name>
220                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
221                 </pluginRepository>
222         </pluginRepositories>
223 </project>