change netvirt-vpnservice-openstack to netvirt-openstack
[integration/distribution.git] / distribution-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5       <groupId>org.opendaylight.controller</groupId>
6       <artifactId>karaf-parent</artifactId>
7       <version>1.7.0-SNAPSHOT</version>
8       <relativePath/>
9   </parent>
10   <groupId>org.opendaylight.integration</groupId>
11   <artifactId>distribution-karaf</artifactId>
12   <version>0.5.0-SNAPSHOT</version>
13   <packaging>pom</packaging>
14
15   <properties>
16     <odlparent.version>1.7.0-SNAPSHOT</odlparent.version>
17     <vtn.coordinator.version>6.3.0-SNAPSHOT</vtn.coordinator.version>
18   </properties>
19
20   <dependencies>
21     <!-- opendaylight-karaf-parent uses this too -->
22     <dependency>
23       <groupId>org.apache.karaf.features</groupId>
24       <artifactId>framework</artifactId>
25       <type>kar</type>
26     </dependency>
27     <!-- integration feature -->
28     <dependency>
29       <artifactId>features-integration-index</artifactId>
30       <groupId>org.opendaylight.integration</groupId>
31       <version>${project.version}</version>
32       <classifier>features</classifier>
33       <type>xml</type>
34       <scope>runtime</scope>
35       <exclusions>
36         <exclusion>
37           <groupId>org.opendaylight.controller</groupId>
38           <artifactId>opendaylight-karaf-empty</artifactId>
39         </exclusion>
40       </exclusions>
41     </dependency>
42     <!-- integration test feature -->
43     <dependency>
44       <artifactId>features-integration-test</artifactId>
45       <groupId>org.opendaylight.integration</groupId>
46       <version>${project.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49       <scope>test</scope>
50       <exclusions>
51         <exclusion>
52           <groupId>org.opendaylight.controller</groupId>
53           <artifactId>opendaylight-karaf-empty</artifactId>
54         </exclusion>
55       </exclusions>
56     </dependency>
57     <!-- external application -->
58     <dependency>
59       <groupId>org.opendaylight.vtn</groupId>
60       <artifactId>distribution.vtn-coordinator</artifactId>
61       <version>${vtn.coordinator.version}</version>
62       <type>tar.bz2</type>
63       <classifier>bin</classifier>
64       <exclusions>
65         <exclusion>
66           <groupId>*</groupId>
67           <artifactId>*</artifactId>
68         </exclusion>
69       </exclusions>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.vtn</groupId>
73       <artifactId>distribution.vtn-coordinator</artifactId>
74       <version>${vtn.coordinator.version}</version>
75       <type>txt</type>
76       <classifier>README</classifier>
77       <exclusions>
78         <exclusion>
79           <groupId>*</groupId>
80           <artifactId>*</artifactId>
81         </exclusion>
82       </exclusions>
83     </dependency>
84   </dependencies>
85
86   <build>
87     <plugins>
88       <!-- Overriding executions from parent. -->
89       <plugin>
90         <groupId>org.apache.maven.plugins</groupId>
91         <artifactId>maven-dependency-plugin</artifactId>
92         <executions>
93           <!-- This replaces one of executions (defined in parent) which would exclude the app. -->
94           <execution>
95             <id>copy-externalapps</id>
96             <phase>prepare-package</phase>
97             <goals>
98               <goal>copy-dependencies</goal>
99             </goals>
100             <configuration>
101               <outputDirectory>${project.build.directory}/assembly/externalapps</outputDirectory>
102               <includeArtifactIds>distribution.vtn-coordinator</includeArtifactIds>
103               <overWriteReleases>false</overWriteReleases>
104               <overWriteSnapshots>true</overWriteSnapshots>
105               <overWriteIfNewer>true</overWriteIfNewer>
106               <excludeTransitive>true</excludeTransitive>
107             </configuration>
108           </execution>
109         </executions>
110       </plugin>
111       <!-- karaf-parent does not use karaf-plugin (yet) -->
112       <plugin>
113         <groupId>org.opendaylight.odlparent</groupId>
114         <artifactId>karaf-plugin</artifactId>
115         <version>${odlparent.version}</version>
116         <executions>
117           <execution>
118             <id>populate-local-repo</id>
119             <goals>
120               <goal>populate-local-repo</goal>
121             </goals>
122             <configuration>
123               <localRepo>${project.build.directory}/assembly/system</localRepo>
124             </configuration>
125           </execution>
126         </executions>
127       </plugin>
128     </plugins>
129   </build>
130   <scm>
131     <connection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</connection>
132     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
133     <tag>HEAD</tag>
134     <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=distribution-karaf;hb=HEAD</url>
135   </scm>
136 </project>