Adding archetype for onos-bundle and onos-cli projects.
Change-Id: I5df9db6a571be682ff2200c182bad8100dd95bfe
diff --git a/tools/package/archetypes/pom.xml b/tools/package/archetypes/pom.xml
index b0b61a8..4fa578d 100644
--- a/tools/package/archetypes/pom.xml
+++ b/tools/package/archetypes/pom.xml
@@ -21,18 +21,40 @@
<parent>
<groupId>org.onosproject</groupId>
- <artifactId>onos</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../pom.xml</relativePath>
+ <artifactId>onos-base</artifactId>
+ <version>1</version>
+ <relativePath>../../build/pom.xml</relativePath>
</parent>
<artifactId>onos-archetypes</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <description>ONOS Maven archetype projects</description>
+ <description>ONOS archetypes project</description>
<modules>
+ <module>api</module>
<module>bundle</module>
+ <module>cli</module>
</modules>
+ <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>