bc2e72465d77c95256efa50a62cd646daa2814f2
[yangtools.git] / plugin / 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" 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>invalid-version</artifactId>
17
18     <!-- Testing dependency -->
19     <!-- yang-common dependency added here only for purpose of 'artifact version 
20         check' test: version of yang-common artifact has to be different than one defined 
21         in yang-maven-plugin to make test pass -->
22     <dependencies>
23         <dependency>
24             <groupId>org.opendaylight.yangtools</groupId>
25             <artifactId>yang-common</artifactId>
26             <version>0.6.1</version>
27         </dependency>
28     </dependencies>
29     <!-- End of Testing dependency -->
30
31     <build>
32         <plugins>
33             <plugin>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yang-maven-plugin</artifactId>
36                 <version>${project.version}</version>
37                 <executions>
38                     <execution>
39                         <goals>
40                             <goal>generate-sources</goal>
41                         </goals>
42                         <configuration>
43                             <yangFilesRootDir>../files</yangFilesRootDir>
44                             <inspectDependencies>false</inspectDependencies>
45                             <codeGenerators>
46                             </codeGenerators>
47                             <resourceProviders>
48                                 <provider>
49                                     <resourceProviderClass>
50                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
51                                     </resourceProviderClass>
52                                     <outputBaseDir>
53                                         outDir/
54                                     </outputBaseDir>
55                                 </provider>
56                             </resourceProviders>
57                         </configuration>
58                     </execution>
59                 </executions>
60                 <dependencies>
61                     <dependency>
62                         <groupId>org.opendaylight.yangtools</groupId>
63                         <artifactId>yang-maven-plugin-spi</artifactId>
64                         <version>${project.version}</version>
65                         <type>test-jar</type>
66                     </dependency>
67                 </dependencies>
68             </plugin>
69         </plugins>
70     </build>
71 </project>