a2f226aa2287caff746d6c24a0c2cb2e5de90cab
[ovsdb.git] / distribution / opendaylight / 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" 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">
6   <modelVersion>4.0.0</modelVersion>
7   <parent>
8     <groupId>org.opendaylight.ovsdb</groupId>
9     <artifactId>commons.ovsdb</artifactId>
10     <version>1.1.0-SNAPSHOT</version>
11     <relativePath>../../commons/parent/</relativePath>
12   </parent>
13
14   <artifactId>distribution.ovsdb</artifactId>
15   <packaging>pom</packaging>
16   <name>ovsdb Distribution</name>
17
18   <scm>
19     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
20     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
21     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
22     <tag>HEAD</tag>
23   </scm>
24   <dependencies>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>distribution.opendaylight</artifactId>
28       <version>0.1.2-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     <dependency>
35       <groupId>org.opendaylight.ovsdb</groupId>
36       <artifactId>ovsdb</artifactId>
37       <version>1.0.0-SNAPSHOT</version>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.ovsdb</groupId>
41       <artifactId>ovsdb.northbound</artifactId>
42       <version>0.6.0-SNAPSHOT</version>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.ovsdb</groupId>
46       <artifactId>ovsdb.neutron</artifactId>
47       <version>0.6.0-SNAPSHOT</version>
48     </dependency>
49   </dependencies>
50   <build>
51     <resources>
52       <resource>
53         <directory>${basedir}/src/main/resources</directory>
54       </resource>
55       <resource>
56         <directory>${project.build.directory}/generated-resources</directory>
57         <filtering>true</filtering>
58       </resource>
59     </resources>
60     <plugins>
61       <plugin>
62         <groupId>org.apache.maven.plugins</groupId>
63         <artifactId>maven-dependency-plugin</artifactId>
64         <version>2.8</version>
65         <executions>
66           <execution>
67             <id>unpack-shared-resources</id>
68             <goals>
69               <goal>unpack-dependencies</goal>
70             </goals>
71             <phase>generate-resources</phase>
72             <configuration>
73              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
74              <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
75              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
76              <excludeTransitive>true</excludeTransitive>
77              <ignorePermissions>false</ignorePermissions>
78             </configuration>
79           </execution>
80         </executions>
81       </plugin>
82       <plugin>
83         <artifactId>maven-assembly-plugin</artifactId>
84         <executions>
85           <execution>
86             <id>distro-assembly</id>
87             <phase>package</phase>
88             <goals>
89               <goal>single</goal>
90             </goals>
91             <configuration>
92               <descriptors>
93                 <descriptor>src/assemble/bin.xml</descriptor>
94               </descriptors>
95             </configuration>
96           </execution>
97         </executions>
98       </plugin>
99     </plugins>
100   </build>
101 </project>