Drop yangtools-parent
[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>1.7.0-SNAPSHOT</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.0.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         </plugins>
95     </build>
96
97   <!--
98       Maven Site Configuration
99
100       The following configuration is necessary for maven-site-plugin to
101       correctly identify the correct deployment path for OpenDaylight Maven
102       sites.
103   -->
104   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
105
106   <distributionManagement>
107     <site>
108       <id>opendaylight-site</id>
109       <url>${nexus.site.url}/${project.artifactId}/</url>
110     </site>
111   </distributionManagement>
112 </project>