Remove dependency on controller's archetype-parent 59/86659/1 stable/neon
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 31 Dec 2019 21:40:14 +0000 (22:40 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 31 Dec 2019 21:40:14 +0000 (22:40 +0100)
Controller's archetypes are deprecated and the parent does not
really bring anything worthwhile to the table. Remove the dependency
and add the archetype magic required.

Change-Id: Ia6a40eff4116b50561dc31a0a24e703d40b4f199
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
archetype/pom.xml

index a6afcec992940c1b6f25ec9109a2cea62ef119e1..3684b1273c97914b3a1e0e4880f2c51a4e34c89a 100644 (file)
@@ -3,9 +3,9 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <groupId>org.opendaylight.controller.archetypes</groupId>
-        <artifactId>archetypes-parent</artifactId>
-        <version>0.9.3</version>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>4.0.14</version>
         <relativePath/>
     </parent>
 
     <packaging>maven-archetype</packaging>
     <name>archetype-dlux-app</name>
     <version>0.8.3-SNAPSHOT</version>
+
+    <build>
+        <extensions>
+            <extension>
+                <groupId>org.apache.maven.archetype</groupId>
+                <artifactId>archetype-packaging</artifactId>
+                <version>${maven.archetype.plugin.version}</version>
+            </extension>
+        </extensions>
+    </build>
 </project>