code cleanup
[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.odlparent</groupId>
12     <artifactId>karaf4-parent</artifactId>
13     <version>6.0.6</version>
14     <relativePath/>
15   </parent>
16   <modelVersion>4.0.0</modelVersion>
17   <groupId>org.opendaylight.unimgr</groupId>
18   <artifactId>unimgr-karaf4</artifactId>
19   <version>0.6.0-SNAPSHOT</version>
20   <!-- <name> formatting is used by autorelease to parse and notify projects on
21        build failure. Please do not modify this unless you have a good reason. -->
22   <name>ODL :: unimgr :: ${project.artifactId}</name>
23   <properties>
24     <karaf.localFeature>odl-unimgr-rest</karaf.localFeature>
25   </properties>
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>${project.groupId}</groupId>
30         <artifactId>unimgr-artifacts</artifactId>
31         <version>${project.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37   <dependencies>
38     <dependency>
39       <!-- scope is compile so all features (there is only one) are installed
40       into startup.properties and the feature repo itself is not installed -->
41       <groupId>org.apache.karaf.features</groupId>
42       <artifactId>framework</artifactId>
43       <type>kar</type>
44       <scope>compile</scope>
45     </dependency>
46     <dependency>
47       <groupId>${project.groupId}</groupId>
48       <artifactId>features4-unimgr</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>