Start openflowplugin-artifacts
[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     <!-- test to validate features.xml -->
77     <dependency>
78       <groupId>org.opendaylight.odlparent</groupId>
79       <artifactId>features-test</artifactId>
80       <version>1.5.0-SNAPSHOT</version>
81     </dependency>
82   </dependencies>
83
84   <build>
85     <resources>
86       <resource>
87         <filtering>true</filtering>
88         <directory>src/main/resources</directory>
89       </resource>
90     </resources>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.maven.plugins</groupId>
94         <artifactId>maven-resources-plugin</artifactId>
95         <executions>
96           <execution>
97             <id>filter</id>
98             <goals>
99               <goal>resources</goal>
100             </goals>
101             <phase>generate-resources</phase>
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             <goals>
112               <goal>attach-artifact</goal>
113             </goals>
114             <phase>package</phase>
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>${commons.opendaylight.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   <scm>
144     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
145     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
146     <tag>HEAD</tag>
147     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
148   </scm>
149 </project>