Model updated with descriptions
[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         <!-- Opendaylight public group -->
46         <pluginRepository>
47             <id>odlPublic</id>
48             <name>odlPublic</name>
49             <url>${nexusproxy}/groups/public/</url>
50             <snapshots>
51               <enabled>false</enabled>
52             </snapshots>
53         </pluginRepository>
54         <!-- OpenDayLight Snapshot artifact -->
55         <pluginRepository>
56             <id>opendaylight-snapshot</id>
57             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
58             <releases>
59               <enabled>false</enabled>
60             </releases>
61         </pluginRepository>
62     </pluginRepositories>
63
64
65     <repositories>
66         <!-- Opendaylight public group -->
67         <repository>
68             <id>odlPublic</id>
69             <name>odlPublic</name>
70             <url>${nexusproxy}/groups/public/</url>
71             <snapshots>
72               <enabled>false</enabled>
73             </snapshots>
74         </repository>
75         <!-- OpenDayLight Snapshot artifact -->
76         <repository>
77             <id>opendaylight-snapshot</id>
78             <name>opendaylight-snapshot</name>
79             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
80             <releases>
81               <enabled>false</enabled>
82             </releases>
83         </repository>
84     </repositories>
85     <distributionManagement>
86         <!-- OpenDayLight Released artifact -->
87         <repository>
88             <id>opendaylight-release</id>
89             <url>${nexusproxy}/repositories/opendaylight.release/</url>
90         </repository>
91         <!-- OpenDayLight Snapshot artifact -->
92         <snapshotRepository>
93             <id>opendaylight-snapshot</id>
94             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
95         </snapshotRepository>
96         <!-- Site deployment -->
97         <!-- site>
98             <id>website</id>
99             <url>${sitedeploy}</url>
100         </site -->
101     </distributionManagement>
102
103
104     <dependencyManagement>
105         <dependencies>
106             <dependency>
107                 <groupId>junit</groupId>
108                 <artifactId>junit</artifactId>
109                 <version>4.10</version>
110                 <scope>test</scope>
111                 <optional>true</optional>
112             </dependency>
113             <dependency>
114                 <groupId>org.slf4j</groupId>
115                 <artifactId>slf4j-api</artifactId>
116                 <version>${slf4j.version}</version>
117             </dependency>
118             <dependency>
119                 <groupId>io.netty</groupId>
120                 <artifactId>netty-handler</artifactId>
121                 <version>${netty.version}</version>
122             </dependency>
123             <dependency>
124             <groupId>com.google.guava</groupId>
125             <artifactId>guava</artifactId>
126             <version>${guava.version}</version>
127         </dependency>
128         </dependencies>
129     </dependencyManagement>
130     <build>
131         <plugins>
132             <plugin>
133                 <groupId>org.apache.maven.plugins</groupId>
134                 <artifactId>maven-compiler-plugin</artifactId>
135                 <version>${compiler.version}</version>
136                 <inherited>true</inherited>
137                 <configuration>
138                     <source>1.7</source>
139                     <target>1.7</target>
140                 </configuration>
141             </plugin>
142             <plugin>
143                 <artifactId>maven-source-plugin</artifactId>
144                 <executions>
145                     <execution>
146                         <id>attach-sources</id>
147                         <phase>deploy</phase>
148                         <goals>
149                             <goal>jar-no-fork</goal>
150                         </goals> 
151                     </execution>
152                 </executions>
153             </plugin>
154             <plugin>
155               <groupId>org.apache.felix</groupId>
156               <artifactId>maven-bundle-plugin</artifactId>
157               <version>${maven.bundle.version}</version>
158               <extensions>true</extensions>
159               <configuration>
160                 <instructions>
161                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
162                 </instructions>
163                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
164               </configuration>
165             </plugin>
166         </plugins>
167         <pluginManagement>
168             <plugins>
169                 <plugin>
170                     <groupId>org.apache.maven.plugins</groupId>
171                     <artifactId>maven-source-plugin</artifactId>
172                     <version>2.2.1</version>
173                 </plugin>
174                 <plugin>
175                     <groupId>org.apache.maven.plugins</groupId>
176                     <artifactId>maven-deploy-plugin</artifactId>
177                     <version>2.7</version>
178                 </plugin>
179                 <plugin>
180                     <groupId>org.apache.maven.plugins</groupId>
181                     <artifactId>maven-jar-plugin</artifactId>
182                     <version>2.4</version>
183                 </plugin>
184                 <plugin>
185                     <groupId>org.apache.maven.plugins</groupId>
186                     <artifactId>maven-release-plugin</artifactId>
187                     <version>${releaseplugin.version}</version>
188                 </plugin>
189             </plugins>
190         </pluginManagement>
191     </build>
192     <reporting>
193         <plugins>
194             <plugin>
195                 <groupId>org.codehaus.mojo</groupId>
196                 <artifactId>findbugs-maven-plugin</artifactId>
197                 <version>2.5.2</version>
198                 <configuration>
199                     <effort>Max</effort>
200                     <threshold>Low</threshold>
201                     <goal>site</goal>
202                 </configuration>
203             </plugin>
204             <plugin>
205               <artifactId>maven-jxr-plugin</artifactId>
206               <version>2.3</version>
207               <configuration>
208                 <aggregate>true</aggregate>
209                 <linkJavadoc>true</linkJavadoc>
210               </configuration>
211             </plugin>
212
213             <plugin>
214                 <groupId>org.codehaus.mojo</groupId>
215                 <artifactId>jdepend-maven-plugin</artifactId>
216                 <version>2.0-beta-2</version>
217             </plugin>
218         </plugins>
219     </reporting>
220     <profiles>
221         <profile>
222             <id>viewbuild</id>
223             <activation>
224                 <activeByDefault>true</activeByDefault>
225             </activation>
226             <properties>
227                 <build.suffix>${project.version}</build.suffix>
228             </properties>
229         </profile>
230         <profile>
231             <id>jenkins</id>
232             <activation>
233                 <property>
234                     <name>BUILDSUFFIX</name>
235                 </property>
236             </activation>
237             <properties>
238                 <build.suffix>${BUILDSUFFIX}</build.suffix>
239             </properties>
240         </profile>
241         <profile>
242             <id>repoBuild</id>
243             <build>
244                 <plugins>
245                     <plugin>
246                         <groupId>org.apache.maven.plugins</groupId>
247                         <artifactId>maven-javadoc-plugin</artifactId>
248                         <version>2.8.1</version>
249                         <executions>
250                             <execution>
251                                 <goals>
252                                     <goal>aggregate</goal>
253                                 </goals>
254                                 <phase>site</phase>
255                             </execution>
256                             <execution>
257                                 <id>attach-javadocs</id>
258                                 <goals>
259                                     <goal>jar</goal>
260                                 </goals>
261                             </execution>
262                         </executions>
263                     </plugin>
264                     <plugin>
265                         <groupId>org.apache.maven.plugins</groupId>
266                         <artifactId>maven-source-plugin</artifactId>
267                         <executions>
268                             <execution>
269                                 <id>attach-sources</id>
270                                 <phase>package</phase>
271                                 <goals>
272                                     <goal>jar-no-fork</goal>
273                                 </goals>
274                             </execution>
275                         </executions>
276                     </plugin>
277                 </plugins>
278             </build>
279         </profile>
280     </profiles>
281 </project>