Merge "Bug 1437, Bug 1438 NormalizedNode Stream Writer API and Implementation"
[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>0.6.2-SNAPSHOT</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     <repositories>
24         <repository>
25             <id>opendaylight-mirror</id>
26             <name>opendaylight-mirror</name>
27             <url>http://nexus.opendaylight.org/content/groups/public/</url>
28             <snapshots>
29                 <enabled>false</enabled>
30             </snapshots>
31             <releases>
32                 <enabled>true</enabled>
33                 <updatePolicy>never</updatePolicy>
34             </releases>
35         </repository>
36     </repositories>
37     <dependencies>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-common</artifactId>
41             <version>0.6.1</version>
42         </dependency>
43     </dependencies>
44     <!-- End of Testing dependency -->
45
46     <build>
47         <plugins>
48             <plugin>
49                 <groupId>org.opendaylight.yangtools</groupId>
50                 <artifactId>yang-maven-plugin</artifactId>
51                 <version>${project.version}</version>
52                 <executions>
53                     <execution>
54                         <goals>
55                             <goal>generate-sources</goal>
56                         </goals>
57                         <configuration>
58                             <yangFilesRootDir>../files</yangFilesRootDir>
59                             <inspectDependencies>false</inspectDependencies>
60                             <codeGenerators>
61                             </codeGenerators>
62                             <resourceProviders>
63                                 <provider>
64                                     <resourceProviderClass>
65                                         org.opendaylight.yangtools.yang2sources.spi.ResourceProviderTestImpl
66                                     </resourceProviderClass>
67                                     <outputBaseDir>
68                                         outDir/
69                                     </outputBaseDir>
70                                 </provider>
71                             </resourceProviders>
72                         </configuration>
73                     </execution>
74                 </executions>
75                 <dependencies>
76                     <dependency>
77                         <groupId>org.opendaylight.yangtools</groupId>
78                         <artifactId>yang-maven-plugin-spi</artifactId>
79                         <version>${project.version}</version>
80                         <type>test-jar</type>
81                     </dependency>
82                 </dependencies>
83             </plugin>
84         </plugins>
85     </build>
86 </project>