d81b6aba8d64624b568f412aebff42259ec7d4ee
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / Generator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <artifactId>binding-generator</artifactId>
15         <groupId>org.opendaylight.yangtools</groupId>
16         <version>${it-project.version}</version>
17     </parent>
18     <artifactId>test</artifactId>
19
20     <build>
21         <plugins>
22             <plugin>
23                 <groupId>org.opendaylight.yangtools</groupId>
24                 <artifactId>yang-maven-plugin</artifactId>
25                 <version>${it-project.version}</version>
26                 <executions>
27                     <execution>
28                         <goals>
29                             <goal>generate-sources</goal>
30                         </goals>
31                         <configuration>
32                             <yangFilesRootDir>../files</yangFilesRootDir>
33                             <inspectDependencies>false</inspectDependencies>
34                             <codeGenerators>
35                                 <generator>
36                                     <codeGeneratorClass>
37                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
38                                     </codeGeneratorClass>
39                                     <outputBaseDir>
40                                         outDir/
41                                     </outputBaseDir>
42                                 </generator>
43                             </codeGenerators>
44                         </configuration>
45                     </execution>
46                 </executions>
47
48                 <dependencies>
49                     <dependency>
50                         <groupId>org.opendaylight.yangtools</groupId>
51                         <artifactId>yang-maven-plugin-spi</artifactId>
52                         <version>${it-project.version}</version>
53                         <type>test-jar</type>
54                     </dependency>
55                 </dependencies>
56             </plugin>
57         </plugins>
58     </build>
59 </project>