Incrementing versions by 0.1.0 for post-helium master branch
[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.1.0-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.5.0-SNAPSHOT</karaf.empty.distro.version>
17     <yangtools.version>0.7.0-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.controller</groupId>
31       <artifactId>features-restconf</artifactId>
32       <version>${mdsal.version}</version>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.openflowjava</groupId>
38       <artifactId>features-openflowjava</artifactId>
39       <version>${openflowjava.version}</version>
40       <classifier>features</classifier>
41       <type>xml</type>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>features-flow</artifactId>
46       <version>${mdsal.version}</version>
47       <classifier>features</classifier>
48       <type>xml</type>
49     </dependency>
50     <!-- TODO: temporary disabled during release process in order to avoid circular dependency to dlux -->
51     <!-- <dependency> -->
52     <!--   <groupId>org.opendaylight.dlux</groupId> -->
53     <!--   <artifactId>features-dlux</artifactId> -->
54     <!--   <version>${dlux.version}</version> -->
55     <!--   <classifier>features</classifier> -->
56     <!--   <type>xml</type> -->
57     <!-- </dependency> -->
58
59     <!-- bundle dependencies -->
60     <dependency>
61       <groupId>org.opendaylight.openflowplugin</groupId>
62       <artifactId>openflowplugin-api</artifactId>
63       <version>${project.version}</version>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.openflowplugin</groupId>
67       <artifactId>openflowplugin-extension-api</artifactId>
68       <version>${project.version}</version>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.openflowplugin</groupId>
72       <artifactId>openflowplugin</artifactId>
73       <version>${project.version}</version>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin</groupId>
77       <artifactId>drop-test-karaf</artifactId>
78       <version>${project.version}</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.openflowplugin</groupId>
82       <artifactId>test-common</artifactId>
83       <version>${project.version}</version>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.openflowplugin</groupId>
87       <artifactId>openflowplugin-controller-config</artifactId>
88       <version>${project.version}</version>
89       <type>xml</type>
90       <classifier>config</classifier>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.openflowplugin</groupId>
94       <artifactId>openflowplugin-controller-config</artifactId>
95       <version>${project.version}</version>
96       <type>xml</type>
97       <classifier>configmsgspy</classifier>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.controller</groupId>
101       <artifactId>liblldp</artifactId>
102       <version>${sal.api.version}</version>
103     </dependency>
104     
105     <!-- test the features.xml -->
106     <dependency>
107       <groupId>org.opendaylight.yangtools</groupId>
108       <artifactId>features-test</artifactId>
109       <version>${yangtools.version}</version>
110     </dependency>
111     <!-- dependency for opendaylight-karaf-empty for use by testing -->
112     <dependency>
113       <groupId>org.opendaylight.controller</groupId>
114       <artifactId>opendaylight-karaf-empty</artifactId>
115       <version>${karaf.distro.empty.version}</version>
116       <type>zip</type>
117     </dependency>
118   </dependencies>
119
120   <build>
121     <resources>
122       <resource>
123         <filtering>true</filtering>
124         <directory>src/main/resources</directory>
125       </resource>
126     </resources>
127     <plugins>
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-resources-plugin</artifactId>
131         <executions>
132           <execution>
133             <id>filter</id>
134             <goals>
135               <goal>resources</goal>
136             </goals>
137             <phase>generate-resources</phase>
138           </execution>
139         </executions>
140       </plugin>
141       <plugin>
142         <groupId>org.codehaus.mojo</groupId>
143         <artifactId>build-helper-maven-plugin</artifactId>
144         <executions>
145           <execution>
146             <id>attach-artifacts</id>
147             <goals>
148               <goal>attach-artifact</goal>
149             </goals>
150             <phase>package</phase>
151             <configuration>
152               <artifacts>
153                 <artifact>
154                   <file>${project.build.directory}/classes/${features.file}</file>
155                   <type>xml</type>
156                   <classifier>features</classifier>
157                 </artifact>
158               </artifacts>
159             </configuration>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.apache.maven.plugins</groupId>
165         <artifactId>maven-surefire-plugin</artifactId>
166         <version>2.16</version>
167         <configuration>
168           <systemPropertyVariables>
169             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
170             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
171             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
172           </systemPropertyVariables>
173           <dependenciesToScan>
174            <dependency>org.opendaylight.yangtools:features-test</dependency>
175           </dependenciesToScan>
176         </configuration>
177       </plugin>
178     </plugins>
179   </build>
180   <scm>
181     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
182     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
183     <tag>HEAD</tag>
184     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
185   </scm>
186 </project>