Added test to yang-maven-plugin-it.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin-it / src / test / resources / GenerateTest1 / 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
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>generator-test1</artifactId>
7         <version>0.5-SNAPSHOT</version>
8
9         <build>
10                 <plugins>
11                         <plugin>
12                                 <groupId>org.opendaylight.controller</groupId>
13                                 <artifactId>yang-maven-plugin</artifactId>
14                                 <version>0.5-SNAPSHOT</version>
15                                 <executions>
16                                         <execution>
17                                                 <goals>
18                                                         <goal>generate-sources</goal>
19                                                 </goals>
20                                                 <configuration>
21                                                         <yangFilesRootDir>src/main/resources</yangFilesRootDir>
22                                                         <codeGenerators>
23                                                                 <generator>
24                                                                         <codeGeneratorClass>
25                                                                                 org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
26                                                                         </codeGeneratorClass>
27                                                                 </generator>
28                                                         </codeGenerators>
29                                                         <resourceProviders>
30                                                                 <provider>
31                                                                         <resourceProviderClass>
32                                                                                 org.opendaylight.controller.yang2sources.spi.ResourceProviderTestImpl
33                                                                         </resourceProviderClass>
34                                                                 </provider>
35                                                         </resourceProviders>
36                                                 </configuration>
37                                         </execution>
38                                 </executions>
39
40                                 <dependencies>
41                                         <dependency>
42                                                 <groupId>org.opendaylight.controller</groupId>
43                                                 <artifactId>yang-maven-plugin-spi</artifactId>
44                                                 <version>0.5-SNAPSHOT</version>
45                                                 <type>test-jar</type>
46                                         </dependency>
47                                 </dependencies>
48                         </plugin>
49                 </plugins>
50         </build>
51 </project>