Use archetypes-parent 16/26916/1
authorStephen Kitt <skitt@redhat.com>
Mon, 14 Sep 2015 14:54:37 +0000 (16:54 +0200)
committerStephen Kitt <skitt@redhat.com>
Mon, 14 Sep 2015 14:55:56 +0000 (16:55 +0200)
Using archetypes-parent allows the maven-archetype-plugin setup to be
inherited from controller. controller's configuration provides the
commons-lang dependency which appears to be necessary to guarantee the
build will succeed.

Change-Id: I448751768834a0426065b232be2ff2c8a157d43f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
archetype/pom.xml

index 7053bb55cd4fb80dab9568b6bd4cc38c884c653f..e0879bd30a02b5aad6160788285aa7fef4f8cd9d 100644 (file)
@@ -3,31 +3,13 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <groupId>org.opendaylight.dlux</groupId>
-        <artifactId>dlux-parent</artifactId>
+        <groupId>org.opendaylight.controller.archetypes</groupId>
+        <artifactId>archetypes-parent</artifactId>
         <version>0.3.0-SNAPSHOT</version>
-        <relativePath>../</relativePath>
+        <relativePath/>
     </parent>
     <artifactId>dlux-app</artifactId>
     <packaging>maven-archetype</packaging>
     <name>archetype-dlux-app</name>
 
-    <build>
-        <extensions>
-            <extension>
-                <groupId>org.apache.maven.archetype</groupId>
-                <artifactId>archetype-packaging</artifactId>
-                <version>2.2</version>
-            </extension>
-        </extensions>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>2.2</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
 </project>