Bump to odlparent 4.0.0
[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>4.0.0</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.1.0-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         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
48     </properties>
49
50     <build>
51       <testResources>
52         <testResource>
53           <directory>${basedir}/src/test/resources</directory>
54           <filtering>true</filtering>
55         </testResource>
56       </testResources>
57         <plugins>
58           <plugin>
59             <artifactId>maven-resources-plugin</artifactId>
60             <executions>
61               <execution>
62                 <id>default-testResources</id>
63                 <phase>process-test-resources</phase>
64                 <goals>
65                   <goal>testResources</goal>
66                 </goals>
67                 <configuration>
68                   <useDefaultDelimiters>false</useDefaultDelimiters>
69                   <delimiters>
70                     <delimiter>@</delimiter>
71                   </delimiters>
72                 </configuration>
73               </execution>
74             </executions>
75           </plugin>
76             <plugin>
77                 <artifactId>maven-failsafe-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <goals>
81                             <goal>integration-test</goal>
82                             <goal>verify</goal>
83                         </goals>
84                     </execution>
85                 </executions>
86             </plugin>
87             <plugin>
88                 <groupId>org.codehaus.mojo</groupId>
89                 <artifactId>properties-maven-plugin</artifactId>
90                 <executions>
91                     <execution>
92                         <phase>generate-resources</phase>
93                         <goals>
94                             <goal>write-project-properties</goal>
95                         </goals>
96                         <configuration>
97                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <artifactId>maven-help-plugin</artifactId>
104                 <configuration>
105                     <output>${project.build.directory}/effective-settings.xml</output>
106                 </configuration>
107                 <executions>
108                     <execution>
109                       <phase>pre-integration-test</phase>
110                       <goals>
111                           <goal>effective-settings</goal>
112                       </goals>
113                     </execution>
114                 </executions>
115             </plugin>
116             <plugin>
117                 <groupId>org.apache.maven.plugins</groupId>
118                 <artifactId>maven-checkstyle-plugin</artifactId>
119                 <configuration>
120                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
121                 </configuration>
122             </plugin>
123             <plugin>
124                 <groupId>org.codehaus.mojo</groupId>
125                 <artifactId>findbugs-maven-plugin</artifactId>
126                 <configuration>
127                     <failOnError>true</failOnError>
128                 </configuration>
129             </plugin>
130             <plugin>
131                 <groupId>org.jacoco</groupId>
132                 <artifactId>jacoco-maven-plugin</artifactId>
133                 <executions>
134                     <execution>
135                         <id>pre-unit-test</id>
136                         <goals>
137                             <goal>prepare-agent</goal>
138                         </goals>
139                         <configuration>
140                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
141                         </configuration>
142                     </execution>
143                 </executions>
144             </plugin>
145         </plugins>
146     </build>
147
148 </project>