Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / test-parent / NoGenerators / 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>no-generators</artifactId>
17
18     <build>
19         <plugins>
20             <plugin>
21                 <groupId>org.opendaylight.yangtools</groupId>
22                 <artifactId>yang-maven-plugin</artifactId>
23                 <version>${project.version}</version>
24                 <executions>
25                     <execution>
26                         <goals>
27                             <goal>generate-sources</goal>
28                         </goals>
29                         <configuration combine.self="override">
30                             <yangFilesRootDir>../files</yangFilesRootDir>
31                             <inspectDependencies>false</inspectDependencies>
32                             <codeGenerators>
33                             </codeGenerators>
34                             <resourceProviders>
35                                 <provider>
36                                     <resourceProviderClass>
37                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
38                                     </resourceProviderClass>
39                                     <outputBaseDir>
40                                         outDir/
41                                     </outputBaseDir>
42                                 </provider>
43                             </resourceProviders>
44                         </configuration>
45                     </execution>
46                 </executions>
47                 <dependencies>
48                     <dependency>
49                         <groupId>org.opendaylight.yangtools</groupId>
50                         <artifactId>yang-maven-plugin-spi</artifactId>
51                         <version>${project.version}</version>
52                         <type>test-jar</type>
53                     </dependency>
54                 </dependencies>
55             </plugin>
56         </plugins>
57     </build>
58 </project>