Merge "BUG-1849 Check for duplicate required sources and exclude all redundant"
[yangtools.git] / yang / yang-maven-plugin-it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.7.0-SNAPSHOT</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yang-maven-plugin-it</artifactId>
21
22     <dependencies>
23         <dependency>
24             <groupId>org.apache.maven.shared</groupId>
25             <artifactId>maven-verifier</artifactId>
26             <scope>test</scope>
27         </dependency>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>binding-java-api-generator</artifactId>
31             <version>${project.version}</version>
32             <scope>test</scope>
33         </dependency>
34         <dependency>
35             <groupId>${project.groupId}</groupId>
36             <artifactId>maven-sal-api-gen-plugin</artifactId>
37             <version>${project.version}</version>
38             <scope>test</scope>
39         </dependency>
40     </dependencies>
41
42     <properties>
43         <it-project.version>${project.version}</it-project.version>
44     </properties>
45
46     <build>
47       <testResources>
48         <testResource>
49           <directory>${basedir}/src/test/resources</directory>
50           <filtering>true</filtering>
51         </testResource>
52       </testResources>
53         <plugins>
54           <plugin>
55             <artifactId>maven-resources-plugin</artifactId>
56             <executions>
57               <execution>
58                 <id>default-testResources</id>
59                 <phase>process-test-resources</phase>
60                 <goals>
61                   <goal>testResources</goal>
62                 </goals>
63                 <configuration>
64                   <useDefaultDelimiters>false</useDefaultDelimiters>
65                   <delimiters>
66                     <delimiter>@</delimiter>
67                   </delimiters>
68                 </configuration>
69               </execution>
70             </executions>
71           </plugin>
72             <plugin>
73                 <artifactId>maven-failsafe-plugin</artifactId>
74                 <version>2.16</version>
75                 <executions>
76                     <execution>
77                         <goals>
78                             <goal>integration-test</goal>
79                             <goal>verify</goal>
80                         </goals>
81                     </execution>
82                 </executions>
83             </plugin>
84             <plugin>
85                 <groupId>org.codehaus.mojo</groupId>
86                 <artifactId>properties-maven-plugin</artifactId>
87                 <version>1.0-alpha-2</version>
88                 <executions>
89                     <execution>
90                         <phase>generate-resources</phase>
91                         <goals>
92                             <goal>write-project-properties</goal>
93                         </goals>
94                         <configuration>
95                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
96                         </configuration>
97                     </execution>
98                 </executions>
99             </plugin>
100         </plugins>
101     </build>
102
103 </project>