Remove yang-maven-plugin interfaces
[yangtools.git] / plugin / yang-maven-plugin-it / src / test / resources / test-parent / FileGenerator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <modelVersion>4.0.0</modelVersion>
12
13     <parent>
14         <groupId>org.opendaylight.yangtools</groupId>
15         <artifactId>test-parent</artifactId>
16         <version>@project.version@</version>
17     </parent>
18
19     <artifactId>file-generator</artifactId>
20
21     <properties>
22         <target.dir>${project.build.directory}</target.dir>
23     </properties>
24
25     <build>
26         <plugins>
27             <plugin>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yang-maven-plugin</artifactId>
30                 <version>${project.version}</version>
31                 <executions>
32                     <execution>
33                         <goals>
34                             <goal>generate-sources</goal>
35                         </goals>
36                         <configuration>
37                             <yangFilesRootDir>../files</yangFilesRootDir>
38                             <inspectDependencies>false</inspectDependencies>
39                             <fileGenerators>
40                                 <fileGenerator>
41                                     <identifier>org.opendaylight.yangtools.plugin.generator.api.TestFileGenerator</identifier>
42                                     <configuration>
43                                         <prefix>foo</prefix>
44                                     </configuration>
45                                 </fileGenerator>
46                             </fileGenerators>
47                         </configuration>
48                     </execution>
49                 </executions>
50
51                 <dependencies>
52                     <dependency>
53                         <groupId>org.opendaylight.yangtools</groupId>
54                         <artifactId>plugin-generator-api</artifactId>
55                         <version>${project.version}</version>
56                         <type>test-jar</type>
57                     </dependency>
58                 </dependencies>
59             </plugin>
60             <plugin>
61                 <groupId>org.codehaus.mojo</groupId>
62                 <artifactId>properties-maven-plugin</artifactId>
63             </plugin>
64         </plugins>
65     </build>
66 </project>