Normalize Bundle Naming
[ovsdb.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.1.0-SNAPSHOT</version>
12     <relativePath>../../commons/parent/</relativePath>
13   </parent>
14
15   <artifactId>distribution.ovsdb</artifactId>
16   <packaging>pom</packaging>
17   <name>distribution</name>
18   <dependencies>
19     <!-- openflowjava -->
20     <dependency>
21       <groupId>org.opendaylight.openflowjava</groupId>
22       <artifactId>util</artifactId>
23       <version>0.5-SNAPSHOT</version>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.openflowjava</groupId>
27       <artifactId>openflow-protocol-api</artifactId>
28       <version>0.5-SNAPSHOT</version>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.openflowjava</groupId>
32       <artifactId>openflow-protocol-impl</artifactId>
33       <version>0.5-SNAPSHOT</version>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.openflowjava</groupId>
37       <artifactId>openflow-protocol-spi</artifactId>
38       <version>0.5-SNAPSHOT</version>
39     </dependency>
40     <!-- openflowplugin -->
41     <dependency>
42       <groupId>org.opendaylight.openflowplugin</groupId>
43       <artifactId>openflowplugin</artifactId>
44       <version>0.0.3-SNAPSHOT</version>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.openflowplugin</groupId>
48       <artifactId>openflowplugin-api</artifactId>
49       <version>0.0.3-SNAPSHOT</version>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.openflowplugin</groupId>
53       <artifactId>openflowplugin-controller-config</artifactId>
54       <version>0.0.3-SNAPSHOT</version>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.ovsdb</groupId>
58       <artifactId>library</artifactId>
59       <version>1.0.0-SNAPSHOT</version>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.ovsdb</groupId>
63       <artifactId>neutron</artifactId>
64       <version>0.7.0-SNAPSHOT</version>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.ovsdb</groupId>
68       <artifactId>northbound</artifactId>
69       <version>0.6.0-SNAPSHOT</version>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.ovsdb</groupId>
73       <artifactId>plugin</artifactId>
74       <version>1.0.0-SNAPSHOT</version>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.ovsdb</groupId>
78       <artifactId>schema.openvswitch</artifactId>
79       <version>1.0.0-SNAPSHOT</version>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.ovsdb</groupId>
83       <artifactId>schema.hardwarevtep</artifactId>
84       <version>1.0.0-SNAPSHOT</version>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>distribution.opendaylight</artifactId>
89       <version>0.1.2-SNAPSHOT</version>
90       <classifier>osgipackage</classifier>
91       <type>zip</type>
92       <!-- Make sure this isn't included on any classpath-->
93       <scope>provided</scope>
94     </dependency>
95   </dependencies>
96   <build>
97     <resources>
98       <resource>
99         <directory>${basedir}/src/main/resources</directory>
100       </resource>
101       <resource>
102         <filtering>true</filtering>
103         <directory>${project.build.directory}/generated-resources</directory>
104       </resource>
105     </resources>
106     <plugins>
107       <plugin>
108         <artifactId>maven-assembly-plugin</artifactId>
109         <executions>
110           <execution>
111             <id>distro-assembly</id>
112             <goals>
113               <goal>single</goal>
114             </goals>
115             <phase>package</phase>
116             <configuration>
117               <descriptors>
118                 <descriptor>src/assemble/bin.xml</descriptor>
119               </descriptors>
120             </configuration>
121           </execution>
122         </executions>
123       </plugin>
124       <plugin>
125         <groupId>org.apache.maven.plugins</groupId>
126         <artifactId>maven-dependency-plugin</artifactId>
127         <version>2.8</version>
128         <executions>
129           <execution>
130             <id>unpack-shared-resources</id>
131             <goals>
132               <goal>unpack-dependencies</goal>
133             </goals>
134             <phase>generate-resources</phase>
135             <configuration>
136               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
137               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
138               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
139               <excludeTransitive>true</excludeTransitive>
140               <ignorePermissions>false</ignorePermissions>
141             </configuration>
142           </execution>
143           <execution>
144             <id>unpack-provided-configs</id>
145             <goals>
146               <goal>unpack-dependencies</goal>
147             </goals>
148             <phase>generate-resources</phase>
149             <configuration>
150               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
151               <includeArtifactIds>openflowplugin-controller-config</includeArtifactIds>
152               <includes>**\/*.xml</includes>
153               <excludeTransitive>true</excludeTransitive>
154               <ignorePermissions>false</ignorePermissions>
155             </configuration>
156           </execution>
157         </executions>
158       </plugin>
159     </plugins>
160   </build>
161
162   <scm>
163     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
164     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
165     <tag>HEAD</tag>
166     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
167   </scm>
168 </project>