GetAsyncReplyMessageFactory, QueueGetConfigReplyMessageFactoryTest
[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>third-party/openflow-codec</module>
13         <module>third-party/openflowj_netty</module>
14         </modules>
15
16     <properties>
17         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
18         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
19         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
20         <siteplugin>3.2</siteplugin>
21         <projectinfo>2.6</projectinfo>
22         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23         <compiler.version>2.3.2</compiler.version>
24         <surefire.version>2.13</surefire.version>
25         <exam.version>3.0.0</exam.version>
26         <url.version>1.5.0</url.version>
27         <enunciate.version>1.26.2</enunciate.version>
28         <sonar.branch>${user.name}-private-view</sonar.branch>
29         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
30         <logback.version>1.0.9</logback.version>
31         <slf4j.version>1.7.2</slf4j.version>
32         <yang.prototype.version>1.0-SNAPSHOT</yang.prototype.version>
33     </properties>
34
35     <pluginRepositories>
36         <pluginRepository>
37             <id>central2</id>
38             <name>central2</name>
39             <url>${nexusproxy}/repositories/central2/</url>
40         </pluginRepository>
41        <pluginRepository>
42             <id>opendaylight-release</id>
43             <url>${nexusproxy}/repositories/opendaylight.release/</url>
44         </pluginRepository>
45         <!-- OpenDayLight Snapshot artifact -->
46         <pluginRepository>
47             <id>opendaylight-snapshot</id>
48             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
49         </pluginRepository>
50     </pluginRepositories>
51
52
53     <repositories>
54         <!-- EBR release -->
55         <!-- http://repository.springsource.com/maven/bundles/release -->
56         <repository>
57             <id>ebr-bundles-release</id>
58             <name>ebr-bundles-release</name>
59             <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
60         </repository>
61         <!-- EBR external -->
62         <!-- http://repository.springsource.com/maven/bundles/external -->
63         <repository>
64             <id>ebr-bundles-external</id>
65             <name>ebr-bundles-external</name>
66             <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
67         </repository>
68         <!-- Maven repo2 mirror -->
69         <!-- http://repo2.maven.org/maven2 -->
70         <repository>
71             <id>central2</id>
72             <name>central2</name>
73             <url>${nexusproxy}/repositories/central2/</url>
74         </repository>
75         <!-- Maven repo1 mirror -->
76         <!-- http://repo1.maven.org/maven2 -->
77         <repository>
78             <id>central</id>
79             <name>central</name>
80             <url>${nexusproxy}/repositories/central/</url>
81         </repository>
82         <!-- Pax mirror -->
83         <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
84         <repository>
85             <id>ops4j-releases</id>
86             <name>ops4j-releases</name>
87             <url>${nexusproxy}/repositories/ops4j-releases/</url>
88         </repository>
89         <!-- Third Packages hosted in local maven because not available in other 
90         places -->
91         <repository>
92             <id>thirdparty</id>
93             <name>thirdparty</name>
94             <url>${nexusproxy}/repositories/thirdparty/</url>
95         </repository>
96         <!-- Jboss mirror -->
97         <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
98         <repository>
99             <id>jboss.releases</id>
100             <name>jboss.releases</name>
101             <url>${nexusproxy}/repositories/jboss.releases/</url>
102         </repository>
103         <!-- OpenDayLight Released artifact -->
104         <repository>
105             <id>opendaylight-release</id>
106             <name>opendaylight-release</name>
107             <url>${nexusproxy}/repositories/opendaylight.release/</url>
108         </repository>
109         <!-- OpenDayLight Snapshot artifact -->
110         <repository>
111             <id>opendaylight-snapshot</id>
112             <name>opendaylight-snapshot</name>
113             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
114         </repository>
115     </repositories>
116     <distributionManagement>
117         <!-- OpenDayLight Released artifact -->
118         <repository>
119             <id>opendaylight-release</id>
120             <url>${nexusproxy}/repositories/opendaylight.release/</url>
121         </repository>
122         <!-- OpenDayLight Snapshot artifact -->
123         <snapshotRepository>
124             <id>opendaylight-snapshot</id>
125             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
126         </snapshotRepository>
127         <!-- Site deployment -->
128         <!-- site>
129             <id>website</id>
130             <url>${sitedeploy}</url>
131         </site -->
132     </distributionManagement>
133
134
135     <dependencyManagement>
136         <dependencies>
137             <dependency>
138                 <groupId>junit</groupId>
139                 <artifactId>junit</artifactId>
140                 <version>4.10</version>
141                 <scope>test</scope>
142                 <optional>true</optional>
143             </dependency>
144             <dependency>
145                 <groupId>org.slf4j</groupId>
146                 <artifactId>slf4j-api</artifactId>
147                 <version>1.7.2</version>
148             </dependency>
149         </dependencies>
150     </dependencyManagement>
151     <build>
152         <plugins>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-compiler-plugin</artifactId>
156                 <version>${compiler.version}</version>
157                 <inherited>true</inherited>
158                 <configuration>
159                     <source>1.7</source>
160                     <target>1.7</target>
161                 </configuration>
162             </plugin>
163             <plugin>
164                 <groupId>org.apache.maven.plugins</groupId>
165                 <artifactId>maven-javadoc-plugin</artifactId>
166                 <version>2.8.1</version>
167                 <configuration>
168                     <stylesheet>maven</stylesheet>
169                 </configuration>
170                 <executions>
171                     <execution>
172                         <goals>
173                             <goal>aggregate</goal>
174                         </goals>
175                         <phase>site</phase>
176                     </execution> 
177                     <execution> 
178                         <id>attach-javadocs</id>
179                         <phase>deploy</phase>
180                         <goals>
181                             <goal>jar</goal>
182                         </goals> 
183                     </execution> 
184                 </executions> 
185             </plugin>
186             <plugin>
187                 <artifactId>maven-source-plugin</artifactId>
188                 <executions>
189                     <execution>
190                         <id>attach-sources</id>
191                         <phase>deploy</phase>
192                         <goals>
193                             <goal>jar-no-fork</goal>
194                         </goals> 
195                     </execution>
196                 </executions>
197             </plugin>
198             <plugin> 
199                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
200                 <artifactId>maven-deploy-plugin</artifactId> 
201                 <executions> 
202                     <execution> 
203                         <id>deploy</id>
204                         <phase>deploy</phase>
205                         <goals>
206                             <goal>deploy</goal>
207                         </goals> 
208                     </execution> 
209                 </executions> 
210             </plugin> 
211         </plugins>
212         <pluginManagement>
213             <plugins>
214                 <plugin>
215                     <groupId>org.apache.maven.plugins</groupId>
216                     <artifactId>maven-source-plugin</artifactId>
217                     <version>2.2.1</version>
218                 </plugin>
219                 <plugin>
220                     <groupId>org.apache.maven.plugins</groupId>
221                     <artifactId>maven-deploy-plugin</artifactId>
222                     <version>2.7</version>
223                 </plugin>
224             </plugins>
225         </pluginManagement>
226     </build>
227     <reporting>
228         <plugins>
229             <plugin>
230                 <groupId>org.codehaus.mojo</groupId>
231                 <artifactId>findbugs-maven-plugin</artifactId>
232                 <version>2.4.0</version>
233                 <configuration>
234                     <effort>Max</effort>
235                     <threshold>Low</threshold>
236                     <goal>site</goal>
237                 </configuration>
238             </plugin>
239             <plugin>
240                 <groupId>org.codehaus.mojo</groupId>
241                 <artifactId>jdepend-maven-plugin</artifactId>
242                 <version>2.0-beta-2</version>
243             </plugin>
244         </plugins>
245     </reporting>
246     <profiles>
247         <profile>
248             <id>viewbuild</id>
249             <activation>
250                 <activeByDefault>true</activeByDefault>
251             </activation>
252             <properties>
253                 <build.suffix>${project.version}</build.suffix>
254             </properties>
255         </profile>
256         <profile>
257             <id>jenkins</id>
258             <activation>
259                 <property>
260                     <name>BUILDSUFFIX</name>
261                 </property>
262             </activation>
263             <properties>
264                 <build.suffix>${BUILDSUFFIX}</build.suffix>
265             </properties>
266         </profile>
267     </profiles>
268 </project>