Upgrade upstream versions (part 1, Maven)
[odlparent.git] / odlparent / pom.xml
index baba8c9bbaeb815630a368b0bc8945d5ecbe1021..a5c7b61b3708efe0ca59ee4411d321307f09cb32 100644 (file)
@@ -8,52 +8,40 @@
  and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
 <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">
-
   <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>odlparent-lite</artifactId>
+    <version>1.6.0-SNAPSHOT</version>
+    <relativePath>../odlparent-lite</relativePath>
+  </parent>
+
   <groupId>org.opendaylight.odlparent</groupId>
   <artifactId>odlparent</artifactId>
-  <version>1.6.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
-  <licenses>
-    <license>
-      <name>Eclipse Public License v1.0</name>
-      <url>http://www.eclipse.org/legal/epl-v10.html</url>
-    </license>
-  </licenses>
-
-  <organization>
-    <name>OpenDaylight</name>
-    <url>http://www.opendaylight.org</url>
-  </organization>
-
   <scm>
     <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
     <tag>HEAD</tag>
     <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
   </scm>
-  <distributionManagement>
-    <!-- OpenDayLight Released artifact -->
-    <repository>
-      <id>opendaylight-release</id>
-      <url>${nexusproxy}/repositories/opendaylight.release/</url>
-    </repository>
-    <!-- OpenDayLight Snapshot artifact -->
-    <snapshotRepository>
-      <id>opendaylight-snapshot</id>
-      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-    </snapshotRepository>
-    <site>
-      <id>${project.artifactId}-site</id>
-      <url>./</url>
-    </site>
-  </distributionManagement>
+
+  <prerequisites>
+    <!-- This is only used to prevent building with Maven < 3 and to appease
+         maven-dependency-plugin; our real Maven requirement is enforced by
+         the enforcer plugin. -->
+    <maven>3.0.5</maven>
+  </prerequisites>
+
+  <!-- Variables should only be used where genuinely useful (to avoid
+       repetition); in general versions should be specified in the
+       corresponding dependencyManagement or pluginManagement element, not as
+       a variable. -->
   <properties>
-    <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
     <nexus.repository.release>opendaylight.release</nexus.repository.release>
     <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
-    <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
 
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <java.version.target>${maven.compiler.target}</java.version.target>
 
     <!-- Maven plugin versions, in the 'canonical' format -->
-    <maven.antrun.plugin.version>1.7</maven.antrun.plugin.version>
-    <maven.bundle.version>2.5.3</maven.bundle.version>
+    <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
+    <maven.bundle.version>2.5.4</maven.bundle.version>
     <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
-    <maven.compile.plugin.version>3.2</maven.compile.plugin.version>
-    <maven.jar.version>2.5</maven.jar.version>
-    <maven.javadoc.version>2.10.1</maven.javadoc.version>
-    <maven.plugin.version>3.3</maven.plugin.version>
-    <maven.release.version>2.5.1</maven.release.version>
-    <maven.surefire.version>2.18</maven.surefire.version>
+    <maven.compile.plugin.version>3.3</maven.compile.plugin.version>
+    <maven.jar.version>2.6</maven.jar.version>
+    <maven.javadoc.version>2.10.3</maven.javadoc.version>
+    <maven.plugin.version>3.4</maven.plugin.version>
+    <maven.release.version>2.5.2</maven.release.version>
+    <maven.surefire.version>2.18.1</maven.surefire.version>
 
     <!-- Maven plugin versions, in random formats -->
     <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
-    <checkstyle.version>2.15</checkstyle.version>
+    <checkstyle.version>2.16</checkstyle.version>
     <compiler.version>${maven.compile.plugin.version}</compiler.version>
-    <enforcer.version>1.3.1</enforcer.version>
-    <enunciate.version>1.28</enunciate.version> <!-- Needs to remain exported, as its used for dependencies, too -->
+    <enforcer.version>1.4</enforcer.version>
+    <enunciate.version>1.30.1</enunciate.version> <!-- Needs to remain exported, as its used for dependencies, too -->
     <exam.version>4.4.0</exam.version> <!-- Needs to remain exported, as its used for dependencies, too -->
-    <failsafe.version>2.18</failsafe.version>
+    <failsafe.version>2.18.1</failsafe.version>
     <gmaven.plugin.version>1.0</gmaven.plugin.version>
     <!--
         Regression in jacoco-plugin 0.7.5 prevents us from upgrading to it
           <artifactId>maven-failsafe-plugin</artifactId>
           <version>${failsafe.version}</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-invoker-plugin</artifactId>
+          <version>2.0.0</version>
+        </plugin>
         <plugin>
           <artifactId>maven-jar-plugin</artifactId>
           <version>${jar.plugin.version}</version>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>${maven.javadoc.version}</version>
           <configuration>
-            <tags>
-              <!-- support for HelpMojo generated by the maven-plugin-plugin -->
-              <tag>
-                <name>goal</name>
-                <placement>t</placement>
-                <head>Goal:</head>
-              </tag>
-              <tag>
-                <name>requiresProject</name>
-                <placement>t</placement>
-                <head>Requires project:</head>
-              </tag>
-              <tag>
-                <name>threadSafe</name>
-                <placement>t</placement>
-                <head>Threadsafe</head>
-              </tag>
-              <tag>
-                <name>phase</name>
-                <placement>t</placement>
-                <head>Phase:</head>
-              </tag>
-              <!-- end HelpMojo support -->
-            </tags>
+            <!-- Keep things quiet except for warnings/errors -->
+            <quiet>true</quiet>
           </configuration>
           <executions>
             <execution>
         </plugin>
         <plugin>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>2.3</version>
+          <version>2.4.1</version>
         </plugin>
         <plugin>
           <artifactId>maven-site-plugin</artifactId>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.0.1</version>
         <configuration>
           <effort>Max</effort>
           <threshold>Low</threshold>
       </plugin>
     </plugins>
   </reporting>
+
+  <!--
+    Maven Site Configuration
+
+    The following configuration is necessary for maven-site-plugin to
+    correctly identify the correct deployment path for OpenDaylight Maven
+    sites.
+  -->
+  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+  <distributionManagement>
+    <site>
+      <id>opendaylight-site</id>
+      <url>${nexus.site.url}/${project.artifactId}/</url>
+    </site>
+  </distributionManagement>
 </project>