2933592ddc562a6ecb7f1ccdbd106403f810dbbc
[yangtools.git] / plugin / yang-maven-plugin-it / src / test / resources / test-parent / MissingYangInDep / 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>missing-yang-in-dep</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>
30                             <yangFilesRootDir>${project.basedir}/yang</yangFilesRootDir>
31                             <inspectDependencies>true</inspectDependencies>
32                             <codeGenerators>
33                                 <generator>
34                                     <codeGeneratorClass>
35                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
36                                     </codeGeneratorClass>
37                                     <outputBaseDir>
38                                         outDir/
39                                     </outputBaseDir>
40                                 </generator>
41                             </codeGenerators>
42                             <resourceProviders>
43                                 <provider>
44                                     <resourceProviderClass>
45                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
46                                     </resourceProviderClass>
47                                     <outputBaseDir>
48                                         outDir/
49                                     </outputBaseDir>
50                                 </provider>
51                             </resourceProviders>
52                         </configuration>
53                     </execution>
54                 </executions>
55
56                 <dependencies>
57                     <dependency>
58                         <groupId>org.opendaylight.yangtools</groupId>
59                         <artifactId>yang-maven-plugin-spi</artifactId>
60                         <version>${project.version}</version>
61                         <type>test-jar</type>
62                     </dependency>
63                 </dependencies>
64             </plugin>
65         </plugins>
66     </build>
67 </project>