Move maven-{antrun,jar,resource}-plugin declaration 93/84793/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Sep 2019 11:52:25 +0000 (13:52 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 28 Sep 2019 12:03:15 +0000 (14:03 +0200)
These plugins are useful in odlparent-lite-derived projects, move
their version declaration.

Change-Id: Idb0046ef59a48dfc3a70d3e7d5a195cbb7a89ba7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
checkstyle/pom.xml
odlparent-artifacts/pom.xml
odlparent-lite/pom.xml
odlparent/pom.xml
spotbugs/pom.xml

index ff18d7d3e0cabf214d1d11c5732b1beda5ac5b30..a12cb0f7fc4f52357b4ebe8aa270c172da3bfd06 100644 (file)
 
   <artifactId>checkstyle</artifactId>
   <name>ODL :: odlparent :: ${project.artifactId}</name>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>3.1.2</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-resources-plugin</artifactId>
-          <version>3.1.0</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
 </project>
index f937595eca3e1f409d8e5dc57f05a873399b654d..6dc7c09e9b7e19360369a60edb237064e7230bc9 100644 (file)
             </dependency>
         </dependencies>
     </dependencyManagement>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <artifactId>maven-jar-plugin</artifactId>
-                    <version>3.1.2</version>
-                </plugin>
-                <plugin>
-                    <artifactId>maven-resources-plugin</artifactId>
-                    <version>3.1.0</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
 </project>
index 32854abdbad1fe7e9a2d3e5af62ccab8f87ba794..e9f373586466e7e9bb8c2165fcaa39fe41b9bc90 100644 (file)
   <build>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.8</version>
+        </plugin>
         <plugin>
           <artifactId>maven-archetype-plugin</artifactId>
           <version>${maven.archetype.plugin.version}</version>
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>3.1.2</version>
+        </plugin>
         <plugin>
           <artifactId>maven-project-info-reports-plugin</artifactId>
           <version>3.0.0</version>
           <artifactId>maven-release-plugin</artifactId>
           <version>2.5.3</version>
         </plugin>
+        <plugin>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>3.1.0</version>
+        </plugin>
         <plugin>
           <artifactId>maven-site-plugin</artifactId>
           <version>3.7.1</version>
index af834eeb473af87d7d86dfb9bc54d23d8cac81df..fd8eea5c8d64840c7a3643fe64c17270655122a4 100644 (file)
       <plugins>
         <!-- Official maven plugins, alpha-sorted by artifactId.
              We do not need to specify the groupId. -->
-        <plugin>
-          <artifactId>maven-antrun-plugin</artifactId>
-          <version>1.8</version>
-        </plugin>
         <plugin>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>3.1.0</version>
           <artifactId>maven-invoker-plugin</artifactId>
           <version>3.2.0</version>
         </plugin>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>3.1.2</version>
-        </plugin>
         <plugin>
           <artifactId>maven-dependency-plugin</artifactId>
           <executions>
index 1b4dc5b7fb702e40cd603007a14be67544cb9c37..d22ca668e35f789cb05704fdd2d0c782fdf93909 100644 (file)
   <artifactId>spotbugs</artifactId>
   <name>ODL :: odlparent :: ${project.artifactId}</name>
 
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>3.1.2</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-resources-plugin</artifactId>
-          <version>3.1.0</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-
   <scm>
     <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>