SonarBugFix:
[netvirt.git] / distribution / opendaylight / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Adapted from David Erickson's Distribution pom.xml
4 see https://git.opendaylight.org/gerrit/#/c/390/
5 -->
6 <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/maven-v4_0_0.xsd">
7   <modelVersion>4.0.0</modelVersion>
8   <parent>
9     <groupId>org.opendaylight.ovsdb</groupId>
10     <artifactId>commons</artifactId>
11     <version>1.3.0-SNAPSHOT</version>
12     <relativePath>../../commons/parent/</relativePath>
13   </parent>
14
15   <artifactId>distribution.ovsdb</artifactId>
16   <packaging>pom</packaging>
17   <name>OpenDaylight OVSDB Distribution</name>
18
19   <properties>
20     <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
21     <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
22     <openflowj.version>1.0.2</openflowj.version>
23   </properties>
24
25   <dependencies>
26     <!-- openflowjava -->
27     <dependency>
28       <groupId>org.opendaylight.openflowjava</groupId>
29       <artifactId>util</artifactId>
30       <version>${openflowjava.version}</version>
31     </dependency>
32     <dependency>
33       <groupId>org.opendaylight.openflowjava</groupId>
34       <artifactId>openflow-protocol-api</artifactId>
35       <version>${openflowjava.version}</version>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.openflowjava</groupId>
39       <artifactId>openflow-protocol-impl</artifactId>
40       <version>${openflowjava.version}</version>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.openflowjava</groupId>
44       <artifactId>openflow-protocol-spi</artifactId>
45       <version>${openflowjava.version}</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller.thirdparty</groupId>
49       <artifactId>org.openflow.openflowj</artifactId>
50       <version>${openflowj.version}</version>
51     </dependency>
52     <!-- openflowplugin -->
53     <dependency>
54       <groupId>org.opendaylight.openflowplugin</groupId>
55       <artifactId>openflowplugin</artifactId>
56       <version>${openflowplugin.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.openflowplugin</groupId>
60       <artifactId>openflowplugin-api</artifactId>
61       <version>${openflowplugin.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.openflowplugin</groupId>
65       <artifactId>openflowplugin-extension-api</artifactId>
66       <version>${openflowplugin.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.openflowplugin</groupId>
70       <artifactId>openflowplugin-extension-nicira</artifactId>
71       <version>${openflowplugin.version}</version>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.openflowplugin</groupId>
75       <artifactId>openflowjava-extension-nicira-api</artifactId>
76       <version>${openflowplugin.version}</version>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.openflowplugin</groupId>
80       <artifactId>openflowjava-extension-nicira</artifactId>
81       <version>${openflowplugin.version}</version>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.openflowplugin</groupId>
85       <artifactId>openflowplugin-controller-config</artifactId>
86       <version>${openflowplugin.version}</version>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.ovsdb</groupId>
90       <artifactId>library</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.ovsdb</groupId>
94       <artifactId>openstack.net-virt</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.ovsdb</groupId>
98       <artifactId>openstack.net-virt-providers</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.ovsdb</groupId>
102       <artifactId>northbound</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.ovsdb</groupId>
106       <artifactId>plugin</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.ovsdb</groupId>
110       <artifactId>ovssfc</artifactId>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.ovsdb</groupId>
114       <artifactId>plugin-mdsal-adapter</artifactId>
115     </dependency>
116     <dependency>
117       <groupId>org.opendaylight.ovsdb</groupId>
118       <artifactId>schema.openvswitch</artifactId>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.ovsdb</groupId>
122       <artifactId>schema.hardwarevtep</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.opendaylight.sfc</groupId>
126       <artifactId>sfc-model</artifactId>
127       <version>${sfc-model.version}</version>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.controller</groupId>
131       <artifactId>distribution.opendaylight</artifactId>
132       <version>0.2.0-SNAPSHOT</version>
133       <classifier>osgipackage</classifier>
134       <type>zip</type>
135       <!-- Make sure this isn't included on any classpath-->
136       <scope>provided</scope>
137     </dependency>
138   </dependencies>
139   <build>
140     <resources>
141       <resource>
142         <directory>${basedir}/src/main/resources</directory>
143       </resource>
144       <resource>
145         <filtering>true</filtering>
146         <directory>${project.build.directory}/generated-resources</directory>
147       </resource>
148     </resources>
149     <plugins>
150       <plugin>
151         <groupId>org.apache.maven.plugins</groupId>
152         <artifactId>maven-dependency-plugin</artifactId>
153         <version>2.8</version>
154         <executions>
155           <execution>
156             <id>unpack-shared-resources</id>
157             <goals>
158               <goal>unpack-dependencies</goal>
159             </goals>
160             <phase>generate-resources</phase>
161             <configuration>
162               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
163               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
164               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
165               <excludeTransitive>true</excludeTransitive>
166               <ignorePermissions>false</ignorePermissions>
167               <skip>${skip.distribution}</skip>
168             </configuration>
169           </execution>
170           <execution>
171             <id>unpack-provided-configs</id>
172             <goals>
173               <goal>unpack-dependencies</goal>
174             </goals>
175             <phase>generate-resources</phase>
176             <configuration>
177               <outputDirectory>${project.build.directory}/generated-resources/opendaylight/configuration</outputDirectory>
178               <includeArtifactIds>
179                 openflowplugin-controller-config, test-extension, openflowjava-extension-nicira, openflowjava-extension-nicira-api, openflowplugin-extension-nicira,
180                 ovssfc
181              </includeArtifactIds>
182               <includes>**\/*.xml</includes>
183               <excludeTransitive>true</excludeTransitive>
184               <ignorePermissions>false</ignorePermissions>
185               <skip>${skip.distribution}</skip>
186             </configuration>
187           </execution>
188         </executions>
189       </plugin>
190       <plugin>
191         <artifactId>maven-assembly-plugin</artifactId>
192         <executions>
193           <execution>
194             <id>distro-assembly</id>
195             <goals>
196               <goal>single</goal>
197             </goals>
198             <phase>package</phase>
199             <configuration>
200               <descriptors>
201                 <descriptor>src/assemble/bin.xml</descriptor>
202               </descriptors>
203               <skipAssembly>${skip.distribution}</skipAssembly>
204             </configuration>
205           </execution>
206         </executions>
207       </plugin>
208     </plugins>
209   </build>
210   <scm>
211     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
212     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
213     <tag>HEAD</tag>
214     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
215   </scm>
216 </project>