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