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