748fd3acbb4172b266d21110cf0432f465a472f9
[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.4-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>com.google.guava</groupId>
30             <artifactId>guava</artifactId>
31             <scope>test</scope>
32         </dependency>
33     </dependencies>
34
35     <properties>
36         <it-project.version>${project.version}</it-project.version>
37     </properties>
38
39     <build>
40       <testResources>
41         <testResource>
42           <directory>${basedir}/src/test/resources</directory>
43           <filtering>true</filtering>
44         </testResource>
45       </testResources>
46         <plugins>
47           <plugin>
48             <artifactId>maven-resources-plugin</artifactId>
49             <executions>
50               <execution>
51                 <id>default-testResources</id>
52                 <phase>process-test-resources</phase>
53                 <goals>
54                   <goal>testResources</goal>
55                 </goals>
56                 <configuration>
57                   <useDefaultDelimiters>false</useDefaultDelimiters>
58                   <delimiters>
59                     <delimiter>@</delimiter>
60                   </delimiters>
61                 </configuration>
62               </execution>
63             </executions>
64           </plugin>
65             <plugin>
66                 <artifactId>maven-failsafe-plugin</artifactId>
67                 <executions>
68                     <execution>
69                         <goals>
70                             <goal>integration-test</goal>
71                             <goal>verify</goal>
72                         </goals>
73                     </execution>
74                 </executions>
75             </plugin>
76             <plugin>
77                 <groupId>org.codehaus.mojo</groupId>
78                 <artifactId>properties-maven-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <phase>generate-resources</phase>
82                         <goals>
83                             <goal>write-project-properties</goal>
84                         </goals>
85                         <configuration>
86                             <outputFile>${project.build.directory}/it-project.properties</outputFile>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91         </plugins>
92     </build>
93
94   <!--
95       Maven Site Configuration
96
97       The following configuration is necessary for maven-site-plugin to
98       correctly identify the correct deployment path for OpenDaylight Maven
99       sites.
100   -->
101   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
102
103   <distributionManagement>
104     <site>
105       <id>opendaylight-site</id>
106       <url>${nexus.site.url}/${project.artifactId}/</url>
107     </site>
108   </distributionManagement>
109 </project>