BUG-1170: removed hardcoding of test build directory.
[yangtools.git] / yang / 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"
8     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9     <modelVersion>4.0.0</modelVersion>
10
11     <parent>
12         <groupId>org.opendaylight.yangtools</groupId>
13         <artifactId>test-parent</artifactId>
14         <version>1.0</version>
15     </parent>
16
17     <artifactId>missing-yang-in-dep</artifactId>
18
19     <build>
20         <plugins>
21             <plugin>
22                 <groupId>org.opendaylight.yangtools</groupId>
23                 <artifactId>yang-maven-plugin</artifactId>
24                 <version>${it-project.version}</version>
25                 <executions>
26                     <execution>
27                         <goals>
28                             <goal>generate-sources</goal>
29                         </goals>
30                         <configuration>
31                             <yangFilesRootDir>${project.basedir}/yang</yangFilesRootDir>
32                             <inspectDependencies>true</inspectDependencies>
33                             <codeGenerators>
34                                 <generator>
35                                     <codeGeneratorClass>
36                                         org.opendaylight.yangtools.yang2sources.spi.CodeGeneratorTestImpl
37                                     </codeGeneratorClass>
38                                     <outputBaseDir>
39                                         outDir/
40                                     </outputBaseDir>
41                                 </generator>
42                             </codeGenerators>
43                             <resourceProviders>
44                                 <provider>
45                                     <resourceProviderClass>
46                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
47                                     </resourceProviderClass>
48                                     <outputBaseDir>
49                                         outDir/
50                                     </outputBaseDir>
51                                 </provider>
52                             </resourceProviders>
53                         </configuration>
54                     </execution>
55                 </executions>
56
57                 <dependencies>
58                     <dependency>
59                         <groupId>org.opendaylight.yangtools</groupId>
60                         <artifactId>yang-maven-plugin-spi</artifactId>
61                         <version>${it-project.version}</version>
62                         <type>test-jar</type>
63                     </dependency>
64                 </dependencies>
65             </plugin>
66         </plugins>
67     </build>
68 </project>