BUG-109: implementation
[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.10.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         <controller.config.version>0.2.3-SNAPSHOT</controller.config.version>
36                 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
37                 <ietf.types.version>2010.09.24.1</ietf.types.version>
38         </properties>
39         <prerequisites>
40                 <maven>3.0.4</maven>
41         </prerequisites>
42
43         <modules>
44                 <module>bgp</module>
45                 <module>concepts</module>
46                 <module>framework</module>
47                 <module>integration-tests</module>
48                 <module>mockito-configuration</module>
49                 <module>pcep</module>
50                 <module>programming</module>
51                 <module>rsvp</module>
52                 <module>topology</module>
53                 <module>util</module>
54         </modules>
55
56     <dependencyManagement>
57         <dependencies>
58             <dependency>
59                 <groupId>junit</groupId>
60                 <artifactId>junit</artifactId>
61                 <version>${junit.version}</version>
62                 <scope>test</scope>
63             </dependency>
64         </dependencies>
65     </dependencyManagement>
66
67         <dependencies>
68                 <dependency>
69                         <groupId>ch.qos.logback</groupId>
70                         <artifactId>logback-classic</artifactId>
71                         <version>${logback.version}</version>
72                         <scope>test</scope>
73                 </dependency>
74         </dependencies>
75         
76         <reporting>
77                 <plugins>
78                         <plugin>
79                                 <groupId>org.apache.maven.plugins</groupId>
80                                 <artifactId>maven-javadoc-plugin</artifactId>
81                                 <version>2.9.1</version>
82                         </plugin>
83                 </plugins>
84         </reporting>
85
86         <distributionManagement>
87                 <!-- OpenDayLight Released artifact -->
88                 <repository>
89                         <id>opendaylight-release</id>
90                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
91                 </repository>
92                 <!-- OpenDayLight Snapshot artifact -->
93                 <snapshotRepository>
94                         <id>opendaylight-snapshot</id>
95                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
96                 </snapshotRepository>
97                 <site>
98                         <id>${project.artifactId}-site</id>
99                         <url>./</url>
100                 </site>
101         </distributionManagement>
102
103         <build>
104                 <plugins>
105                         <plugin>
106                                 <groupId>org.apache.maven.plugins</groupId>
107                                 <artifactId>maven-compiler-plugin</artifactId>
108                                 <version>${maven.compiler.version}</version>
109                                 <configuration>
110                                         <source>${java.version.source}</source>
111                                         <target>${java.version.target}</target>
112                                         <testSource>${java.version.source}</testSource>
113                                         <testTarget>${java.version.target}</testTarget>
114                                 </configuration>
115                         </plugin>
116                         <plugin>
117                                 <groupId>org.apache.maven.plugins</groupId>
118                                 <artifactId>maven-surefire-plugin</artifactId>
119                                 <version>${surefire.version}</version>
120                                 <configuration>
121                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
122                                         <!--parallel>classes</parallel>
123                                         <forkCount>1C</forkCount>
124                                         <reuseForks>false</reuseForks>
125                                         <perCoreThreadCount>true</perCoreThreadCount-->
126                                         <threadCount>1</threadCount>
127                                 </configuration>
128                         </plugin>
129
130                         <plugin>
131                                 <groupId>org.apache.maven.plugins</groupId>
132                                 <artifactId>maven-dependency-plugin</artifactId>
133                                 <version>${dependency.version}</version>
134                                 <configuration>
135                                         <failOnWarning>true</failOnWarning>
136                                         <ignoreNonCompile>true</ignoreNonCompile>
137                                 </configuration>
138                         </plugin>
139             <plugin>
140                 <!-- Let eclipse know about the generated sources -->
141                 <groupId>org.codehaus.mojo</groupId>
142                 <artifactId>build-helper-maven-plugin</artifactId>
143                                 <version>1.8</version>
144                 <executions>
145                     <execution>
146                         <phase>generate-sources</phase>
147                         <goals>
148                             <goal>add-source</goal>
149                         </goals>
150                         <configuration>
151                             <sources>
152                                 <source>target/generated-sources/sal</source>
153                                 <source>target/generated-sources/config</source>
154                             </sources>
155                         </configuration>
156                     </execution>
157                 </executions>
158             </plugin>
159                 </plugins>
160                 <pluginManagement>
161                         <plugins>
162                                 <!--This plugin's configuration is used to store Eclipse m2e settings
163                                         only. It has no influence on the Maven build itself. -->
164                                 <plugin>
165                                         <groupId>org.eclipse.m2e</groupId>
166                                         <artifactId>lifecycle-mapping</artifactId>
167                                         <version>1.0.0</version>
168                                         <configuration>
169                                                 <lifecycleMappingMetadata>
170                                                         <pluginExecutions>
171                                                                 <pluginExecution>
172                                                                         <pluginExecutionFilter>
173                                                                                 <groupId>pl.project13.maven</groupId>
174                                                                                 <artifactId>git-commit-id-plugin</artifactId>
175                                                                                 <versionRange>[2.1.4,)</versionRange>
176                                                                                 <goals>
177                                                                                         <goal>revision</goal>
178                                                                                 </goals>
179                                                                         </pluginExecutionFilter>
180                                                                         <action>
181                                                                                 <ignore></ignore>
182                                                                         </action>
183                                                                 </pluginExecution>
184                                 <pluginExecution>
185                                     <pluginExecutionFilter>
186                                         <groupId>org.opendaylight.yangtools</groupId>
187                                         <artifactId>yang-maven-plugin</artifactId>
188                                         <versionRange>[0.5,)</versionRange>
189                                         <goals>
190                                             <goal>generate-sources</goal>
191                                         </goals>
192                                     </pluginExecutionFilter>
193                                     <action>
194                                         <ignore></ignore>
195                                     </action>
196                                 </pluginExecution>
197                                                         </pluginExecutions>
198                                                 </lifecycleMappingMetadata>
199                                         </configuration>
200                                 </plugin>
201                         </plugins>
202                 </pluginManagement>
203         </build>
204
205         <repositories>
206                 <repository>
207                         <id>opendaylight-release</id>
208                         <name>opendaylight-release</name>
209                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
210                 </repository>
211                 <repository>
212                         <id>opendaylight-snapshot</id>
213                         <name>opendaylight-snapshot</name>
214                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
215                 </repository>
216         </repositories>
217
218         <pluginRepositories>
219                 <pluginRepository>
220                         <id>opendaylight-release</id>
221                         <name>opendaylight-release</name>
222                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
223                 </pluginRepository>
224                 <pluginRepository>
225                         <id>opendaylight-snapshot</id>
226                         <name>opendaylight-snapshot</name>
227                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
228                 </pluginRepository>
229         </pluginRepositories>
230 </project>