8b11eace35945bf1867dad31f88f41c5e6faa75f
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin-it / src / test / resources / Generator / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>binding-generator</artifactId>
6         <groupId>org.opendaylight.controller</groupId>
7         <version>0.5-SNAPSHOT</version>
8     </parent>
9     <artifactId>test</artifactId>
10
11     <build>
12         <plugins>
13             <plugin>
14                 <groupId>org.opendaylight.controller</groupId>
15                 <artifactId>yang-maven-plugin</artifactId>
16                 <version>0.5-SNAPSHOT</version>
17                 <executions>
18                     <execution>
19                         <goals>
20                             <goal>generate-sources</goal>
21                         </goals>
22                         <configuration>
23                             <yangFilesRootDir>${basedir}/../../../../../yang-model-parser-impl/src/test/resources/model</yangFilesRootDir>
24                             <codeGenerators>
25                                 <generator>
26                                     <codeGeneratorClass>
27                                         org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
28                                     </codeGeneratorClass>
29                                     <outputBaseDir>
30                                         outDir/
31                                     </outputBaseDir>
32                                 </generator>
33                             </codeGenerators>
34                             <resourceProviders>
35                                 <provider>
36                                     <resourceProviderClass>
37                                         org.opendaylight.controller.yang2sources.spi.ResourceProviderTestImpl
38                                     </resourceProviderClass>
39                                     <outputBaseDir>
40                                         outDir/
41                                     </outputBaseDir>
42                                 </provider>
43                             </resourceProviders>
44                         </configuration>
45                     </execution>
46                 </executions>
47
48                 <dependencies>
49                     <dependency>
50                         <groupId>org.opendaylight.controller</groupId>
51                         <artifactId>yang-maven-plugin-spi</artifactId>
52                         <version>0.5-SNAPSHOT</version>
53                         <type>test-jar</type>
54                     </dependency>
55                 </dependencies>
56             </plugin>
57         </plugins>
58     </build>
59 </project>