c01e19633d401286f825862391e633f3f7a428e4
[yangtools.git] / plugin / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8     <modelVersion>4.0.0</modelVersion>
9
10     <parent>
11         <groupId>org.opendaylight.yangtools</groupId>
12         <artifactId>test-parent</artifactId>
13         <version>@project.version@</version>
14     </parent>
15
16     <artifactId>correct</artifactId>
17
18     <dependencies>
19         <dependency>
20             <groupId>org.opendaylight.yangtools</groupId>
21             <artifactId>yang-maven-plugin-spi</artifactId>
22             <version>${project.version}</version>
23         </dependency>
24     </dependencies>
25
26     <build>
27         <plugins>
28             <plugin>
29                 <groupId>org.opendaylight.yangtools</groupId>
30                 <artifactId>yang-maven-plugin</artifactId>
31                 <version>${project.version}</version>
32                 <executions>
33                     <execution>
34                         <goals>
35                             <goal>generate-sources</goal>
36                         </goals>
37                         <configuration>
38                             <yangFilesRootDir>../files</yangFilesRootDir>
39                             <inspectDependencies>false</inspectDependencies>
40                             <codeGenerators>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>
46                                         target/correct
47                                     </outputBaseDir>
48                                 </generator>
49                             </codeGenerators>
50                         </configuration>
51                     </execution>
52                 </executions>
53
54                 <dependencies>
55                     <dependency>
56                         <groupId>org.opendaylight.yangtools</groupId>
57                         <artifactId>yang-maven-plugin-spi</artifactId>
58                         <version>${project.version}</version>
59                         <type>test-jar</type>
60                     </dependency>
61                 </dependencies>
62             </plugin>
63         </plugins>
64     </build>
65 </project>