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