Features updated (odl-mdsal-common)
[openflowjava.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.openflowjava</groupId>
6     <artifactId>openflow-protocol-parent</artifactId>
7     <version>0.6.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10   <artifactId>features-openflowjava</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.yangtools</groupId>
24       <artifactId>features-yangtools</artifactId>
25       <classifier>features</classifier>
26       <type>xml</type>
27     </dependency>
28     <dependency>
29       <groupId>org.opendaylight.controller</groupId>
30       <artifactId>features-config</artifactId>
31       <classifier>features</classifier>
32       <type>xml</type>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>features-mdsal</artifactId>
37       <version>${mdsal.version}</version>
38       <classifier>features</classifier>
39       <type>xml</type>
40     </dependency>
41
42     <!-- bundle dependencies -->
43     <dependency>
44       <groupId>org.opendaylight.openflowjava</groupId>
45       <artifactId>openflow-protocol-api</artifactId>
46       <version>${project.version}</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.openflowjava</groupId>
50       <artifactId>openflow-protocol-spi</artifactId>
51       <version>${project.version}</version>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.openflowjava</groupId>
55       <artifactId>openflow-protocol-impl</artifactId>
56       <version>${project.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.openflowjava</groupId>
60       <artifactId>util</artifactId>
61       <version>${project.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>io.netty</groupId>
65       <artifactId>netty-codec</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>io.netty</groupId>
69       <artifactId>netty-handler</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>io.netty</groupId>
73       <artifactId>netty-common</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>io.netty</groupId>
77       <artifactId>netty-buffer</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>io.netty</groupId>
81       <artifactId>netty-transport</artifactId>
82     </dependency>
83     <!-- test the features.xml -->
84     <dependency>
85       <groupId>org.opendaylight.yangtools</groupId>
86       <artifactId>features-test</artifactId>
87     </dependency>
88     <!-- dependency for opendaylight-karaf-empty for use by testing -->
89     <dependency>
90       <groupId>org.opendaylight.controller</groupId>
91       <artifactId>opendaylight-karaf-empty</artifactId>
92       <version>${karaf.distro.empty.version}</version>
93       <type>zip</type>
94     </dependency>
95   </dependencies>
96
97   <build>
98     <resources>
99       <resource>
100         <filtering>true</filtering>
101         <directory>src/main/resources</directory>
102       </resource>
103     </resources>
104     <plugins>
105       <plugin>
106         <groupId>org.apache.maven.plugins</groupId>
107         <artifactId>maven-resources-plugin</artifactId>
108         <executions>
109           <execution>
110             <id>filter</id>
111             <goals>
112               <goal>resources</goal>
113             </goals>
114             <phase>generate-resources</phase>
115           </execution>
116         </executions>
117       </plugin>
118       <plugin>
119         <groupId>org.codehaus.mojo</groupId>
120         <artifactId>build-helper-maven-plugin</artifactId>
121         <executions>
122           <execution>
123             <id>attach-artifacts</id>
124             <goals>
125               <goal>attach-artifact</goal>
126             </goals>
127             <phase>package</phase>
128             <configuration>
129               <artifacts>
130                 <artifact>
131                   <file>${project.build.directory}/classes/${features.file}</file>
132                   <type>xml</type>
133                   <classifier>features</classifier>
134                 </artifact>
135               </artifacts>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-surefire-plugin</artifactId>
143         <version>2.16</version>
144         <configuration>
145           <systemPropertyVariables>
146             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
147             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
148             <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
149           </systemPropertyVariables>
150           <dependenciesToScan>
151            <dependency>org.opendaylight.yangtools:features-test</dependency>
152           </dependenciesToScan>
153         </configuration>
154       </plugin>
155     </plugins>
156   </build>
157   <scm>
158     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
159     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
160     <tag>HEAD</tag>
161     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
162   </scm>
163 </project>