Move atrium features to not-compatible
[integration/distribution.git] / features-test / pom.xml
1 <?xml version="1.0"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.integration</groupId>
14         <artifactId>root</artifactId>
15         <version>0.5.0-SNAPSHOT</version>
16         <relativePath>../</relativePath>
17     </parent>
18     <artifactId>features-integration-test</artifactId>
19     <packaging>jar</packaging>
20     <name>${project.groupId}:${project.artifactId}</name>
21     <description>Sub-project building aggregate features used for feature compatibility testing.</description>
22     <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
23     <licenses>
24         <license>
25             <name>Eclipse Public License v1.0</name>
26             <url>http://www.eclipse.org/legal/epl-v10.html</url>
27         </license>
28     </licenses>
29     <!-- FIXME: Add developers section -->
30     <scm>
31         <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
32         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
33         <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features-test;hb=HEAD</url>
34         <tag>HEAD</tag>
35     </scm>
36     <properties>
37         <features.file>features.xml</features.file>
38     </properties>
39     <dependencies>
40         <!-- dependencies on feature repos -->
41         <dependency>
42             <groupId>org.opendaylight.integration</groupId>
43             <artifactId>features-integration-index</artifactId>
44             <version>${project.version}</version>
45             <classifier>features</classifier>
46             <type>xml</type>
47         </dependency>
48         <!-- test to validate features.xml -->
49         <dependency>
50             <groupId>org.opendaylight.odlparent</groupId>
51             <artifactId>features-test</artifactId>
52             <version>${feature.odlparent.version}</version>
53         </dependency>
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit-dep</artifactId>
57             <scope>test</scope>
58         </dependency>
59         <!-- dependency for opendaylight-karaf-empty for use by testing -->
60         <dependency>
61             <groupId>org.opendaylight.controller</groupId>
62             <artifactId>opendaylight-karaf-empty</artifactId>
63             <version>${feature.odlparent.version}</version>
64             <type>zip</type>
65         </dependency>
66     </dependencies>
67     <build>
68         <resources>
69             <resource>
70                 <directory>src/main/resources</directory>
71                 <filtering>true</filtering>
72             </resource>
73         </resources>
74         <plugins>
75             <plugin>
76                 <groupId>org.apache.karaf.tooling</groupId>
77                 <artifactId>karaf-maven-plugin</artifactId>
78                 <extensions>true</extensions>
79                 <executions>
80                     <execution>
81                         <id>features-create-kar</id>
82                         <goals>
83                             <goal>features-create-kar</goal>
84                         </goals>
85                         <configuration>
86                             <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
87                         </configuration>
88                     </execution>
89                 </executions>
90                 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
91             </plugin>
92             <plugin>
93                 <groupId>org.apache.maven.plugins</groupId>
94                 <artifactId>maven-resources-plugin</artifactId>
95                 <executions>
96                     <execution>
97                         <id>filter</id>
98                         <phase>generate-resources</phase>
99                         <goals>
100                             <goal>resources</goal>
101                         </goals>
102                     </execution>
103                 </executions>
104             </plugin>
105             <plugin>
106                 <groupId>org.codehaus.mojo</groupId>
107                 <artifactId>build-helper-maven-plugin</artifactId>
108                 <executions>
109                     <execution>
110                         <id>attach-artifacts</id>
111                         <phase>package</phase>
112                         <goals>
113                             <goal>attach-artifact</goal>
114                         </goals>
115                         <configuration>
116                             <artifacts>
117                                 <artifact>
118                                     <file>${project.build.directory}/classes/${features.file}</file>
119                                     <type>xml</type>
120                                     <classifier>features</classifier>
121                                 </artifact>
122                             </artifacts>
123                         </configuration>
124                     </execution>
125                 </executions>
126             </plugin>
127             <plugin>
128                 <groupId>org.apache.maven.plugins</groupId>
129                 <artifactId>maven-surefire-plugin</artifactId>
130                 <configuration>
131                     <systemPropertyVariables>
132                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
133                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
134                         <karaf.distro.version>${feature.odlparent.version}</karaf.distro.version>
135                     </systemPropertyVariables>
136                     <dependenciesToScan>
137                         <dependency>org.opendaylight.odlparent:features-test</dependency>
138                     </dependenciesToScan>
139                 </configuration>
140             </plugin>
141         </plugins>
142     </build>
143 </project>