remove features-base and features-adsal
[alto.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Yale University and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <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">
9   <modelVersion>4.0.0</modelVersion>
10   <parent>
11     <groupId>org.opendaylight.alto</groupId>
12     <artifactId>alto-parent</artifactId>
13     <version>0.2.0-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>features-alto</artifactId>
18   <name>${project.artifactId}</name>
19
20   <properties>
21     <features.file>features.xml</features.file>
22     <configfile.directory>etc/opendaylight/karaf</configfile.directory>
23   </properties>
24
25   <dependencyManagement>
26     <dependencies>
27       <!-- project specific dependencies -->
28       <dependency>
29         <groupId>org.opendaylight.controller</groupId>
30         <artifactId>mdsal-artifacts</artifactId>
31         <version>${mdsal.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37
38   <dependencies>
39     <dependency>
40       <groupId>org.opendaylight.yangtools</groupId>
41       <artifactId>features-yangtools</artifactId>
42       <classifier>features</classifier>
43       <version>${yangtools.version}</version>
44       <type>xml</type>
45       <scope>runtime</scope>
46     </dependency>
47
48     <dependency>
49       <groupId>org.apache.karaf.features</groupId>
50       <artifactId>standard</artifactId>
51       <version>${karaf.version}</version>
52       <classifier>features</classifier>
53       <type>xml</type>
54     </dependency>
55
56     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>features-mdsal</artifactId>
59       <classifier>features</classifier>
60       <type>xml</type>
61       <scope>runtime</scope>
62     </dependency>
63
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <artifactId>features-restconf</artifactId>
67       <classifier>features</classifier>
68       <type>xml</type>
69       <scope>runtime</scope>
70     </dependency>
71
72     <dependency>
73       <groupId>${project.groupId}</groupId>
74       <artifactId>alto-model</artifactId>
75       <version>${project.version}</version>
76     </dependency>
77
78     <dependency>
79       <groupId>${project.groupId}</groupId>
80       <artifactId>alto-commons</artifactId>
81       <version>${project.version}</version>
82     </dependency>
83
84     <dependency>
85       <groupId>${project.groupId}</groupId>
86       <artifactId>alto-provider</artifactId>
87       <version>${project.version}</version>
88     </dependency>
89
90     <dependency>
91       <groupId>${project.groupId}</groupId>
92       <artifactId>alto-config</artifactId>
93       <version>${project.version}</version>
94       <type>xml</type>
95       <classifier>config</classifier>
96     </dependency>
97
98     <dependency>
99       <groupId>${project.groupId}</groupId>
100       <artifactId>simple-impl</artifactId>
101       <version>${project.version}</version>
102     </dependency>
103
104     <dependency>
105       <groupId>${project.groupId}</groupId>
106       <artifactId>simple-impl</artifactId>
107       <version>${project.version}</version>
108       <type>xml</type>
109       <classifier>config</classifier>
110     </dependency>
111
112     <dependency>
113       <groupId>${project.groupId}</groupId>
114       <artifactId>alto-northbound</artifactId>
115       <version>${project.version}</version>
116     </dependency>
117
118     <dependency>
119       <groupId>${project.groupId}</groupId>
120       <artifactId>alto-manager</artifactId>
121       <version>${project.version}</version>
122     </dependency>
123
124     <dependency>
125       <groupId>${project.groupId}.alto-hosttracker</groupId>
126       <artifactId>alto-hosttracker-impl</artifactId>
127       <version>${project.version}</version>
128     </dependency>
129
130     <dependency>
131       <groupId>${project.groupId}.alto-hosttracker</groupId>
132       <artifactId>alto-hosttracker-model</artifactId>
133       <version>${project.version}</version>
134     </dependency>
135
136     <dependency>
137       <groupId>${project.groupId}.alto-hosttracker</groupId>
138       <artifactId>alto-hosttracker-config</artifactId>
139       <version>${project.version}</version>
140       <type>xml</type>
141       <classifier>config</classifier>
142     </dependency>
143
144
145     <dependency>
146       <groupId>org.apache.httpcomponents</groupId>
147       <artifactId>httpclient-osgi</artifactId>
148     </dependency>
149
150     <dependency>
151       <groupId>org.apache.httpcomponents</groupId>
152       <artifactId>httpcore-osgi</artifactId>
153     </dependency>
154
155     <dependency>
156       <groupId>org.opendaylight.controller.model</groupId>
157       <artifactId>model-inventory</artifactId>
158       <version>${mdsal.version}</version>
159       <type>jar</type>
160     </dependency>
161
162     <dependency>
163       <groupId>org.opendaylight.l2switch</groupId>
164       <artifactId>features-l2switch</artifactId>
165       <classifier>features</classifier>
166       <version>${l2switch.version}</version>
167       <type>xml</type>
168       <scope>runtime</scope>
169     </dependency>
170
171     <dependency>
172       <groupId>org.opendaylight.l2switch.addresstracker</groupId>
173       <artifactId>addresstracker-model</artifactId>
174       <version>${l2switch.version}</version>
175       <type>jar</type>
176     </dependency>
177
178     <dependency>
179       <groupId>org.opendaylight.l2switch.hosttracker</groupId>
180       <artifactId>hosttracker-model</artifactId>
181       <version>${l2switch.version}</version>
182       <type>jar</type>
183     </dependency>
184
185     <dependency>
186       <groupId>org.opendaylight.yangtools.model</groupId>
187       <artifactId>ietf-topology</artifactId>
188       <version>${ietf.topology.version}</version>
189     </dependency>
190
191     <dependency>
192       <groupId>org.opendaylight.controller.thirdparty</groupId>
193       <artifactId>net.sf.jung2</artifactId>
194       <version>2.0.1</version>
195     </dependency>
196   </dependencies>
197
198   <build>
199     <resources>
200       <resource>
201         <directory>src/main/resources</directory>
202         <filtering>true</filtering>
203       </resource>
204     </resources>
205     <plugins>
206       <plugin>
207         <groupId>org.apache.maven.plugins</groupId>
208         <artifactId>maven-resources-plugin</artifactId>
209         <executions>
210           <execution>
211             <id>filter</id>
212             <phase>generate-resources</phase>
213             <goals>
214               <goal>resources</goal>
215             </goals>
216           </execution>
217         </executions>
218       </plugin>
219       <plugin>
220         <groupId>org.codehaus.mojo</groupId>
221         <artifactId>build-helper-maven-plugin</artifactId>
222         <executions>
223           <execution>
224             <id>attach-artifacts</id>
225             <phase>package</phase>
226             <goals>
227               <goal>attach-artifact</goal>
228             </goals>
229             <configuration>
230               <artifacts>
231                 <artifact>
232                   <file>${project.build.directory}/classes/${features.file}</file>
233                   <type>xml</type>
234                   <classifier>features</classifier>
235                 </artifact>
236               </artifacts>
237             </configuration>
238           </execution>
239         </executions>
240       </plugin>
241     </plugins>
242   </build>
243
244 </project>