Adding Karaf feature for openflow Nicira Extensions support
[ovsdb.git] / features / of-nxm-extensions / 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.ovsdb</groupId>
6     <artifactId>commons</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8     <relativePath>../../commons/parent</relativePath>
9   </parent>
10   <artifactId>features-openflow-nxm</artifactId>
11   <name>Openflow Nicira Extensions Karaf Feature</name>
12   <version>0.0.3-SNAPSHOT</version>
13   <packaging>jar</packaging>
14   <properties>
15     <features.file>features.xml</features.file>
16     <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
17     <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
18     <openflowj.version>1.0.2</openflowj.version>
19     <ovsdb.nx.version>1.0.0-SNAPSHOT</ovsdb.nx.version>
20   </properties>
21   <dependencies>
22     <dependency>
23       <groupId>org.opendaylight.yangtools</groupId>
24       <artifactId>features-test</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>opendaylight-karaf-empty</artifactId>
29       <type>zip</type>
30     </dependency>
31     <!-- openflowplugin -->
32     <dependency>
33       <groupId>org.opendaylight.openflowplugin</groupId>
34       <artifactId>features-openflowplugin</artifactId>
35       <version>${openflowplugin.version}</version>
36       <classifier>features</classifier>
37       <type>xml</type>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.openflowplugin</groupId>
41       <artifactId>openflowplugin-extension-nicira</artifactId>
42       <version>${openflowplugin.version}</version>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.openflowplugin</groupId>
46       <artifactId>openflowjava-extension-nicira-api</artifactId>
47       <version>${openflowplugin.version}</version>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.openflowplugin</groupId>
51       <artifactId>openflowjava-extension-nicira</artifactId>
52       <version>${openflowplugin.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.ovsdb</groupId>
56       <artifactId>of-extension.nx-ofjava</artifactId>
57       <version>1.0.0-SNAPSHOT</version>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.ovsdb</groupId>
61       <artifactId>of-extension.nx-sal</artifactId>
62       <version>1.0.0-SNAPSHOT</version>
63     </dependency>
64   </dependencies>
65   <build>
66     <resources>
67       <resource>
68         <filtering>true</filtering>
69         <directory>src/main/resources</directory>
70       </resource>
71     </resources>
72     <plugins>
73       <plugin>
74         <groupId>org.apache.maven.plugins</groupId>
75         <artifactId>maven-resources-plugin</artifactId>
76         <executions>
77           <execution>
78             <id>filter</id>
79             <goals>
80               <goal>resources</goal>
81             </goals>
82             <phase>generate-resources</phase>
83           </execution>
84         </executions>
85       </plugin>
86       <plugin>
87         <groupId>org.codehaus.mojo</groupId>
88         <artifactId>build-helper-maven-plugin</artifactId>
89         <executions>
90           <execution>
91             <id>attach-artifacts</id>
92             <goals>
93               <goal>attach-artifact</goal>
94             </goals>
95             <phase>package</phase>
96             <configuration>
97               <artifacts>
98                 <artifact>
99                   <file>${project.build.directory}/classes/${features.file}</file>
100                   <type>xml</type>
101                   <classifier>features</classifier>
102                 </artifact>
103               </artifacts>
104             </configuration>
105           </execution>
106         </executions>
107       </plugin>
108       <plugin>
109         <groupId>org.apache.maven.plugins</groupId>
110         <artifactId>maven-surefire-plugin</artifactId>
111         <configuration>
112           <systemPropertyVariables>
113             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
114             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
115             <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
116           </systemPropertyVariables>
117           <dependenciesToScan>
118            <dependency>org.opendaylight.yangtools:features-test</dependency>
119           </dependenciesToScan>
120         </configuration>
121       </plugin>
122     </plugins>
123   </build>
124   <scm>
125     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
126     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
127     <tag>HEAD</tag>
128     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
129    </scm>
130 </project>