Re-enable running of SingleFeaturesTest
[openflowplugin.git] / applications / features / 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.openflowplugin</groupId>
6     <artifactId>openflowplugin-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../../</relativePath>
9   </parent>
10   <artifactId>features-flow</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.controller</groupId>
21       <artifactId>features-mdsal</artifactId>
22       <version>${mdsal.version}</version>
23       <classifier>features</classifier>
24       <type>xml</type>
25     </dependency>
26
27   <dependency>
28       <groupId>org.opendaylight.openflowplugin.applications</groupId>
29       <artifactId>statistics-manager-config</artifactId>
30       <version>${project.version}</version>
31       <type>xml</type>
32       <classifier>config</classifier>
33   </dependency>
34
35     <dependency>
36       <groupId>org.opendaylight.openflowplugin.model</groupId>
37       <artifactId>model-flow-base</artifactId>
38       <version>${project.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.openflowplugin.model</groupId>
42       <artifactId>model-flow-service</artifactId>
43       <version>${project.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.openflowplugin.model</groupId>
47       <artifactId>model-flow-statistics</artifactId>
48       <version>${project.version}</version>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller.model</groupId>
52       <artifactId>model-inventory</artifactId>
53       <version>${mdsal.version}</version>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller.model</groupId>
57       <artifactId>model-topology</artifactId>
58       <version>${mdsal.version}</version>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.openflowplugin.applications</groupId>
62       <artifactId>topology-manager</artifactId>
63       <version>${project.version}</version>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.openflowplugin.applications</groupId>
67       <artifactId>topology-lldp-discovery</artifactId>
68       <version>${project.version}</version>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.openflowplugin.applications</groupId>
72       <artifactId>statistics-manager</artifactId>
73       <version>${project.version}</version>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin.applications</groupId>
77       <artifactId>inventory-manager</artifactId>
78       <version>${project.version}</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.openflowplugin.applications</groupId>
82       <artifactId>forwardingrules-manager</artifactId>
83       <version>${project.version}</version>
84     </dependency>
85     <!-- test to validate features.xml -->
86     <dependency>
87       <groupId>org.opendaylight.odlparent</groupId>
88       <artifactId>features-test</artifactId>
89       <version>1.5.0-SNAPSHOT</version>
90     </dependency>
91   </dependencies>
92
93   <build>
94     <resources>
95       <resource>
96         <filtering>true</filtering>
97         <directory>src/main/resources</directory>
98       </resource>
99     </resources>
100     <plugins>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-resources-plugin</artifactId>
104         <executions>
105           <execution>
106             <id>filter</id>
107             <goals>
108               <goal>resources</goal>
109             </goals>
110             <phase>generate-resources</phase>
111           </execution>
112         </executions>
113       </plugin>
114       <plugin>
115         <groupId>org.codehaus.mojo</groupId>
116         <artifactId>build-helper-maven-plugin</artifactId>
117         <executions>
118           <execution>
119             <id>attach-artifacts</id>
120             <goals>
121               <goal>attach-artifact</goal>
122             </goals>
123             <phase>package</phase>
124             <configuration>
125               <artifacts>
126                 <artifact>
127                   <file>${project.build.directory}/classes/${features.file}</file>
128                   <type>xml</type>
129                   <classifier>features</classifier>
130                 </artifact>
131               </artifacts>
132             </configuration>
133           </execution>
134         </executions>
135       </plugin>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-surefire-plugin</artifactId>
139         <configuration>
140           <systemPropertyVariables>
141             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
142             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
143             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
144           </systemPropertyVariables>
145           <dependenciesToScan>
146            <dependency>org.opendaylight.odlparent:features-test</dependency>
147           </dependenciesToScan>
148         </configuration>
149       </plugin>
150     </plugins>
151   </build>
152   <scm>
153     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
154     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
155     <tag>HEAD</tag>
156     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
157   </scm>
158 </project>