Fix archetype compilation 15/21515/2
authorRobert Varga <rovarga@cisco.com>
Sun, 31 May 2015 23:16:36 +0000 (01:16 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 1 Jun 2015 10:50:15 +0000 (10:50 +0000)
Change-Id: I9217cb78881118c46c81f7c5d4f8c9bafe82d3fd
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/archetypes/odl-model-project/pom.xml
opendaylight/archetypes/opendaylight-configfile-archetype/pom.xml
opendaylight/archetypes/opendaylight-startup/pom.xml
opendaylight/archetypes/pom.xml

index 831442f022475f5f94f71d957476b67ae09b53c0..29d1200108bf4ebc83c1d1a0071d4d904b7eb779 100644 (file)
@@ -2,6 +2,12 @@
 <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>
+     <groupId>org.opendaylight.controller.archetypes</groupId>
+     <artifactId>archetypes-parent</artifactId>
+     <version>0.2.0-SNAPSHOT</version>
+  </parent>
+
   <groupId>org.opendaylight.controller.archetypes</groupId>
   <artifactId>odl-model-project</artifactId>
   <version>1.2.0-SNAPSHOT</version>
         <version>2.2</version>
       </extension>
     </extensions>
-
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-archetype-plugin</artifactId>
-          <version>2.2</version>
-          <dependencies>
-            <dependency>
-              <groupId>commons-lang</groupId>
-              <artifactId>commons-lang</artifactId>
-              <version>2.6</version>
-            </dependency>
-          </dependencies>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
   <distributionManagement>
index 45ec9ac717a26fca391a65bb4b2a89587e280296..847ba838a7d991aec194202f106613397fee9593 100644 (file)
@@ -2,6 +2,12 @@
 <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>
+     <groupId>org.opendaylight.controller.archetypes</groupId>
+     <artifactId>archetypes-parent</artifactId>
+     <version>0.2.0-SNAPSHOT</version>
+  </parent>
+
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>opendaylight-configfile-archetype</artifactId>
   <version>1.2.0-SNAPSHOT</version>
index abdb487446757c00629df56531289345bb933ba0..4ebeb1cdae525af87f23ba5eb61603d62f2c4a2e 100644 (file)
@@ -2,6 +2,12 @@
 <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>
+     <groupId>org.opendaylight.controller.archetypes</groupId>
+     <artifactId>archetypes-parent</artifactId>
+     <version>0.2.0-SNAPSHOT</version>
+  </parent>
+
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>opendaylight-startup-archetype</artifactId>
   <version>1.0.0-SNAPSHOT</version>
index 6d46aaec780236b227db3b0e1d2597fa52efcaf6..d830fbe6d992d9b0b0d5dfc3057f0f0d759fec42 100644 (file)
       <url>${sitedeploy}</url>
     </site>
   </distributionManagement>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-archetype-plugin</artifactId>
+          <version>2.2</version>
+          <dependencies>
+            <dependency>
+              <groupId>commons-lang</groupId>
+              <artifactId>commons-lang</artifactId>
+              <version>2.6</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <modules>
     <module>odl-model-project</module>
     <module>opendaylight-configfile-archetype</module>