Rome hackathon work integrated onto boron.
[unimgr.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cable Television Laboratories, Inc. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
8 -->
9 <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/xsd/maven-4.0.0.xsd">
10   <parent>
11     <groupId>org.opendaylight.controller</groupId>
12     <artifactId>karaf-parent</artifactId>
13     <version>1.7.0-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16   <modelVersion>4.0.0</modelVersion>
17   <groupId>org.opendaylight.unimgr</groupId>
18   <artifactId>unimgr-karaf</artifactId>
19   <version>0.1.0-SNAPSHOT</version>
20   <name>${project.artifactId}</name>
21   <prerequisites>
22     <maven>3.1.1</maven>
23   </prerequisites>
24   <properties>
25     <karaf.localFeature>odl-unimgr-ui</karaf.localFeature>
26   </properties>
27   <dependencyManagement>
28     <dependencies>
29       <dependency>
30         <groupId>${project.groupId}</groupId>
31         <artifactId>unimgr-artifacts</artifactId>
32         <version>${project.version}</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36     </dependencies>
37   </dependencyManagement>
38   <dependencies>
39     <dependency>
40       <!-- scope is compile so all features (there is only one) are installed
41       into startup.properties and the feature repo itself is not installed -->
42       <groupId>org.apache.karaf.features</groupId>
43       <artifactId>framework</artifactId>
44       <type>kar</type>
45     </dependency>
46     <dependency>
47       <groupId>${project.groupId}</groupId>
48       <artifactId>unimgr-features</artifactId>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53   </dependencies>
54   <!-- DO NOT install or deploy the karaf artifact -->
55   <build>
56     <resources>
57       <resource>
58         <directory>src/main/resources/</directory>
59         <filtering>false</filtering>
60       </resource>
61     </resources>
62     <plugins>
63       <plugin>
64         <groupId>org.apache.maven.plugins</groupId>
65         <artifactId>maven-resources-plugin</artifactId>
66         <executions>
67           <execution>
68             <id>process-resources</id>
69             <goals>
70               <goal>resources</goal>
71             </goals>
72             <configuration>
73                 <outputDirectory>${project.build.directory}/assembly/</outputDirectory>
74                 <overwrite>true</overwrite>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79       <plugin>
80         <groupId>org.apache.maven.plugins</groupId>
81         <artifactId>maven-deploy-plugin</artifactId>
82         <configuration>
83           <skip>true</skip>
84         </configuration>
85       </plugin>
86     </plugins>
87   </build>
88 </project>