commenting out javadoc plugin
[odlparent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11     <modelVersion>4.0.0</modelVersion>
12     <artifactId>odlparent</artifactId>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <version>1.4.2-SNAPSHOT</version>
15     <packaging>pom</packaging>
16     <prerequisites>
17         <maven>3.0.4</maven>
18     </prerequisites>
19
20     <properties>
21         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
23         <nexus.repository.release>opendaylight.release</nexus.repository.release>
24         <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
25         <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
26         <osgi.core.version>5.0.0</osgi.core.version>
27         <!-- Java Versions -->
28         <maven.compiler.source>1.7</maven.compiler.source>
29         <maven.compiler.target>1.7</maven.compiler.target>
30
31         <!-- Build Plugin Versions -->
32         <maven.bundle.version>2.4.0</maven.bundle.version>
33         <maven.jar.version>2.3.2</maven.jar.version>
34         <!--<maven.javadoc.version>2.9.1</maven.javadoc.version>-->
35         <maven.release.version>2.4.2</maven.release.version>
36         <maven.source.version>2.2.1</maven.source.version>
37         <maven.surefire.version>2.16</maven.surefire.version>
38         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
39
40         <!-- Supporting Libraries -->
41         <commons.lang3.version>3.1</commons.lang3.version>
42         <commons.lang.version>2.6</commons.lang.version>
43         <commons.codec.version>1.8</commons.codec.version>
44         <slf4j.version>1.7.2</slf4j.version>
45         <guava.version>14.0.1</guava.version>
46         <xtend.version>2.4.3</xtend.version>
47         <groovy.version>2.1.6</groovy.version>
48         <mockito.version>1.9.5</mockito.version>
49         <javassist.version>3.17.1-GA</javassist.version>
50         <logback.version>1.0.9</logback.version>
51         <jersey.client.version>1.17</jersey.client.version>
52         <jersey.server.version>1.17</jersey.server.version>
53         <jersey.version>1.17</jersey.version>
54         <jersey-servlet.version>1.17</jersey-servlet.version>
55         <junit.version>4.11</junit.version>
56     </properties>
57
58     <scm>
59         <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
60         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
61         <tag>HEAD</tag>
62         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
63     </scm>
64
65
66     <pluginRepositories>
67         <!-- OpenDayLight Repo Mirror -->
68         <pluginRepository>
69             <id>opendaylight-mirror</id>
70             <name>opendaylight-mirror</name>
71             <url>http://nexus.opendaylight.org/content/groups/public/</url>
72             <snapshots>
73                 <enabled>false</enabled>
74             </snapshots>
75             <releases>
76                 <enabled>true</enabled>
77                 <updatePolicy>never</updatePolicy>
78             </releases>
79         </pluginRepository>
80
81         <!-- OpenDayLight Snapshot artifact -->
82         <pluginRepository>
83             <id>opendaylight-snapshot</id>
84             <name>opendaylight-snapshot</name>
85             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
86             <snapshots>
87                 <enabled>true</enabled>
88             </snapshots>
89             <releases>
90                 <enabled>false</enabled>
91             </releases>
92         </pluginRepository>
93     </pluginRepositories>
94
95     <repositories>
96         <!-- OpenDayLight Repo Mirror -->
97         <repository>
98             <id>opendaylight-mirror</id>
99             <name>opendaylight-mirror</name>
100             <url>http://nexus.opendaylight.org/content/groups/public/</url>
101             <snapshots>
102                 <enabled>false</enabled>
103             </snapshots>
104             <releases>
105                 <enabled>true</enabled>
106                 <updatePolicy>never</updatePolicy>
107             </releases>
108         </repository>
109
110         <!-- OpenDayLight Snapshot artifact -->
111         <repository>
112             <id>opendaylight-snapshot</id>
113             <name>opendaylight-snapshot</name>
114             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
115             <snapshots>
116                 <enabled>true</enabled>
117             </snapshots>
118             <releases>
119                 <enabled>false</enabled>
120             </releases>
121         </repository>
122              <!-- One-FW Released artifact -->
123       <!--<repository>-->
124         <!--<id>onep</id>-->
125         <!--<name>onefw-release</name>-->
126         <!--<url>${onefw.nexusproxy}/repositories/onep/</url>-->
127       <!--</repository>-->
128       <!--&lt;!&ndash; One-FW Snapshot artifact &ndash;&gt;-->
129       <!--<repository>-->
130         <!--<id>onep-snapshots</id>-->
131         <!--<name>onefw-snapshots</name>-->
132         <!--<url>${onefw.nexusproxy}/repositories/onep-snapshots/</url>-->
133       <!--</repository>-->
134       <!--&lt;!&ndash; One-FW thirdparty artifacts &ndash;&gt;-->
135       <!--<repository>-->
136         <!--<id>onep-thirdparty</id>-->
137         <!--<name>onefw-thirdpartys</name>-->
138         <!--<url>${onefw.nexusproxy}/repositories/onep-thirdparty/</url>-->
139       <!--</repository>-->
140       <!--&lt;!&ndash; This is required to get the grapevine services sdk&ndash;&gt;-->
141       <!--<repository>-->
142           <!--<id>grapevine-snapshots</id>-->
143           <!--<url>http://sdndev-bld-01:8081/nexus/content/repositories/grapevine-snapshots</url>-->
144           <!--<releases>-->
145               <!--<enabled>true</enabled>-->
146           <!--</releases>-->
147       <!--</repository>-->
148
149     </repositories>
150
151     <dependencyManagement>
152         <dependencies>
153             <!-- Testing Dependencies -->
154             <dependency>
155                 <groupId>junit</groupId>
156                 <artifactId>junit</artifactId>
157                 <version>${junit.version}</version>
158                 <scope>test</scope>
159             </dependency>
160             <dependency>
161                 <groupId>org.mockito</groupId>
162                 <artifactId>mockito-all</artifactId>
163                 <version>${mockito.version}</version>
164                 <scope>test</scope>
165             </dependency>
166             <dependency>
167                 <groupId>org.mockito</groupId>
168                 <artifactId>mockito-core</artifactId>
169                 <version>${mockito.version}</version>
170                 <scope>test</scope>
171             </dependency>
172             <dependency>
173                 <groupId>org.slf4j</groupId>
174                 <artifactId>slf4j-simple</artifactId>
175                 <version>${slf4j.version}</version>
176                 <scope>test</scope>
177             </dependency>
178
179             <!-- Supporting Libraries -->
180             <dependency>
181                 <groupId>org.slf4j</groupId>
182                 <artifactId>jcl-over-slf4j</artifactId>
183                 <version>${slf4j.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>org.javassist</groupId>
187                 <artifactId>javassist</artifactId>
188                 <version>3.17.1-GA</version>
189             </dependency>
190             <dependency>
191                 <groupId>org.slf4j</groupId>
192                 <artifactId>slf4j-api</artifactId>
193                 <version>${slf4j.version}</version>
194             </dependency>
195             <dependency>
196                 <groupId>org.slf4j</groupId>
197                 <artifactId>slf4j-log4j12</artifactId>
198                 <version>${slf4j.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>org.slf4j</groupId>
202                 <artifactId>log4j-over-slf4j</artifactId>
203                 <version>${slf4j.version}</version>
204             </dependency>
205             <dependency>
206                 <groupId>xml-apis</groupId>
207                 <artifactId>xml-apis</artifactId>
208                 <version>2.0.2</version>
209             </dependency>
210             <dependency>
211                 <groupId>ch.qos.logback</groupId>
212                 <artifactId>logback-core</artifactId>
213                 <version>${logback.version}</version>
214             </dependency>
215             <dependency>
216                 <groupId>ch.qos.logback</groupId>
217                 <artifactId>logback-classic</artifactId>
218                 <version>${logback.version}</version>
219             </dependency>
220             <dependency>
221                 <groupId>com.google.guava</groupId>
222                 <artifactId>guava</artifactId>
223                 <version>${guava.version}</version>
224             </dependency>
225             <dependency>
226                 <groupId>org.eclipse.xtend</groupId>
227                 <artifactId>org.eclipse.xtend.lib</artifactId>
228                 <version>${xtend.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>org.apache.commons</groupId>
232                 <artifactId>commons-lang3</artifactId>
233                 <version>${commons.lang3.version}</version>
234             </dependency>
235             <dependency>
236                 <groupId>org.osgi</groupId>
237                 <artifactId>org.osgi.core</artifactId>
238                 <version>${osgi.core.version}</version>
239                 <scope>provided</scope>
240             </dependency>
241
242             <dependency>
243                 <groupId>commons-lang</groupId>
244                 <artifactId>commons-lang</artifactId>
245                 <version>${commons.lang.version}</version>
246             </dependency>
247             <dependency>
248                 <groupId>commons-codec</groupId>
249                 <artifactId>commons-codec</artifactId>
250                 <version>${commons.codec.version}</version>
251             </dependency>
252             <dependency>
253                 <groupId>com.google.code.findbugs</groupId>
254                 <artifactId>jsr305</artifactId>
255                 <version>2.0.3</version>
256             </dependency>
257             <!-- Jersey for JAXRS -->
258             <dependency>
259                 <groupId>com.sun.jersey</groupId>
260                 <artifactId>jersey-core</artifactId>
261                 <version>${jersey.version}</version>
262                 </dependency>
263                 <dependency>
264                 <groupId>com.sun.jersey</groupId>
265                 <artifactId>jersey-server</artifactId>
266                 <version>${jersey.version}</version>
267             </dependency>
268
269             <dependency>
270                 <groupId>com.sun.jersey</groupId>
271                  <artifactId>jersey-client</artifactId>
272                  <version>${jersey.client.version}</version>
273             </dependency>
274             <dependency>
275                 <groupId>org.opendaylight.controller.thirdparty</groupId>
276                 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
277                 <version>${jersey-servlet.version}</version>
278             </dependency>
279
280             <!-- Plugin integration -->
281             <dependency>
282                 <groupId>org.sonatype.plexus</groupId>
283                 <artifactId>plexus-build-api</artifactId>
284                 <version>0.0.7</version>
285             </dependency>
286             <dependency>
287                 <groupId>org.codehaus.plexus</groupId>
288                 <artifactId>plexus-slf4j-logging</artifactId>
289                 <version>1.1</version>
290             </dependency>
291             <dependency>
292                 <groupId>commons-io</groupId>
293                 <artifactId>commons-io</artifactId>
294                 <version>2.4</version>
295             </dependency>
296
297
298         </dependencies>
299     </dependencyManagement>
300
301     <dependencies>
302         <dependency>
303             <groupId>org.slf4j</groupId>
304             <artifactId>slf4j-simple</artifactId>
305         </dependency>
306     </dependencies>
307
308     <distributionManagement>
309         <!-- OpenDayLight Released artifact -->
310         <repository>
311             <id>opendaylight-release</id>
312             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
313         </repository>
314         <!-- OpenDayLight Snapshot artifact -->
315         <snapshotRepository>
316             <id>opendaylight-snapshot</id>
317             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
318         </snapshotRepository>
319         <site>
320             <id>${project.artifactId}-site</id>
321             <url>./</url>
322         </site>
323
324     </distributionManagement>
325
326     <build>
327         <pluginManagement>
328             <plugins>
329                 <!--<plugin>-->
330                     <!--<groupId>org.apache.maven.plugins</groupId>-->
331                     <!--<artifactId>maven-jar-plugin</artifactId>-->
332                     <!--<version>${maven.jar.version}</version>-->
333                     <!--<configuration>-->
334                         <!--<instructions>-->
335                             <!--<Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>-->
336                             <!--&lt;!&ndash;-->
337                                                         <!--<Export-Package>*</Export-Package>-->
338                             <!--&ndash;&gt;-->
339                     <!--</configuration>-->
340                 <!--</plugin>-->
341                 <!--<plugin>-->
342                     <!--<groupId>org.eclipse.xtend</groupId>-->
343                     <!--<artifactId>xtend-maven-plugin</artifactId>-->
344                     <!--<version>${xtend.version}</version>-->
345                     <!--<executions>-->
346                         <!--<execution>-->
347                             <!--<goals>-->
348                                 <!--<goal>compile</goal>-->
349                             <!--</goals>-->
350                             <!--<configuration>-->
351                                 <!--<outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>-->
352                             <!--</configuration>-->
353                         <!--</execution>-->
354                     <!--</executions>-->
355                 <!--</plugin>-->
356                 <!--<plugin>-->
357                     <!--<artifactId>maven-clean-plugin</artifactId>-->
358                     <!--<version>${maven.clean.plugin.version}</version>-->
359                     <!--<configuration>-->
360                         <!--<filesets>-->
361                             <!--<fileset>-->
362                                 <!--<directory>${basedir}/src/main/xtend-gen</directory>-->
363                                 <!--<includes>-->
364                                     <!--<include>**</include>-->
365                                 <!--</includes>-->
366                             <!--</fileset>-->
367                         <!--</filesets>-->
368                     <!--</configuration>-->
369                 <!--</plugin>-->
370                 <plugin>
371                     <groupId>org.eclipse.m2e</groupId>
372                     <artifactId>lifecycle-mapping</artifactId>
373                     <version>1.0.0</version>
374                     <configuration>
375                         <lifecycleMappingMetadata>
376                             <pluginExecutions>
377                                 <pluginExecution>
378                                     <pluginExecutionFilter>
379                                         <groupId>org.apache.felix</groupId>
380                                         <artifactId>maven-bundle-plugin</artifactId>
381                                         <versionRange>[1.0,)</versionRange>
382                                         <goals>
383                                             <goal>manifest</goal>
384                                         </goals>
385                                     </pluginExecutionFilter>
386                                     <action>
387                                         <execute />
388                                     </action>
389                                 </pluginExecution>
390                             </pluginExecutions>
391                         </lifecycleMappingMetadata>
392                     </configuration>
393                 </plugin>
394                 <!--<plugin>-->
395                     <!--<groupId>org.apache.maven.plugins</groupId>-->
396                     <!--<artifactId>maven-javadoc-plugin</artifactId>-->
397                     <!--<version>${maven.javadoc.version}</version>-->
398                     <!--<configuration>-->
399                         <!--<stylesheetfile>stylesheet.css</stylesheetfile>-->
400                     <!--</configuration>-->
401                     <!--<executions>-->
402                         <!--<execution>-->
403                             <!--<id>attach-javadocs</id>-->
404                             <!--<goals>-->
405                                 <!--<goal>jar</goal>-->
406                             <!--</goals>-->
407                         <!--</execution>-->
408                         <!--<execution>-->
409                             <!--<goals>-->
410                                 <!--<goal>aggregate</goal>-->
411                             <!--</goals>-->
412                             <!--<phase>site</phase>-->
413                         <!--</execution>-->
414                     <!--</executions>-->
415                 <!--</plugin>-->
416                 <plugin>
417                     <groupId>org.apache.maven.plugins</groupId>
418                     <artifactId>maven-release-plugin</artifactId>
419                     <version>${maven.release.version}</version>
420
421                     <!-- Since we have a maven plugin, we need to install it -->
422                     <configuration>
423                         <preparationGoals>clean install</preparationGoals>
424                         <completionGoals>clean install</completionGoals>
425                     </configuration>
426                 </plugin>
427             </plugins>
428         </pluginManagement>
429         <plugins>
430             <!--<plugin>-->
431                 <!--<groupId>org.apache.maven.plugins</groupId>-->
432                 <!--<artifactId>maven-jar-plugin</artifactId>-->
433             <!--</plugin>-->
434             <!--<plugin>-->
435                 <!--<groupId>org.apache.felix</groupId>-->
436                 <!--<artifactId>maven-bundle-plugin</artifactId>-->
437             <!--</plugin>-->
438             <plugin>
439                 <groupId>org.apache.maven.plugins</groupId>
440                 <artifactId>maven-source-plugin</artifactId>
441                 <version>${maven.source.version}</version>
442                 <executions>
443                     <execution>
444                         <id>attach-sources</id>
445                         <goals>
446                             <goal>jar</goal>
447                         </goals>
448                     </execution>
449                 </executions>
450             </plugin>
451             <plugin>
452                 <groupId>org.apache.maven.plugins</groupId>
453                 <artifactId>maven-javadoc-plugin</artifactId>
454             </plugin>
455         </plugins>
456     </build>
457
458     <reporting>
459         <plugins>
460             <plugin>
461                 <groupId>org.codehaus.mojo</groupId>
462                 <artifactId>findbugs-maven-plugin</artifactId>
463                 <version>2.5.3</version>
464                 <configuration>
465                     <effort>Max</effort>
466                     <threshold>Low</threshold>
467                     <goal>site</goal>
468                 </configuration>
469             </plugin>
470             <plugin>
471                 <groupId>org.codehaus.mojo</groupId>
472                 <artifactId>jdepend-maven-plugin</artifactId>
473                 <version>2.0-beta-2</version>
474             </plugin>
475         </plugins>
476     </reporting>
477 </project>