Remove yang-maven-plugin interfaces
[yangtools.git] / plugin / yang-maven-plugin-it / src / test / resources / test-parent / GenerateTest2 / 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-test2</artifactId>
17
18     <properties>
19         <target.dir>${project.build.directory}</target.dir>
20     </properties>
21
22     <dependencies>
23         <dependency>
24             <groupId>org.opendaylight.yangtools</groupId>
25             <artifactId>generator-test1</artifactId>
26             <version>${project.version}</version>
27             <scope>system</scope>
28             <systemPath>${project.basedir}/../GenerateTest1/target/generator-test1-${project.version}.jar</systemPath>
29         </dependency>
30     </dependencies>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.opendaylight.yangtools</groupId>
36                 <artifactId>yang-maven-plugin</artifactId>
37                 <version>${project.version}</version>
38                 <executions>
39                     <execution>
40                         <goals>
41                             <goal>generate-sources</goal>
42                         </goals>
43                         <configuration>
44                             <yangFilesRootDir>${project.basedir}/yang</yangFilesRootDir>
45                             <inspectDependencies>true</inspectDependencies>
46                             <fileGenerators>
47                                 <fileGenerator>
48                                     <identifier>
49                                         org.opendaylight.yangtools.plugin.generator.api.TestFileGenerator
50                                     </identifier>
51                                 </fileGenerator>
52                             </fileGenerators>
53                         </configuration>
54                     </execution>
55                 </executions>
56                 <dependencies>
57                     <dependency>
58                         <groupId>org.opendaylight.yangtools</groupId>
59                         <artifactId>plugin-generator-api</artifactId>
60                         <version>${project.version}</version>
61                         <type>test-jar</type>
62                     </dependency>
63                 </dependencies>
64             </plugin>
65             <plugin>
66                 <groupId>org.codehaus.mojo</groupId>
67                 <artifactId>properties-maven-plugin</artifactId>
68             </plugin>
69         </plugins>
70     </build>
71 </project>