Enable defense4all dependencies in virtualization
[integration/distribution.git] / distributions / virtualization / pom.xml
1 <!--                                                                                                                                     
2 Adapted from David Erickson's Distribution pom.xml                                                                                       
3 see https://git.opendaylight.org/gerrit/#/c/390/                                                                                         
4 -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0"
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0                                                                                    
8 http://maven.apache.org/maven-v4_0_0.xsd">
9   <modelVersion>4.0.0</modelVersion>
10   <parent>
11     <groupId>org.opendaylight.integration</groupId>
12     <artifactId>distributions</artifactId>
13     <version>0.1.0-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>distributions-virtualization</artifactId>
18   <packaging>pom</packaging>
19   <name>Opendaylight Virtualization Edition</name>
20
21   <dependencies>
22
23     <!-- base distribution -->
24     
25     <dependency>
26       <groupId>org.opendaylight.integration</groupId>
27       <artifactId>distributions-base</artifactId>
28       <version>0.1.0-SNAPSHOT</version>
29       <type>zip</type>
30       <classifier>osgipackage</classifier>
31       <!-- Make sure this isn't included on any classpath-->
32       <scope>provided</scope>
33     </dependency>
34
35     <!-- ovsdb --> 
36     <dependency>
37       <groupId>org.opendaylight.ovsdb</groupId>
38       <artifactId>ovsdb</artifactId>
39       <version>0.4.0-SNAPSHOT</version>
40     </dependency>
41
42     <!-- vtn -->
43
44     <dependency>
45       <groupId>org.opendaylight.vtn</groupId>
46       <artifactId>manager</artifactId>
47       <version>0.1.0-SNAPSHOT</version>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.vtn</groupId>
51       <artifactId>manager.implementation</artifactId>
52       <version>0.1.0-SNAPSHOT</version>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.vtn</groupId>
56       <artifactId>manager.northbound</artifactId>
57       <version>0.1.0-SNAPSHOT</version>
58     </dependency>    
59
60     <!-- defense4all -->
61
62     <!-- 
63          Note: will not work until groupId is fixed in defense4all project to be 
64          org.opendaylight.defense4all for all artifacts
65
66          Note: These should pull through all other defense for all modules via dependencies
67
68       -->
69
70     <dependency>
71       <groupId>org.opendaylight.defense4all</groupId>
72       <artifactId>defense4all.core.impl</artifactId>
73       <version>0.0.1-SNAPSHOT</version>
74     </dependency>
75
76     <dependency>
77       <groupId>org.opendaylight.defense4all</groupId>
78       <artifactId>framework.core.impl</artifactId>
79       <version>0.0.1-SNAPSHOT</version>
80     </dependency>
81     
82     <dependency>
83       <groupId>org.opendaylight.defense4all</groupId>
84       <artifactId>defense4all.restservice</artifactId>
85       <version>0.0.1-SNAPSHOT</version>
86     </dependency>
87
88
89     <!-- affinity -->
90     <dependency>
91       <groupId>org.opendaylight.affinity</groupId>
92       <artifactId>affinity</artifactId>
93       <version>0.4.0-SNAPSHOT</version>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.affinity</groupId>
98       <artifactId>affinity.implementation</artifactId>
99       <version>0.4.0-SNAPSHOT</version>
100     </dependency>
101
102     <dependency>
103       <groupId>org.opendaylight.affinity</groupId>
104       <artifactId>affinity.northbound</artifactId>
105       <version>0.4.0-SNAPSHOT</version>
106     </dependency>
107
108     <dependency>
109       <groupId>org.opendaylight.affinity</groupId>
110       <artifactId>l2agent</artifactId>
111       <version>0.4.0-SNAPSHOT</version>
112     </dependency>
113
114     <!--
115     <dependency>
116       <groupId>org.opendaylight.affinity</groupId>
117       <artifactId>model-parent</artifactId>
118       <version>1.0-SNAPSHOT</version>
119     </dependency>
120     -->
121     <dependency>
122       <groupId>org.opendaylight.affinity</groupId>
123       <artifactId>analytics</artifactId>
124       <version>0.4.0-SNAPSHOT</version>
125     </dependency>
126
127     <dependency>
128       <groupId>org.opendaylight.affinity</groupId>
129       <artifactId>analytics.implementation</artifactId>
130       <version>0.4.0-SNAPSHOT</version>
131     </dependency>
132
133     <dependency>
134       <groupId>org.opendaylight.affinity</groupId>
135       <artifactId>analytics.northbound</artifactId>
136       <version>0.4.0-SNAPSHOT</version>
137     </dependency>
138
139     <!-- opendove -->
140
141     <dependency>
142       <groupId>org.opendaylight.opendove</groupId>
143       <artifactId>odmc</artifactId>
144       <version>0.4.0-SNAPSHOT</version>
145     </dependency>
146
147     <dependency>
148       <groupId>org.opendaylight.opendove</groupId>
149       <artifactId>odmc.implementation</artifactId>
150       <version>0.4.0-SNAPSHOT</version>
151     </dependency>
152
153     <dependency>
154       <groupId>org.opendaylight.opendove</groupId>
155       <artifactId>odmc.rest</artifactId>
156       <version>0.4.0-SNAPSHOT</version>
157     </dependency>
158
159     <dependency>
160       <groupId>org.opendaylight.opendove</groupId>
161       <artifactId>odmc.northbound</artifactId>
162       <version>0.4.0-SNAPSHOT</version>
163     </dependency>
164
165     <dependency>
166       <groupId>org.opendaylight.opendove</groupId>
167       <artifactId>odmc.rest.northbound</artifactId>
168       <version>0.4.0-SNAPSHOT</version>
169     </dependency>
170
171     <dependency>
172       <groupId>org.opendaylight.opendove</groupId>
173       <artifactId>odmc.rest.southbound</artifactId>
174       <version>0.4.0-SNAPSHOT</version>
175     </dependency>
176
177   </dependencies>
178   <build>
179     <resources>
180       <resource>
181         <directory>${basedir}/src/main/resources</directory>
182       </resource>
183       <resource>
184         <directory>${project.build.directory}/generated-resources</directory>
185         <filtering>true</filtering>
186       </resource>
187     </resources>
188     <plugins>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-dependency-plugin</artifactId>
192         <version>2.8</version>
193         <executions>
194           <execution>
195             <id>unpack-shared-resources</id>
196             <goals>
197               <goal>unpack-dependencies</goal>
198             </goals>
199             <phase>generate-resources</phase>
200             <configuration>
201              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
202              <includeArtifacIds>distributions-base</includeArtifacIds>
203              <includeGroupIds>org.opendaylight.integration</includeGroupIds>
204              <excludeTransitive>true</excludeTransitive>
205              <ignorePermissions>false</ignorePermissions>
206             </configuration>
207           </execution>
208         </executions>
209       </plugin>
210       <plugin>
211         <artifactId>maven-assembly-plugin</artifactId>
212         <executions>
213           <execution>
214             <id>distro-assembly</id>
215             <phase>package</phase>
216             <goals>
217               <goal>single</goal>
218             </goals>
219             <configuration>
220               <descriptors>
221                 <descriptor>src/assemble/bin.xml</descriptor>
222               </descriptors>
223             </configuration>
224           </execution>
225         </executions>
226       </plugin>
227     </plugins>
228   </build>
229 </project>