Merge "BUG-2012: stats via jmx failing with exception"
[openflowplugin.git] / 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.0.3-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <karaf.empty.distro.version>1.4.2-SNAPSHOT</karaf.empty.distro.version>
17     <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
18   </properties>
19
20   <dependencies>
21     <!-- feature dependencies -->
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>features-mdsal</artifactId>
25       <version>${mdsal.version}</version>
26       <classifier>features</classifier>
27       <type>xml</type>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.openflowjava</groupId>
31       <artifactId>features-openflowjava</artifactId>
32       <version>${openflowjava.version}</version>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>features-flow</artifactId>
39       <version>${mdsal.version}</version>
40       <classifier>features</classifier>
41       <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.dlux</groupId>
45       <artifactId>features-dlux</artifactId>
46       <version>${dlux.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49     </dependency>
50
51     <!-- bundle dependencies -->
52     <dependency>
53       <groupId>org.opendaylight.openflowplugin</groupId>
54       <artifactId>openflowplugin-api</artifactId>
55       <version>${project.version}</version>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.openflowplugin</groupId>
59       <artifactId>openflowplugin-extension-api</artifactId>
60       <version>${project.version}</version>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.openflowplugin</groupId>
64       <artifactId>openflowplugin</artifactId>
65       <version>${project.version}</version>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.openflowplugin</groupId>
69       <artifactId>drop-test-karaf</artifactId>
70       <version>${project.version}</version>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.openflowplugin</groupId>
74       <artifactId>test-common</artifactId>
75       <version>${project.version}</version>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.openflowplugin</groupId>
79       <artifactId>openflowplugin-controller-config</artifactId>
80       <version>${project.version}</version>
81       <type>xml</type>
82       <classifier>config</classifier>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.openflowplugin</groupId>
86       <artifactId>openflowplugin-controller-config</artifactId>
87       <version>${project.version}</version>
88       <type>xml</type>
89       <classifier>configmsgspy</classifier>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>liblldp</artifactId>
94       <version>${sal.api.version}</version>
95     </dependency>
96     
97     <!-- test the features.xml -->
98     <dependency>
99       <groupId>org.opendaylight.yangtools</groupId>
100       <artifactId>features-test</artifactId>
101       <version>${yangtools.version}</version>
102     </dependency>
103     <!-- dependency for opendaylight-karaf-empty for use by testing -->
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>opendaylight-karaf-empty</artifactId>
107       <version>${karaf.distro.empty.version}</version>
108       <type>zip</type>
109     </dependency>
110   </dependencies>
111
112   <build>
113     <resources>
114       <resource>
115         <filtering>true</filtering>
116         <directory>src/main/resources</directory>
117       </resource>
118     </resources>
119     <plugins>
120       <plugin>
121         <groupId>org.apache.maven.plugins</groupId>
122         <artifactId>maven-resources-plugin</artifactId>
123         <executions>
124           <execution>
125             <id>filter</id>
126             <goals>
127               <goal>resources</goal>
128             </goals>
129             <phase>generate-resources</phase>
130           </execution>
131         </executions>
132       </plugin>
133       <plugin>
134         <groupId>org.codehaus.mojo</groupId>
135         <artifactId>build-helper-maven-plugin</artifactId>
136         <executions>
137           <execution>
138             <id>attach-artifacts</id>
139             <goals>
140               <goal>attach-artifact</goal>
141             </goals>
142             <phase>package</phase>
143             <configuration>
144               <artifacts>
145                 <artifact>
146                   <file>${project.build.directory}/classes/${features.file}</file>
147                   <type>xml</type>
148                   <classifier>features</classifier>
149                 </artifact>
150               </artifacts>
151             </configuration>
152           </execution>
153         </executions>
154       </plugin>
155       <plugin>
156         <groupId>org.apache.maven.plugins</groupId>
157         <artifactId>maven-surefire-plugin</artifactId>
158         <version>2.16</version>
159         <configuration>
160           <systemPropertyVariables>
161             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
162             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
163             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
164           </systemPropertyVariables>
165           <dependenciesToScan>
166            <dependency>org.opendaylight.yangtools:features-test</dependency>
167           </dependenciesToScan>
168         </configuration>
169       </plugin>
170     </plugins>
171   </build>
172   <scm>
173     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
174     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
175     <tag>HEAD</tag>
176     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
177   </scm>
178 </project>