Bug 8741: Fix broken Maven archetype
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / features / pom.xml
index 990bca22e04343832b4ee3726db79111b6bae6fb..4b3373f66eb058b59c93344ade4e4cef860c7658 100644 (file)
@@ -11,102 +11,26 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
 -->
 <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.odlparent</groupId>
-    <artifactId>features-parent</artifactId>
+    <artifactId>odlparent-lite</artifactId>
     <version>2.0.4</version>
     <relativePath/>
   </parent>
 
   <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}-features</artifactId>
+  <artifactId>${artifactId}-features-aggregator</artifactId>
   <version>${version}</version>
-  <!-- <name> formatting is used by autorelease to parse and notify projects on
-       build failure. Please do not modify this unless you have a good reason. -->
+  <packaging>pom</packaging>
   <name>ODL :: ${groupId} :: ${project.artifactId}</name>
 
-  <properties>
-    <mdsal.model.version>0.12.0-SNAPSHOT</mdsal.model.version>
-    <mdsal.version>1.7.0-SNAPSHOT</mdsal.version>
-    <restconf.version>1.7.0-SNAPSHOT</restconf.version>
-    <yangtools.version>2.0.0-SNAPSHOT</yangtools.version>
-    <configfile.directory>etc/opendaylight/karaf</configfile.directory>
-  </properties>
-
-  <dependencyManagement>
-    <dependencies>
-      <!-- project specific dependencies -->
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>mdsal-artifacts</artifactId>
-        <version>${mdsal.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.netconf</groupId>
-        <artifactId>restconf-artifacts</artifactId>
-        <version>${restconf.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yangtools-artifacts</artifactId>
-        <version>${yangtools.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.yangtools</groupId>
-      <artifactId>features-yangtools</artifactId>
-      <classifier>features</classifier>
-      <type>xml</type>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.model</groupId>
-      <artifactId>features-mdsal-model</artifactId>
-      <version>${mdsal.model.version}</version>
-      <classifier>features</classifier>
-      <type>xml</type>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.controller</groupId>
-      <artifactId>features-mdsal</artifactId>
-      <classifier>features</classifier>
-      <type>xml</type>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.netconf</groupId>
-      <artifactId>features-restconf</artifactId>
-      <classifier>features</classifier>
-      <type>xml</type>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>${symbol_dollar}{project.groupId}</groupId>
-      <artifactId>${artifactId}-impl</artifactId>
-      <version>${symbol_dollar}{project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${symbol_dollar}{project.groupId}</groupId>
-      <artifactId>${artifactId}-api</artifactId>
-      <version>${symbol_dollar}{project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${symbol_dollar}{project.groupId}</groupId>
-      <artifactId>${artifactId}-cli</artifactId>
-      <version>${symbol_dollar}{project.version}</version>
-    </dependency>
-  </dependencies>
+  <modules>
+    <module>features-X</module>
+    <module>odl-X-api</module>
+    <module>odl-X</module>
+    <module>odl-X-rest</module>
+    <module>odl-X-cli</module>
+  </modules>
 </project>