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