Add src/main/yang as source path in build-helper-maven-plugin
[controller.git] / opendaylight / config / config-parent / pom.xml
index fa8a4385e300d0b995a0b66627ce89cdea94840c..723111fc954050d8c5352c5d8d691c243ed557b9 100644 (file)
@@ -9,23 +9,23 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 <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">
   <parent>
-    <groupId>org.opendaylight.yangtools</groupId>
+    <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>0.8.0-SNAPSHOT</version>
+    <version>0.9.0-SNAPSHOT</version>
     <relativePath/>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>config-parent</artifactId>
-  <version>0.4.0-SNAPSHOT</version>
+  <version>0.5.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
-    <config.version>0.4.0-SNAPSHOT</config.version>
-    <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
-    <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
-    <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
+    <config.version>0.5.0-SNAPSHOT</config.version>
+    <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
+    <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
+    <jmxGeneratorPath>target/generated-sources/config-binding</jmxGeneratorPath>
     <config.file>src/main/config/default-config.xml</config.file>
   </properties>
 
@@ -53,6 +53,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <type>pom</type>
         <scope>import</scope>
       </dependency>
+      <dependency>
+        <groupId>org.opendaylight.mdsal</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>2.1.0-SNAPSHOT</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
@@ -76,6 +83,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <plugin>
           <groupId>org.opendaylight.yangtools</groupId>
           <artifactId>yang-maven-plugin</artifactId>
+          <version>${yangtools.version}</version>
           <dependencies>
             <dependency>
               <groupId>org.opendaylight.controller</groupId>
@@ -135,6 +143,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
               </goals>
               <configuration>
                 <sources>
+                  <source>src/main/yang</source>
                   <source>${jmxGeneratorPath}</source>
                   <source>${salGeneratorPath}</source>
                 </sources>