Make applications/pom.xml an aggregator 88/85388/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Oct 2019 12:18:29 +0000 (14:18 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Nov 2019 16:11:02 +0000 (17:11 +0100)
This really is just an aggregator, make sure it inherits from
odlparent-lite and adjust its users to inherit from ofp-parent.
Shaves ~29 seconds from build time.

Change-Id: Id2cd32ed36a1bf40ff279cef1d9efced1649047b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
14 files changed:
applications/arbitratorreconciliation/api/pom.xml
applications/arbitratorreconciliation/impl/pom.xml
applications/arbitratorreconciliation/pom.xml
applications/bulk-o-matic/pom.xml
applications/device-ownership-service/pom.xml
applications/forwardingrules-manager/pom.xml
applications/forwardingrules-sync/pom.xml
applications/lldp-speaker/pom.xml
applications/notification-supplier/pom.xml
applications/of-switch-config-pusher/pom.xml
applications/pom.xml
applications/reconciliation-framework/pom.xml
applications/southbound-cli/pom.xml
applications/table-miss-enforcer/pom.xml

index f9b6760533809cc28b3e26738f8e37f20d282695..226e25972e6ab75908f41266196d41fe5b95ffab 100644 (file)
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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>
-        <artifactId>applications</artifactId>
         <groupId>org.opendaylight.openflowplugin</groupId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>../../../parent</relativePath>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
 
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>arbitratorreconciliation-api</artifactId>
index 536dc8b32132ced1c5f279026c7e794c0be1b22f..bd96f27934cc43a8dbd2886d80f3a530150f5dad 100644 (file)
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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>
-        <artifactId>applications</artifactId>
         <groupId>org.opendaylight.openflowplugin</groupId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>../../../parent</relativePath>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
 
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>arbitratorreconciliation-impl</artifactId>
index 45904c5f6f985ca414ccfbae4e8984cd76d715b3..178f6c9bbc0c90713ac8fc4316ecf42fdac39b19 100644 (file)
@@ -1,40 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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>
-        <artifactId>applications</artifactId>
-        <groupId>org.opendaylight.openflowplugin</groupId>
-        <version>0.10.0-SNAPSHOT</version>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>6.0.0</version>
+        <relativePath/>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
 
-    <artifactId>arbitratorreconciliation-aggregator</artifactId>
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
+    <artifactId>arbitratorreconciliation-aggregator</artifactId>
+    <version>0.10.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>ODL :: openflowplugin :: ${project.artifactId}</name>
 
+    <properties>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <maven.install.skip>true</maven.install.skip>
+    </properties>
+
     <modules>
         <module>api</module>
         <module>impl</module>
     </modules>
-
-    <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-install-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
index f3ed66e79420412a118ed5da097c509c80eae353..6a8db7442944a18e555f96fe451147d86589d6b6 100644 (file)
@@ -3,12 +3,15 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.opendaylight.openflowplugin</groupId>
-    <artifactId>applications</artifactId>
+    <artifactId>openflowplugin-parent</artifactId>
     <version>0.10.0-SNAPSHOT</version>
+    <relativePath>../../parent</relativePath>
   </parent>
+
   <groupId>org.opendaylight.openflowplugin.applications</groupId>
   <artifactId>bulk-o-matic</artifactId>
   <packaging>bundle</packaging>
+
   <dependencies>
     <dependency>
       <groupId>org.opendaylight.openflowplugin</groupId>
       <groupId>org.opendaylight.infrautils</groupId>
       <artifactId>infrautils-util</artifactId>
       <version>${infrautils.version}</version>
-    </dependency>
-
-        <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
     </dependency>
   </dependencies>
 
index 6b699e1ec4ef3889e088bdadc6e2c71d3780923e..21a8f812108a1c765cfd31c9163fda35075a6e6e 100644 (file)
@@ -1,11 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <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>
-        <artifactId>applications</artifactId>
         <groupId>org.opendaylight.openflowplugin</groupId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
 
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>device-ownership-service</artifactId>
index 7dec34b697770486797c41d17c44555e8a12443d..c3f933127faf9a0af6622ad422cd55ba124a2586 100644 (file)
@@ -3,9 +3,11 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.opendaylight.openflowplugin</groupId>
-    <artifactId>applications</artifactId>
+    <artifactId>openflowplugin-parent</artifactId>
     <version>0.10.0-SNAPSHOT</version>
+    <relativePath>../../parent</relativePath>
   </parent>
+
   <groupId>org.opendaylight.openflowplugin.applications</groupId>
   <artifactId>forwardingrules-manager</artifactId>
   <packaging>bundle</packaging>
index cb768d82f3522d7874459d03237b42bd01adc588..832c4292780edd3951a3b9e3ef94080e7992ac22 100644 (file)
@@ -3,9 +3,11 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>forwardingrules-sync</artifactId>
     <packaging>bundle</packaging>
             <type>test-jar</type>
         </dependency>
 
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-log4j12</artifactId>
index 972e3428dd066fb126e2c4b23c19080d6acf40b4..24aa3015b4c515140e3f3aa05f4887d390b233fb 100644 (file)
@@ -3,12 +3,15 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>lldp-speaker</artifactId>
     <packaging>bundle</packaging>
+
     <dependencies>
         <dependency>
             <groupId>javax.annotation</groupId>
index 45f41932dfe83323d847eb38ca36d01dd6bc9441..5efc8fbcf377c78c522dadff5abeb4d016309169 100644 (file)
@@ -3,12 +3,15 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>notification-supplier</artifactId>
     <packaging>bundle</packaging>
+
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.openflowplugin</groupId>
             <groupId>org.opendaylight.openflowplugin</groupId>
             <artifactId>openflowplugin-common</artifactId>
         </dependency>
-
-        <!-- Test dependencies -->
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 </project>
index e5dde522b4e970f90c710017d180003f4726258c..c62925ffff3c7b20a53d83e2ccee28662ae647db 100644 (file)
@@ -3,12 +3,15 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>of-switch-config-pusher</artifactId>
     <packaging>bundle</packaging>
+
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.openflowplugin</groupId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
-          <groupId>org.opendaylight.infrautils</groupId>
-          <artifactId>infrautils-util</artifactId>
-          <version>${infrautils.version}</version>
-      </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
+            <groupId>org.opendaylight.infrautils</groupId>
+            <artifactId>infrautils-util</artifactId>
+            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.inject</groupId>
index aa06a0bd10b7c85cb4fea7a38ed5d1e6f13686ac..55a67da9d37576f8df1be6c7399ae3409134eea7 100644 (file)
@@ -3,32 +3,21 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>openflowplugin-parent</artifactId>
-        <version>0.10.0-SNAPSHOT</version>
-        <relativePath>../parent</relativePath>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>6.0.0</version>
+        <relativePath/>
     </parent>
 
-    <artifactId>applications</artifactId>
-    <name>applications</name>
-    <url>http://maven.apache.org</url>
+    <groupId>org.opendaylight.openflowplugin</groupId>
+    <artifactId>applications-aggregator</artifactId>
+    <version>0.10.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </build>
-
-    <scm>
-      <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
-      <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
-      <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
-      <tag>HEAD</tag>
-    </scm>
+    <properties>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <maven.install.skip>true</maven.install.skip>
+    </properties>
 
     <modules>
         <module>table-miss-enforcer</module>
index 497405fe43f24b52b0b7308a0352117c2befa0c3..941ff4a1cdf5b4319dca56652615c222697ae967 100644 (file)
@@ -3,9 +3,11 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>reconciliation-framework</artifactId>
     <packaging>bundle</packaging>
index 9b94f7d91440fe172d6ccb90986a906015e19ace..94cc92229b012f5ae1f9bf074f4d5379826fb257 100644 (file)
@@ -3,9 +3,11 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.openflowplugin</groupId>
-        <artifactId>applications</artifactId>
+        <artifactId>openflowplugin-parent</artifactId>
         <version>0.10.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
+
     <groupId>org.opendaylight.openflowplugin.applications</groupId>
     <artifactId>southbound-cli</artifactId>
     <packaging>bundle</packaging>
index c7d339c9b18f0a04c120baf41a90f9a8c8911c23..fc4af23d466f7569beef3e0c420c9693f54e9a1d 100644 (file)
@@ -3,12 +3,15 @@
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.opendaylight.openflowplugin</groupId>
-    <artifactId>applications</artifactId>
+    <artifactId>openflowplugin-parent</artifactId>
     <version>0.10.0-SNAPSHOT</version>
+    <relativePath>../../parent</relativePath>
   </parent>
+
   <groupId>org.opendaylight.openflowplugin.applications</groupId>
   <artifactId>table-miss-enforcer</artifactId>
   <packaging>bundle</packaging>
+
   <dependencies>
       <dependency>
           <groupId>javax.annotation</groupId>
           <artifactId>device-ownership-service</artifactId>
           <version>${project.version}</version>
       </dependency>
-      <dependency>
-          <groupId>org.mockito</groupId>
-          <artifactId>mockito-core</artifactId>
-          <scope>test</scope>
-      </dependency>
-      <dependency>
-          <groupId>junit</groupId>
-          <artifactId>junit</artifactId>
-          <scope>test</scope>
-      </dependency>
   </dependencies>
 
 </project>