dca8720eb179ea40dce3cea8db6ede875da40e05
[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.odlparent</groupId>
14         <artifactId>odlparent</artifactId>
15         <version>3.1.9</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-maven-plugin-it</artifactId>
22     <version>2.0.23-SNAPSHOT</version>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.apache.maven.shared</groupId>
27             <artifactId>maven-verifier</artifactId>
28             <version>1.6</version>
29             <scope>test</scope>
30             <exclusions>
31                 <exclusion>
32                     <groupId>com.google.code.findbugs</groupId>
33                     <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
34                     <artifactId>jsr305</artifactId>
35                 </exclusion>
36             </exclusions>
37         </dependency>
38         <dependency>
39             <groupId>com.google.guava</groupId>
40             <artifactId>guava</artifactId>
41             <scope>test</scope>
42         </dependency>
43     </dependencies>
44
45     <properties>
46         <it-project.version>${project.version}</it-project.version>
47     </properties>
48
49     <build>
50       <testResources>
51         <testResource>
52           <directory>${basedir}/src/test/resources</directory>
53           <filtering>true</filtering>
54         </testResource>
55       </testResources>
56         <plugins>
57           <plugin>
58             <artifactId>maven-resources-plugin</artifactId>
59             <executions>
60               <execution>
61                 <id>default-testResources</id>
62                 <phase>process-test-resources</phase>
63                 <goals>
64                   <goal>testResources</goal>
65                 </goals>
66                 <configuration>
67                   <useDefaultDelimiters>false</useDefaultDelimiters>
68                   <delimiters>
69                     <delimiter>@</delimiter>
70                   </delimiters>
71                 </configuration>
72               </execution>
73             </executions>
74           </plugin>
75             <plugin>
76                 <artifactId>maven-failsafe-plugin</artifactId>
77                 <executions>
78                     <execution>
79                         <goals>
80                             <goal>integration-test</goal>
81                             <goal>verify</goal>
82                         </goals>
83                     </execution>
84                 </executions>
85             </plugin>
86             <plugin>
87                 <groupId>org.codehaus.mojo</groupId>
88                 <artifactId>properties-maven-plugin</artifactId>
89                 <executions>
90                     <execution>
91                         <phase>generate-resources</phase>
92                         <goals>
93                             <goal>write-project-properties</goal>
94                         </goals>
95                         <configuration>
96                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101             <plugin>
102                 <artifactId>maven-help-plugin</artifactId>
103                 <configuration>
104                     <output>${project.build.directory}/effective-settings.xml</output>
105                 </configuration>
106                 <executions>
107                     <execution>
108                       <phase>pre-integration-test</phase>
109                       <goals>
110                           <goal>effective-settings</goal>
111                       </goals>
112                     </execution>
113                 </executions>
114             </plugin>
115             <plugin>
116                 <groupId>org.apache.maven.plugins</groupId>
117                 <artifactId>maven-checkstyle-plugin</artifactId>
118                 <configuration>
119                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
120                 </configuration>
121             </plugin>
122         </plugins>
123     </build>
124
125 </project>