Drop yangtools-parent
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / test-parent / InvalidVersion / 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>@project.version@</version>
15     </parent>
16
17     <artifactId>invalid-version</artifactId>
18
19     <!-- Testing dependency -->
20     <!-- yang-common dependency added here only for purpose of 'artifact version 
21         check' test: version of yang-common artifact has to be different than one defined 
22         in yang-maven-plugin to make test pass -->
23     <dependencies>
24         <dependency>
25             <groupId>org.opendaylight.yangtools</groupId>
26             <artifactId>yang-common</artifactId>
27             <version>0.6.1</version>
28         </dependency>
29     </dependencies>
30     <!-- End of Testing dependency -->
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>../files</yangFilesRootDir>
45                             <inspectDependencies>false</inspectDependencies>
46                             <codeGenerators>
47                             </codeGenerators>
48                             <resourceProviders>
49                                 <provider>
50                                     <resourceProviderClass>
51                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
52                                     </resourceProviderClass>
53                                     <outputBaseDir>
54                                         outDir/
55                                     </outputBaseDir>
56                                 </provider>
57                             </resourceProviders>
58                         </configuration>
59                     </execution>
60                 </executions>
61                 <dependencies>
62                     <dependency>
63                         <groupId>org.opendaylight.yangtools</groupId>
64                         <artifactId>yang-maven-plugin-spi</artifactId>
65                         <version>${project.version}</version>
66                         <type>test-jar</type>
67                     </dependency>
68                 </dependencies>
69             </plugin>
70         </plugins>
71     </build>
72 </project>