Merge "Bug 3051: Fixed pattern checks in generated DTOs"
[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.8.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                 <executions>
75                     <execution>
76                         <goals>
77                             <goal>integration-test</goal>
78                             <goal>verify</goal>
79                         </goals>
80                     </execution>
81                 </executions>
82             </plugin>
83             <plugin>
84                 <groupId>org.codehaus.mojo</groupId>
85                 <artifactId>properties-maven-plugin</artifactId>
86                 <executions>
87                     <execution>
88                         <phase>generate-resources</phase>
89                         <goals>
90                             <goal>write-project-properties</goal>
91                         </goals>
92                         <configuration>
93                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100
101 </project>