Adding lispflowmapping features
[integration/distribution.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12    <modelVersion>4.0.0</modelVersion>
13    <parent>
14       <groupId>org.opendaylight.integration</groupId>
15       <artifactId>root</artifactId>
16       <version>0.2.0-SNAPSHOT</version>
17       <relativePath>../</relativePath>
18    </parent>
19    <artifactId>features-integration</artifactId>
20    <packaging>jar</packaging>
21    <properties>
22       <features.file>features.xml</features.file>
23    </properties>
24    <dependencies>
25     <!-- dependencies on feature repos -->
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>features-mdsal</artifactId>
29       <version>${feature.mdsal.version}</version>
30       <classifier>features</classifier>
31       <type>xml</type>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>features-adsal</artifactId>
36       <classifier>features</classifier>
37       <type>xml</type>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>features-nsf</artifactId>
42       <classifier>features</classifier>
43       <type>xml</type>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.ovsdb</groupId>
47       <artifactId>features-ovsdb</artifactId>
48       <classifier>features</classifier>
49       <type>xml</type>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.openflowplugin</groupId>
53       <artifactId>features-openflowplugin</artifactId>
54       <version>0.0.3-SNAPSHOT</version>
55       <classifier>features</classifier>
56       <type>xml</type>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.ovsdb</groupId>
60       <artifactId>features-openflow-nxm</artifactId>
61       <version>0.0.3-SNAPSHOT</version>
62       <classifier>features</classifier>
63       <type>xml</type>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.l2switch</groupId>
67       <artifactId>features-l2switch</artifactId>
68       <version>0.1.0-SNAPSHOT</version>
69       <classifier>features</classifier>
70       <type>xml</type>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.controller</groupId>
74       <artifactId>features-adsal-compatibility</artifactId>
75       <version>1.4.2-SNAPSHOT</version>
76       <classifier>features</classifier>
77       <type>xml</type>
78     </dependency>
79     <!-- AAA -->
80     <dependency>
81       <groupId>org.opendaylight.aaa</groupId>
82       <artifactId>features-aaa</artifactId>
83       <version>0.1.0-SNAPSHOT</version>
84       <classifier>features</classifier>
85       <type>xml</type>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.lispflowmapping</groupId>
89       <artifactId>features-lispflowmapping</artifactId>
90       <version>${feature.lispflowmapping.version}</version>
91       <classifier>features</classifier>
92       <type>xml</type>
93     </dependency>
94     <!-- test to validate features.xml -->
95     <dependency>
96       <groupId>org.opendaylight.yangtools</groupId>
97       <artifactId>features-test</artifactId>
98       <version>0.6.2-SNAPSHOT</version>
99     </dependency>
100     <!-- dependency for opendaylight-karaf-empty for use by testing -->
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>opendaylight-karaf-empty</artifactId>
104       <version>1.4.2-SNAPSHOT</version>
105       <type>zip</type>
106     </dependency>
107    </dependencies>
108    <build>
109       <resources>
110          <resource>
111             <directory>src/main/resources</directory>
112             <filtering>true</filtering>
113          </resource>
114       </resources>
115       <plugins>
116          <plugin>
117             <groupId>org.apache.karaf.tooling</groupId>
118             <artifactId>karaf-maven-plugin</artifactId>
119             <version>${karaf.version}</version>
120             <extensions>true</extensions>
121             <executions>
122                <execution>
123                   <id>features-create-kar</id>
124                   <goals>
125                      <goal>features-create-kar</goal>
126                   </goals>
127                   <configuration>
128                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
129                   </configuration>
130                </execution>
131             </executions>
132         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
133          </plugin>
134          <plugin>
135             <groupId>org.apache.maven.plugins</groupId>
136             <artifactId>maven-resources-plugin</artifactId>
137             <executions>
138                <execution>
139                   <id>filter</id>
140                   <phase>generate-resources</phase>
141                   <goals>
142                      <goal>resources</goal>
143                   </goals>
144                </execution>
145             </executions>
146          </plugin>
147          <plugin>
148             <groupId>org.codehaus.mojo</groupId>
149             <artifactId>build-helper-maven-plugin</artifactId>
150             <executions>
151                <execution>
152                   <id>attach-artifacts</id>
153                   <phase>package</phase>
154                   <goals>
155                      <goal>attach-artifact</goal>
156                   </goals>
157                   <configuration>
158                      <artifacts>
159                         <artifact>
160                            <file>${project.build.directory}/classes/${features.file}</file>
161                            <type>xml</type>
162                            <classifier>features</classifier>
163                         </artifact>
164                      </artifacts>
165                   </configuration>
166                </execution>
167             </executions>
168          </plugin>
169          <plugin>
170             <groupId>org.apache.maven.plugins</groupId>
171             <artifactId>maven-surefire-plugin</artifactId>
172             <version>2.16</version>
173             <configuration>
174               <systemPropertyVariables>
175                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
176                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
177                 <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
178               </systemPropertyVariables>
179               <dependenciesToScan>
180                <dependency>org.opendaylight.yangtools:features-test</dependency>
181               </dependenciesToScan>
182             </configuration>
183           </plugin>
184       </plugins>
185    </build>
186 </project>