Introduce moduleQName for sharing
[yangtools.git] / yang / yang-maven-plugin-it / src / test / resources / 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     <groupId>org.opendaylight.yangtools</groupId>
12     <version>0.5-SNAPSHOT</version>
13     <artifactId>test</artifactId>
14
15     <!-- Testing dependency -->
16     <!-- yang-common dependency added here only for purpose of 'artifact version
17         check' test: version of yang-common artifact has to be different than one defined
18         in yang-maven-plugin to make test pass -->
19     <repositories>
20         <repository>
21             <id>opendaylight-mirror</id>
22             <name>opendaylight-mirror</name>
23             <url>http://nexus.opendaylight.org/content/groups/public/</url>
24             <snapshots>
25                 <enabled>false</enabled>
26             </snapshots>
27             <releases>
28                 <enabled>true</enabled>
29                 <updatePolicy>never</updatePolicy>
30             </releases>
31         </repository>
32     </repositories>
33     <dependencies>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>yang-common</artifactId>
37             <version>0.6.1</version>
38         </dependency>
39     </dependencies>
40     <!-- End of Testing dependency -->
41
42     <build>
43         <plugins>
44             <plugin>
45                 <groupId>org.opendaylight.yangtools</groupId>
46                 <artifactId>yang-maven-plugin</artifactId>
47                 <version>${it-project.version}</version>
48                 <executions>
49                     <execution>
50                         <goals>
51                             <goal>generate-sources</goal>
52                         </goals>
53                         <configuration>
54                             <yangFilesRootDir>../files</yangFilesRootDir>
55                             <inspectDependencies>false</inspectDependencies>
56                             <codeGenerators>
57                             </codeGenerators>
58                             <resourceProviders>
59                                 <provider>
60                                     <resourceProviderClass>
61                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
62                                     </resourceProviderClass>
63                                     <outputBaseDir>
64                                         outDir/
65                                     </outputBaseDir>
66                                 </provider>
67                             </resourceProviders>
68                         </configuration>
69                     </execution>
70                 </executions>
71                 <dependencies>
72                     <dependency>
73                         <groupId>org.opendaylight.yangtools</groupId>
74                         <artifactId>yang-maven-plugin-spi</artifactId>
75                         <version>${it-project.version}</version>
76                         <type>test-jar</type>
77                     </dependency>
78                 </dependencies>
79             </plugin>
80         </plugins>
81     </build>
82 </project>