multipart reply message updated
[openflowjava.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>org.opendaylight.openflowjava</groupId>
5     <artifactId>openflow-protocol-parent</artifactId>
6     <version>0.1-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <modules>
9         <module>openflow-protocol-api</module>
10         <module>openflow-protocol-spi</module>
11         <module>openflow-protocol-impl</module>
12         <module>openflow-protocol-it</module>
13         <module>simple-client</module>
14         <module>third-party/openflow-codec</module>
15         <module>third-party/openflowj_netty</module>
16     </modules>
17
18     <properties>
19         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
20         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
21         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
22         <siteplugin>3.2</siteplugin>
23         <projectinfo>2.6</projectinfo>
24         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25         <compiler.version>2.3.2</compiler.version>
26         <surefire.version>2.13</surefire.version>
27         <exam.version>3.0.0</exam.version>
28         <url.version>1.5.0</url.version>
29         <enunciate.version>1.26.2</enunciate.version>
30         <sonar.branch>${user.name}-private-view</sonar.branch>
31         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
32         <logback.version>1.0.9</logback.version>
33         <slf4j.version>1.7.5</slf4j.version>
34         <yang.prototype.version>1.0-SNAPSHOT</yang.prototype.version>
35         <maven.bundle.version>2.4.0</maven.bundle.version>
36         <guava.version>14.0.1</guava.version> 
37     </properties>
38
39     <pluginRepositories>
40         <pluginRepository>
41             <id>central2</id>
42             <name>central2</name>
43             <url>${nexusproxy}/repositories/central2/</url>
44         </pluginRepository>
45        <pluginRepository>
46             <id>opendaylight-release</id>
47             <url>${nexusproxy}/repositories/opendaylight.release/</url>
48         </pluginRepository>
49         <!-- OpenDayLight Snapshot artifact -->
50         <pluginRepository>
51             <id>opendaylight-snapshot</id>
52             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
53         </pluginRepository>
54     </pluginRepositories>
55
56
57     <repositories>
58         <!-- EBR release -->
59         <!-- http://repository.springsource.com/maven/bundles/release -->
60         <repository>
61             <id>ebr-bundles-release</id>
62             <name>ebr-bundles-release</name>
63             <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
64         </repository>
65         <!-- EBR external -->
66         <!-- http://repository.springsource.com/maven/bundles/external -->
67         <repository>
68             <id>ebr-bundles-external</id>
69             <name>ebr-bundles-external</name>
70             <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
71         </repository>
72         <!-- Maven repo2 mirror -->
73         <!-- http://repo2.maven.org/maven2 -->
74         <repository>
75             <id>central2</id>
76             <name>central2</name>
77             <url>${nexusproxy}/repositories/central2/</url>
78         </repository>
79         <!-- Maven repo1 mirror -->
80         <!-- http://repo1.maven.org/maven2 -->
81         <repository>
82             <id>central</id>
83             <name>central</name>
84             <url>${nexusproxy}/repositories/central/</url>
85         </repository>
86         <!-- Pax mirror -->
87         <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
88         <repository>
89             <id>ops4j-releases</id>
90             <name>ops4j-releases</name>
91             <url>${nexusproxy}/repositories/ops4j-releases/</url>
92         </repository>
93         <!-- Third Packages hosted in local maven because not available in other 
94         places -->
95         <repository>
96             <id>thirdparty</id>
97             <name>thirdparty</name>
98             <url>${nexusproxy}/repositories/thirdparty/</url>
99         </repository>
100         <!-- Jboss mirror -->
101         <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
102         <repository>
103             <id>jboss.releases</id>
104             <name>jboss.releases</name>
105             <url>${nexusproxy}/repositories/jboss.releases/</url>
106         </repository>
107         <!-- OpenDayLight Released artifact -->
108         <repository>
109             <id>opendaylight-release</id>
110             <name>opendaylight-release</name>
111             <url>${nexusproxy}/repositories/opendaylight.release/</url>
112         </repository>
113         <!-- OpenDayLight Snapshot artifact -->
114         <repository>
115             <id>opendaylight-snapshot</id>
116             <name>opendaylight-snapshot</name>
117             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
118         </repository>
119     </repositories>
120     <distributionManagement>
121         <!-- OpenDayLight Released artifact -->
122         <repository>
123             <id>opendaylight-release</id>
124             <url>${nexusproxy}/repositories/opendaylight.release/</url>
125         </repository>
126         <!-- OpenDayLight Snapshot artifact -->
127         <snapshotRepository>
128             <id>opendaylight-snapshot</id>
129             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
130         </snapshotRepository>
131         <!-- Site deployment -->
132         <!-- site>
133             <id>website</id>
134             <url>${sitedeploy}</url>
135         </site -->
136     </distributionManagement>
137
138
139     <dependencyManagement>
140         <dependencies>
141             <dependency>
142                 <groupId>junit</groupId>
143                 <artifactId>junit</artifactId>
144                 <version>4.10</version>
145                 <scope>test</scope>
146                 <optional>true</optional>
147             </dependency>
148             <dependency>
149                 <groupId>org.slf4j</groupId>
150                 <artifactId>slf4j-api</artifactId>
151                 <version>${slf4j.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>io.netty</groupId>
155                 <artifactId>netty-handler</artifactId>
156                 <version>4.0.8.Final</version>
157             </dependency>
158             <dependency>
159             <groupId>com.google.guava</groupId>
160             <artifactId>guava</artifactId>
161             <version>${guava.version}</version>
162         </dependency>
163         </dependencies>
164     </dependencyManagement>
165     <build>
166         <plugins>
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-compiler-plugin</artifactId>
170                 <version>${compiler.version}</version>
171                 <inherited>true</inherited>
172                 <configuration>
173                     <source>1.7</source>
174                     <target>1.7</target>
175                 </configuration>
176             </plugin>
177             <plugin>
178                 <groupId>org.apache.maven.plugins</groupId>
179                 <artifactId>maven-javadoc-plugin</artifactId>
180                 <version>2.8.1</version>
181                 <configuration>
182                     <stylesheet>maven</stylesheet>
183                 </configuration>
184                 <executions>
185                     <execution>
186                         <goals>
187                             <goal>aggregate</goal>
188                         </goals>
189                         <phase>site</phase>
190                     </execution> 
191                     <execution> 
192                         <id>attach-javadocs</id>
193                         <phase>deploy</phase>
194                         <goals>
195                             <goal>jar</goal>
196                         </goals> 
197                     </execution> 
198                 </executions> 
199             </plugin>
200             <plugin>
201                 <artifactId>maven-source-plugin</artifactId>
202                 <executions>
203                     <execution>
204                         <id>attach-sources</id>
205                         <phase>deploy</phase>
206                         <goals>
207                             <goal>jar-no-fork</goal>
208                         </goals> 
209                     </execution>
210                 </executions>
211             </plugin>
212             <plugin> 
213                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
214                 <artifactId>maven-deploy-plugin</artifactId> 
215                 <executions> 
216                     <execution> 
217                         <id>deploy</id>
218                         <phase>deploy</phase>
219                         <goals>
220                             <goal>deploy</goal>
221                         </goals> 
222                     </execution> 
223                 </executions> 
224             </plugin> 
225             <plugin>
226               <groupId>org.apache.felix</groupId>
227               <artifactId>maven-bundle-plugin</artifactId>
228               <version>${maven.bundle.version}</version>
229               <extensions>true</extensions>
230               <configuration>
231                 <instructions>
232                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
233                 </instructions>
234                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
235               </configuration>
236             </plugin>
237         </plugins>
238         <pluginManagement>
239             <plugins>
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-source-plugin</artifactId>
243                     <version>2.2.1</version>
244                 </plugin>
245                 <plugin>
246                     <groupId>org.apache.maven.plugins</groupId>
247                     <artifactId>maven-deploy-plugin</artifactId>
248                     <version>2.7</version>
249                 </plugin>
250                 <plugin>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-jar-plugin</artifactId>
253                     <version>2.4</version>
254                 </plugin>
255             </plugins>
256         </pluginManagement>
257     </build>
258     <reporting>
259         <plugins>
260             <plugin>
261                 <groupId>org.codehaus.mojo</groupId>
262                 <artifactId>findbugs-maven-plugin</artifactId>
263                 <version>2.5.2</version>
264                 <configuration>
265                     <effort>Max</effort>
266                     <threshold>Low</threshold>
267                     <goal>site</goal>
268                 </configuration>
269             </plugin>
270             <plugin>
271               <artifactId>maven-jxr-plugin</artifactId>
272               <version>2.3</version>
273               <configuration>
274                 <aggregate>true</aggregate>
275                 <linkJavadoc>true</linkJavadoc>
276               </configuration>
277             </plugin>
278
279             <plugin>
280                 <groupId>org.codehaus.mojo</groupId>
281                 <artifactId>jdepend-maven-plugin</artifactId>
282                 <version>2.0-beta-2</version>
283             </plugin>
284         </plugins>
285     </reporting>
286     <profiles>
287         <profile>
288             <id>viewbuild</id>
289             <activation>
290                 <activeByDefault>true</activeByDefault>
291             </activation>
292             <properties>
293                 <build.suffix>${project.version}</build.suffix>
294             </properties>
295         </profile>
296         <profile>
297             <id>jenkins</id>
298             <activation>
299                 <property>
300                     <name>BUILDSUFFIX</name>
301                 </property>
302             </activation>
303             <properties>
304                 <build.suffix>${BUILDSUFFIX}</build.suffix>
305             </properties>
306         </profile>
307     </profiles>
308 </project>