Bump odlparent to 2.0.2
[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>2.0.2</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>1.2.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         </dependency>
31         <dependency>
32             <groupId>com.google.guava</groupId>
33             <artifactId>guava</artifactId>
34             <scope>test</scope>
35         </dependency>
36     </dependencies>
37
38     <properties>
39         <it-project.version>${project.version}</it-project.version>
40     </properties>
41
42     <build>
43       <testResources>
44         <testResource>
45           <directory>${basedir}/src/test/resources</directory>
46           <filtering>true</filtering>
47         </testResource>
48       </testResources>
49         <plugins>
50           <plugin>
51             <artifactId>maven-resources-plugin</artifactId>
52             <executions>
53               <execution>
54                 <id>default-testResources</id>
55                 <phase>process-test-resources</phase>
56                 <goals>
57                   <goal>testResources</goal>
58                 </goals>
59                 <configuration>
60                   <useDefaultDelimiters>false</useDefaultDelimiters>
61                   <delimiters>
62                     <delimiter>@</delimiter>
63                   </delimiters>
64                 </configuration>
65               </execution>
66             </executions>
67           </plugin>
68             <plugin>
69                 <artifactId>maven-failsafe-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <goals>
73                             <goal>integration-test</goal>
74                             <goal>verify</goal>
75                         </goals>
76                     </execution>
77                 </executions>
78             </plugin>
79             <plugin>
80                 <groupId>org.codehaus.mojo</groupId>
81                 <artifactId>properties-maven-plugin</artifactId>
82                 <executions>
83                     <execution>
84                         <phase>generate-resources</phase>
85                         <goals>
86                             <goal>write-project-properties</goal>
87                         </goals>
88                         <configuration>
89                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94             <plugin>
95                 <artifactId>maven-help-plugin</artifactId>
96                 <configuration>
97                     <output>${project.build.directory}/effective-settings.xml</output>
98                 </configuration>
99                 <executions>
100                     <execution>
101                       <phase>pre-integration-test</phase>
102                       <goals>
103                           <goal>effective-settings</goal>
104                       </goals>
105                     </execution>
106                 </executions>
107             </plugin>
108             <plugin>
109                 <groupId>org.apache.maven.plugins</groupId>
110                 <artifactId>maven-checkstyle-plugin</artifactId>
111                 <configuration>
112                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
113                 </configuration>
114             </plugin>
115         </plugins>
116     </build>
117
118     <!--
119         Maven Site Configuration
120
121         The following configuration is necessary for maven-site-plugin to
122         correctly identify the correct deployment path for OpenDaylight Maven
123         sites.
124     -->
125     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
126
127     <distributionManagement>
128         <site>
129             <id>opendaylight-site</id>
130             <url>${nexus.site.url}/${project.artifactId}/</url>
131         </site>
132     </distributionManagement>
133 </project>