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