Adding SFC feature dependencies to ovs-sfc module
[ovsdb.git] / features / ovs-sfc / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ /*
4   ~ * Copyright (C) 2014 Red Hat, Inc.
5   ~ *
6   ~ * This program and the accompanying materials are made available under the
7   ~ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
8   ~ * and is available at http://www.eclipse.org/legal/epl-v10.html
9   ~ *
10   ~ * Authors : Sam Hague
11   ~ */
12   -->
13
14 <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">
15   <modelVersion>4.0.0</modelVersion>
16   <parent>
17     <groupId>org.opendaylight.ovsdb</groupId>
18     <artifactId>commons</artifactId>
19     <version>1.2.0-SNAPSHOT</version>
20     <relativePath>../../commons/parent</relativePath>
21   </parent>
22   <artifactId>features-ovs-sfc</artifactId>
23   <name>OpenDaylight OVSDB OVS Service Function Chaining Karaf Features</name>
24   <version>0.0.1-SNAPSHOT</version>
25   <packaging>jar</packaging>
26   <properties>
27     <features.file>features.xml</features.file>
28   </properties>
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.ovsdb</groupId>
32       <artifactId>features-openflow-nxm</artifactId>
33       <version>${openflowplugin.version}</version>
34       <classifier>features</classifier>
35       <type>xml</type>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.ovsdb</groupId>
39       <artifactId>features-ovsdb</artifactId>
40       <version>${ovsdb.library.version}</version>
41       <classifier>features</classifier>
42       <type>xml</type>
43       </dependency>
44     <dependency>
45       <groupId>org.opendaylight.sfc</groupId>
46       <artifactId>features-sfc</artifactId>
47       <version>0.0.1-SNAPSHOT</version>
48       <classifier>features</classifier>
49       <type>xml</type>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.yangtools</groupId>
53       <artifactId>features-test</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>opendaylight-karaf-empty</artifactId>
58       <type>zip</type>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.ovsdb</groupId>
62       <artifactId>plugin</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.ovsdb</groupId>
66       <artifactId>ovssfc</artifactId>
67     </dependency>
68   </dependencies>
69   <build>
70     <resources>
71       <resource>
72         <filtering>true</filtering>
73         <directory>src/main/resources</directory>
74       </resource>
75     </resources>
76     <plugins>
77       <plugin>
78         <groupId>org.apache.maven.plugins</groupId>
79         <artifactId>maven-resources-plugin</artifactId>
80         <executions>
81           <execution>
82             <id>filter</id>
83             <goals>
84               <goal>resources</goal>
85             </goals>
86             <phase>generate-resources</phase>
87           </execution>
88         </executions>
89       </plugin>
90       <plugin>
91         <groupId>org.codehaus.mojo</groupId>
92         <artifactId>build-helper-maven-plugin</artifactId>
93         <executions>
94           <execution>
95             <id>attach-artifacts</id>
96             <goals>
97               <goal>attach-artifact</goal>
98             </goals>
99             <phase>package</phase>
100             <configuration>
101               <artifacts>
102                 <artifact>
103                   <file>${project.build.directory}/classes/${features.file}</file>
104                   <type>xml</type>
105                   <classifier>features</classifier>
106                 </artifact>
107               </artifacts>
108             </configuration>
109           </execution>
110         </executions>
111       </plugin>
112       <plugin>
113         <groupId>org.apache.maven.plugins</groupId>
114         <artifactId>maven-surefire-plugin</artifactId>
115         <configuration>
116           <skip>${skip.karaf}</skip>
117           <systemPropertyVariables>
118             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
119             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
120             <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
121           </systemPropertyVariables>
122           <dependenciesToScan>
123            <dependency>org.opendaylight.yangtools:features-test</dependency>
124           </dependenciesToScan>
125         </configuration>
126       </plugin>
127     </plugins>
128   </build>
129   <scm>
130     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
131     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
132     <tag>HEAD</tag>
133     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
134    </scm>
135 </project>