Rework netconf build wiring
[netconf.git] / opendaylight / netconf / netconf-config-dispatcher / pom.xml
index ef657d26ff358f4043082b05c3dd9e5395254a54..66711a5ac1efef83ac2f38da18ad672f7fa58e94 100644 (file)
@@ -8,48 +8,63 @@
 -->
 <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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>netconf-subsystem</artifactId>
-        <version>0.4.0-SNAPSHOT</version>
-    </parent>
+  <parent>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>config-parent</artifactId>
+    <version>0.5.0-SNAPSHOT</version>
+    <relativePath/>
+  </parent>
 
+  <groupId>org.opendaylight.netconf</groupId>
   <artifactId>netconf-config-dispatcher</artifactId>
+  <version>1.1.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
 
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>config-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>netconf-client</artifactId>
-    </dependency>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.netconf</groupId>
+                <artifactId>netconf-subsystem</artifactId>
+                <version>${project.version}</version>
+               <type>pom</type>
+               <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
+  <dependencies>
+      <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>config-api</artifactId>
+      </dependency>
       <dependency>
           <groupId>${project.groupId}</groupId>
+          <artifactId>netconf-client</artifactId>
+      </dependency>
+
+      <dependency>
+          <groupId>org.opendaylight.controller</groupId>
           <artifactId>config-manager</artifactId>
           <type>test-jar</type>
           <scope>test</scope>
       </dependency>
       <dependency>
-          <groupId>${project.groupId}</groupId>
+          <groupId>org.opendaylight.controller</groupId>
           <artifactId>config-manager</artifactId>
           <scope>test</scope>
       </dependency>
       <dependency>
-          <groupId>${project.groupId}</groupId>
+          <groupId>org.opendaylight.controller</groupId>
           <artifactId>config-util</artifactId>
           <scope>test</scope>
       </dependency>
       <dependency>
-          <groupId>${project.groupId}</groupId>
+          <groupId>org.opendaylight.controller</groupId>
           <artifactId>netty-threadgroup-config</artifactId>
           <scope>test</scope>
       </dependency>
       <dependency>
-          <groupId>${project.groupId}</groupId>
+          <groupId>org.opendaylight.controller</groupId>
           <artifactId>netty-timer-config</artifactId>
           <scope>test</scope>
       </dependency>
           <scope>test</scope>
       </dependency>
   </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-      </plugin>
-        <plugin>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yang-maven-plugin</artifactId>
-    </plugin>
-    </plugins>
-  </build>
 </project>