Code ReOrganization and Re-Architecture changes
[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>ovsdb_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>ovsdb Distribution</name>
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.ovsdb</groupId>
21       <artifactId>ovsdb_library</artifactId>
22       <version>1.0.0-SNAPSHOT</version>
23     </dependency>
24     <dependency>
25       <groupId>org.opendaylight.ovsdb</groupId>
26       <artifactId>ovsdb_neutron</artifactId>
27       <version>0.6.0-SNAPSHOT</version>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.ovsdb</groupId>
31       <artifactId>ovsdb_northbound</artifactId>
32       <version>0.6.0-SNAPSHOT</version>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.ovsdb</groupId>
36       <artifactId>ovsdb_plugin</artifactId>
37       <version>1.0.0-SNAPSHOT</version>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>distribution.opendaylight</artifactId>
42       <version>0.1.2-SNAPSHOT</version>
43       <classifier>osgipackage</classifier>
44       <type>zip</type>
45       <!-- Make sure this isn't included on any classpath-->
46       <scope>provided</scope>
47     </dependency>
48   </dependencies>
49   <build>
50     <resources>
51       <resource>
52         <directory>${basedir}/src/main/resources</directory>
53       </resource>
54       <resource>
55         <filtering>true</filtering>
56         <directory>${project.build.directory}/generated-resources</directory>
57       </resource>
58     </resources>
59     <plugins>
60       <plugin>
61         <artifactId>maven-assembly-plugin</artifactId>
62         <executions>
63           <execution>
64             <id>distro-assembly</id>
65             <goals>
66               <goal>single</goal>
67             </goals>
68             <phase>package</phase>
69             <configuration>
70               <descriptors>
71                 <descriptor>src/assemble/bin.xml</descriptor>
72               </descriptors>
73             </configuration>
74           </execution>
75         </executions>
76       </plugin>
77       <plugin>
78         <groupId>org.apache.maven.plugins</groupId>
79         <artifactId>maven-dependency-plugin</artifactId>
80         <version>2.8</version>
81         <executions>
82           <execution>
83             <id>unpack-shared-resources</id>
84             <goals>
85               <goal>unpack-dependencies</goal>
86             </goals>
87             <phase>generate-resources</phase>
88             <configuration>
89               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
90               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
91               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
92               <excludeTransitive>true</excludeTransitive>
93               <ignorePermissions>false</ignorePermissions>
94             </configuration>
95           </execution>
96         </executions>
97       </plugin>
98     </plugins>
99   </build>
100
101   <scm>
102     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
103     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
104     <tag>HEAD</tag>
105     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
106   </scm>
107 </project>