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