Remove yang-maven-plugin interfaces
[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                             <fileGenerators>
37                                 <fileGenerator>
38                                     <identifier>
39                                         org.opendaylight.yangtools.plugin.generator.api.TestFileGenerator
40                                     </identifier>
41                                 </fileGenerator>
42                             </fileGenerators>
43                         </configuration>
44                     </execution>
45                 </executions>
46                 <dependencies>
47                     <dependency>
48                         <groupId>org.opendaylight.yangtools</groupId>
49                         <artifactId>plugin-generator-api</artifactId>
50                         <version>${project.version}</version>
51                         <type>test-jar</type>
52                     </dependency>
53                 </dependencies>
54             </plugin>
55             <plugin>
56                 <groupId>org.codehaus.mojo</groupId>
57                 <artifactId>properties-maven-plugin</artifactId>
58             </plugin>
59         </plugins>
60     </build>
61 </project>