Add project info to name in pom files
[netvirt.git] / vpnservice / commons / it-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2015 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.controller</groupId>
16     <artifactId>mdsal-it-parent</artifactId>
17     <version>1.5.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.netvirt</groupId>
22   <artifactId>it-parent</artifactId>
23   <name>ODL :: netvirt :: ${project.artifactId}</name>
24   <version>0.4.0-SNAPSHOT</version>
25   <packaging>pom</packaging>
26   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <properties>
48     <skip.surefire.tests>false</skip.surefire.tests>
49     <ovsdb.version>1.4.0-SNAPSHOT</ovsdb.version>
50   </properties>
51   <profiles>
52     <profile>
53       <id>default</id>
54       <activation>
55         <activeByDefault>true</activeByDefault>
56       </activation>
57       <properties>
58         <skipITs>true</skipITs>
59       </properties>
60     </profile>
61     <profile>
62       <id>integrationtest</id>
63       <activation>
64         <activeByDefault>false</activeByDefault>
65       </activation>
66       <properties>
67         <skipITs>false</skipITs>
68         <skip.surefire.tests>true</skip.surefire.tests>
69         <skip.karaf.featureTest>true</skip.karaf.featureTest>
70         <maven.javadoc.skip>true</maven.javadoc.skip>
71         <maven.source.skip>true</maven.source.skip>
72         <checkstyle.skip>true</checkstyle.skip>
73         <findbugs.skip>true</findbugs.skip>
74         <pmd.skip>true</pmd.skip>
75         <cpd.skip>true</cpd.skip>
76         <maven.site.skip>true</maven.site.skip>
77         <invoker.skip>true</invoker.skip>
78         <enforcer.skip>true</enforcer.skip>
79       </properties>
80     </profile>
81   </profiles>
82
83   <dependencyManagement>
84     <dependencies>
85       <dependency>
86         <groupId>org.codehaus.sonar-plugins.java</groupId>
87         <artifactId>sonar-jacoco-listeners</artifactId>
88         <version>${sonar-jacoco-listeners.version}</version>
89         <scope>test</scope>
90       </dependency>
91     </dependencies>
92   </dependencyManagement>
93
94   <build>
95     <plugins>
96       <plugin>
97         <groupId>org.apache.maven.plugins</groupId>
98         <artifactId>maven-checkstyle-plugin</artifactId>
99         <configuration>
100           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
101           <!--<excludes>**/yang/</excludes>-->
102         </configuration>
103       </plugin>
104       <plugin>
105         <groupId>org.jacoco</groupId>
106         <artifactId>jacoco-maven-plugin</artifactId>
107       </plugin>
108       <plugin>
109         <groupId>org.apache.maven.plugins</groupId>
110         <artifactId>maven-failsafe-plugin</artifactId>
111         <configuration>
112           <properties>
113             <property>
114               <name>listener</name>
115               <value>org.sonar.java.jacoco.JUnitListener</value>
116             </property>
117           </properties>
118         </configuration>
119       </plugin>
120       <plugin>
121         <artifactId>maven-surefire-plugin</artifactId>
122         <configuration>
123           <skipTests>${skip.surefire.tests}</skipTests>
124         </configuration>
125       </plugin>
126       <plugin>
127         <artifactId>maven-antrun-plugin</artifactId>
128         <executions>
129           <execution>
130             <id>prep-jacoco-agent</id>
131             <phase>pre-integration-test</phase>
132             <goals>
133               <goal>run</goal>
134             </goals>
135             <configuration>
136               <target>
137                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
138                       tofile="target/exam/jars/org.jacoco.agent.jar" />
139               </target>
140             </configuration>
141           </execution>
142         </executions>
143       </plugin>
144     </plugins>
145   </build>
146
147   <!--
148       Maven Site Configuration
149
150       The following configuration is necessary for maven-site-plugin to
151       correctly identify the correct deployment path for OpenDaylight Maven
152       sites.
153   -->
154   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
155
156   <distributionManagement>
157     <site>
158       <id>opendaylight-site</id>
159       <url>${nexus.site.url}/${project.artifactId}/</url>
160     </site>
161   </distributionManagement>
162 </project>