Yang-maven-plugin refactored + fixed bugs.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin-it / src / test / resources / MissingYangInDep / pom.xml
@@ -2,10 +2,10 @@
     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>
 
-        <groupId>org.opendaylight.controller</groupId>
-        <version>0.5.1-SNAPSHOT</version>
+    <groupId>org.opendaylight.controller</groupId>
+    <version>0.5.1-SNAPSHOT</version>
+    <artifactId>generator-test2</artifactId>
 
-    <artifactId>test</artifactId>
 
     <build>
         <plugins>
@@ -19,8 +19,9 @@
                             <goal>generate-sources</goal>
                         </goals>
                         <configuration>
-                            <yangFilesRootDir>../files</yangFilesRootDir>
-                                                       <codeGenerators>
+                            <yangFilesRootDir>${project.basedir}/yang</yangFilesRootDir>
+                            <inspectDependencies>true</inspectDependencies>
+                            <codeGenerators>
                                 <generator>
                                     <codeGeneratorClass>
                                         org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
                                         outDir/
                                     </outputBaseDir>
                                 </provider>
-                                <provider>
-                                    <resourceProviderClass>
-                                        unknown
-                                    </resourceProviderClass>
-                                    <outputBaseDir>
-                                        outDir/
-                                    </outputBaseDir>
-                                </provider>
                             </resourceProviders>
                         </configuration>
                     </execution>
@@ -63,4 +56,4 @@
             </plugin>
         </plugins>
     </build>
-</project>
\ No newline at end of file
+</project>