Merge "Updated spec file to build Open DOVE component rpms from a single file."
[integration/packaging.git] / packaging / docker / base / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <prerequisites>
6     <maven>3.0</maven>
7   </prerequisites>
8   <parent>
9     <groupId>org.opendaylight.integration</groupId>
10     <artifactId>docker</artifactId>
11     <version>0.1.1-SNAPSHOT</version>
12     <relativePath>../</relativePath>
13   </parent>
14   <artifactId>docker-base</artifactId>
15   <name>OpenDaylight Docker Base Edition Project</name>
16   <packaging>pom</packaging>
17    <build>
18     <plugins>
19       <plugin>
20         <groupId>org.apache.maven.plugins</groupId>
21         <artifactId>maven-dependency-plugin</artifactId>
22         <version>2.8</version>
23         <executions>
24           <execution>
25             <id>copy-dependencies</id>
26             <phase>package</phase>
27             <goals>
28               <goal>copy</goal>
29             </goals>
30             <configuration>
31               <artifactItems>
32                 <artifactItem>
33                   <groupId>org.opendaylight.integration</groupId>
34                   <artifactId>distributions-base</artifactId>
35                   <version>0.1.1-SNAPSHOT</version>
36                   <type>zip</type>
37                   <classifier>osgipackage</classifier>
38                   <overWrite>true</overWrite>
39                   <outputDirectory>${project.build.directory}/dist</outputDirectory>
40                 </artifactItem>
41               </artifactItems>
42               <!-- other configurations here -->
43               <overWriteReleases>false</overWriteReleases>
44               <overWriteSnapshots>false</overWriteSnapshots>
45               <overWriteIfNewer>true</overWriteIfNewer>
46             </configuration>
47           </execution>
48         </executions>
49       </plugin>
50     </plugins>
51   </build>
52 </project>