Bumped version of Maven YANG tools to 0.5.1-SNAPSHOT
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin-it / src / test / resources / UnknownGenerator_resources / pom.xml
index fb83dc96ec2e90b455e92ad05c40e1c6bda48d34..438ef945f63475c8473b308fa49fed3bdcf2fbe1 100644 (file)
@@ -1,26 +1,35 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>1.0</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
         <plugins>
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
-                <artifactId>maven-yang-plugin</artifactId>
-                <version>1.0</version>
+                <artifactId>yang-maven-plugin</artifactId>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
-                            <goal>generate-resources</goal>
+                            <goal>generate-sources</goal>
                         </goals>
                         <configuration>
-                            <yangFilesRootDir>${basedir}/../../../../../yang-model-parser-impl/src/test/resources/model</yangFilesRootDir>
+                            <yangFilesRootDir>../files</yangFilesRootDir>
+                                                       <codeGenerators>
+                                <generator>
+                                    <codeGeneratorClass>
+                                        org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
+                                    </codeGeneratorClass>
+                                    <outputBaseDir>
+                                        outDir/
+                                    </outputBaseDir>
+                                </generator>
+                            </codeGenerators>
                             <resourceProviders>
                                 <provider>
                                     <resourceProviderClass>
@@ -46,8 +55,8 @@
                 <dependencies>
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
-                        <artifactId>maven-yang</artifactId>
-                        <version>1.0</version>
+                        <artifactId>yang-maven-plugin-spi</artifactId>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>