Clean up plugin management 31/26531/6
authorStephen Kitt <skitt@redhat.com>
Fri, 25 Sep 2015 12:26:24 +0000 (14:26 +0200)
committerStephen Kitt <skitt@redhat.com>
Wed, 18 Nov 2015 14:27:44 +0000 (15:27 +0100)
A number of plugins are managed by odlparent, so remove unnecessary
entries (i.e. specified identically in odlparent).

Remove all references to ${exam.version} (the dependencies are
inherited from odlparent).

Change-Id: I43ac4a692b7911321b448e788536d58f916657d1
Signed-off-by: Stephen Kitt <skitt@redhat.com>
itests/base-features-it/pom.xml
opendaylight/commons/opendaylight/pom.xml
opendaylight/config/pom.xml
opendaylight/md-sal/pom.xml
opendaylight/md-sal/sal-binding-it/pom.xml
opendaylight/md-sal/samples/toaster-it/pom.xml

index a948ec78dd676146b2c69b043e2153ce9f23afc7..12a9e076b52684273744af3dd63ce0add4b23402 100644 (file)
@@ -25,7 +25,6 @@
         <dependency>
             <groupId>org.ops4j.pax.exam</groupId>
             <artifactId>pax-exam-container-karaf</artifactId>
-            <version>${exam.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
@@ -36,7 +35,6 @@
         <dependency>
             <groupId>org.ops4j.pax.exam</groupId>
             <artifactId>pax-exam</artifactId>
-            <version>${exam.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
index d45409743a34e4c9f105c3affae4f4fa8e72bbd4..6fc641e82480cb9b76288543ce64c9c5139c8e6c 100644 (file)
             <testTarget>${java.version.target}</testTarget>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>${jar.plugin.version}</version>
-        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
-          <version>2.8.1</version>
+          <version>${maven.javadoc.version}</version>
           <configuration>
             <doclet>org.jboss.apiviz.APIviz</doclet>
             <docletArtifact>
             <javadocDir>target/apidocs</javadocDir>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>${releaseplugin.version}</version>
-        </plugin>
         <plugin>
           <groupId>org.codehaus.enunciate</groupId>
           <artifactId>maven-enunciate-plugin</artifactId>
             <configFile>enunciate.xml</configFile>
           </configuration>
           <dependencies>
-            <dependency>
-              <groupId>org.codehaus.enunciate</groupId>
-              <artifactId>enunciate-swagger</artifactId>
-              <version>${enunciate.version}</version>
-            </dependency>
             <dependency>
               <groupId>org.opendaylight.controller</groupId>
               <artifactId>commons.logback_settings</artifactId>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.8.1</version>
+        <version>${maven.javadoc.version}</version>
         <configuration>
           <doclet>org.jboss.apiviz.APIviz</doclet>
           <docletArtifact>
index 8f8998c3bf56a5c457dd0d09c95d7affe1963c0c..cf28b8a0ddc38c88e97e6196a2c6b5dd6880829c 100644 (file)
             </execution>
           </executions>
         </plugin>
-        <plugin>
-          <groupId>org.codehaus.groovy.maven</groupId>
-          <artifactId>gmaven-plugin</artifactId>
-          <version>${gmaven.plugin.version}</version>
-        </plugin>
         <plugin>
           <groupId>org.opendaylight.yangtools</groupId>
           <artifactId>yang-maven-plugin</artifactId>
index 6df11856633f14393a67c248cd6f10f8725074c8..234dcfeb74bc59d16161d45378c5d19415363a37 100644 (file)
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.jacoco</groupId>
-          <artifactId>jacoco-maven-plugin</artifactId>
-          <version>${jacoco.version}</version>
-        </plugin>
       </plugins>
 
     </pluginManagement>
index 5b404c7f2540c2cc82a52b810bc0ade419b041b6..710d113b008390e7a39b6e6797accc79450f1a3c 100644 (file)
@@ -90,7 +90,6 @@
     <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam</artifactId>
-      <version>${exam.version}</version>
       <!-- Compile scope here is intentional, it is used in TestHelper
                 class which could be downloaded via nexus and reused in other integration
                 tests. -->
index c897e073627ef4e7aa9a3328523c6f50d5d3a5ef..77a75f786eb37211c4510d4c89a68d43e2139cf3 100644 (file)
@@ -46,7 +46,6 @@
     <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam-junit4</artifactId>
-      <version>${exam.version}</version>
     </dependency>
     <dependency>
       <groupId>equinoxSDK381</groupId>
     <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam-container-native</artifactId>
-      <version>${exam.version}</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam-link-mvn</artifactId>
-      <version>${exam.version}</version>
       <scope>test</scope>
     </dependency>
     <dependency>