b7baa743388986fcac742805d54f0ff256b09f3c
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin-it / src / test / resources / AdditionalConfig / 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     <version>0.5.1-SNAPSHOT</version>
7     <artifactId>test</artifactId>
8
9     <dependencies>
10         <dependency>
11             <groupId>org.opendaylight.controller</groupId>
12             <artifactId>yang-maven-plugin-spi</artifactId>
13             <version>0.5.1-SNAPSHOT</version>
14         </dependency>
15     </dependencies>
16
17     <build>
18         <plugins>
19             <plugin>
20                 <groupId>org.opendaylight.controller</groupId>
21                 <artifactId>yang-maven-plugin</artifactId>
22                 <version>0.5.1-SNAPSHOT</version>
23                 <executions>
24                     <execution>
25                         <goals>
26                             <goal>generate-sources</goal>
27                         </goals>
28                         <configuration>
29                             <yangFilesRootDir>../files</yangFilesRootDir>
30                             <inspectDependencies>false</inspectDependencies>
31                             <codeGenerators>
32                                 <generator>
33                                     <codeGeneratorClass>
34                                         org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
35                                     </codeGeneratorClass>
36                                     <additionalConfiguration>
37                                         <nm1>abcd=a.b.c.d</nm1>
38                                         <nm2>abcd2=a.b.c.d.2</nm2>
39                                     </additionalConfiguration>
40                                 </generator>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl
44                                     </codeGeneratorClass>
45                                     <additionalConfiguration>
46                                         <c1>config</c1>
47                                     </additionalConfiguration>
48                                 </generator>
49                             </codeGenerators>
50                         </configuration>
51                     </execution>
52                 </executions>
53
54                 <dependencies>
55                     <dependency>
56                         <groupId>org.opendaylight.controller</groupId>
57                         <artifactId>yang-maven-plugin-spi</artifactId>
58                         <version>0.5.1-SNAPSHOT</version>
59                         <type>test-jar</type>
60                     </dependency>
61                 </dependencies>
62             </plugin>
63         </plugins>
64     </build>
65 </project>