Drop yangtools-parent
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / test-parent / Correct / 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>correct</artifactId>
18
19     <dependencies>
20         <dependency>
21             <groupId>org.opendaylight.yangtools</groupId>
22             <artifactId>yang-maven-plugin-spi</artifactId>
23             <version>${project.version}</version>
24         </dependency>
25     </dependencies>
26
27     <build>
28         <plugins>
29             <plugin>
30                 <groupId>org.opendaylight.yangtools</groupId>
31                 <artifactId>yang-maven-plugin</artifactId>
32                 <version>${project.version}</version>
33                 <executions>
34                     <execution>
35                         <goals>
36                             <goal>generate-sources</goal>
37                         </goals>
38                         <configuration>
39                             <yangFilesRootDir>../files</yangFilesRootDir>
40                             <inspectDependencies>false</inspectDependencies>
41                             <codeGenerators>
42                                 <generator>
43                                     <codeGeneratorClass>
44                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
45                                     </codeGeneratorClass>
46                                     <outputBaseDir>
47                                         target/correct
48                                     </outputBaseDir>
49                                 </generator>
50                             </codeGenerators>
51                         </configuration>
52                     </execution>
53                 </executions>
54
55                 <dependencies>
56                     <dependency>
57                         <groupId>org.opendaylight.yangtools</groupId>
58                         <artifactId>yang-maven-plugin-spi</artifactId>
59                         <version>${project.version}</version>
60                         <type>test-jar</type>
61                     </dependency>
62                 </dependencies>
63             </plugin>
64         </plugins>
65     </build>
66 </project>