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