ce0e6661cceb0423ef9409d29fd45f7adf6843f7
[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.yangtools</groupId>
46       <artifactId>features-test</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>opendaylight-karaf-empty</artifactId>
51       <type>zip</type>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.ovsdb</groupId>
55       <artifactId>plugin</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.ovsdb</groupId>
59       <artifactId>ovssfc</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.sfc</groupId>
63       <artifactId>sfc-model</artifactId>
64     </dependency>
65   </dependencies>
66   <build>
67     <resources>
68       <resource>
69         <filtering>true</filtering>
70         <directory>src/main/resources</directory>
71       </resource>
72     </resources>
73     <plugins>
74       <plugin>
75         <groupId>org.apache.maven.plugins</groupId>
76         <artifactId>maven-resources-plugin</artifactId>
77         <executions>
78           <execution>
79             <id>filter</id>
80             <goals>
81               <goal>resources</goal>
82             </goals>
83             <phase>generate-resources</phase>
84           </execution>
85         </executions>
86       </plugin>
87       <plugin>
88         <groupId>org.codehaus.mojo</groupId>
89         <artifactId>build-helper-maven-plugin</artifactId>
90         <executions>
91           <execution>
92             <id>attach-artifacts</id>
93             <goals>
94               <goal>attach-artifact</goal>
95             </goals>
96             <phase>package</phase>
97             <configuration>
98               <artifacts>
99                 <artifact>
100                   <file>${project.build.directory}/classes/${features.file}</file>
101                   <type>xml</type>
102                   <classifier>features</classifier>
103                 </artifact>
104               </artifacts>
105             </configuration>
106           </execution>
107         </executions>
108       </plugin>
109       <plugin>
110         <groupId>org.apache.maven.plugins</groupId>
111         <artifactId>maven-surefire-plugin</artifactId>
112         <configuration>
113           <skip>${skip.karaf}</skip>
114           <systemPropertyVariables>
115             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
116             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
117             <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
118           </systemPropertyVariables>
119           <dependenciesToScan>
120            <dependency>org.opendaylight.yangtools:features-test</dependency>
121           </dependenciesToScan>
122         </configuration>
123       </plugin>
124     </plugins>
125   </build>
126   <scm>
127     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
128     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
129     <tag>HEAD</tag>
130     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
131    </scm>
132 </project>