Remove <prerequisites><maven> from pom.xml to avoid WARNING
[genius.git] / karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 Ericsson India Global Services Pvt Ltd. and others.  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   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>karaf-parent</artifactId>
15     <version>1.9.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.genius</groupId>
20   <artifactId>genius-karaf</artifactId>
21   <version>0.3.0-SNAPSHOT</version>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: genius :: ${project.artifactId}</name>
25
26   <properties>
27     <karaf.localFeature>odl-genius-ui</karaf.localFeature>
28   </properties>
29
30   <dependencyManagement>
31     <dependencies>
32       <dependency>
33         <groupId>${project.groupId}</groupId>
34         <artifactId>genius-artifacts</artifactId>
35         <version>${project.version}</version>
36         <type>pom</type>
37         <scope>import</scope>
38       </dependency>
39     </dependencies>
40   </dependencyManagement>
41
42   <dependencies>
43     <dependency>
44       <!-- scope is compile so all features (there is only one) are installed
45       into startup.properties and the feature repo itself is not installed -->
46       <groupId>org.apache.karaf.features</groupId>
47       <artifactId>framework</artifactId>
48       <type>kar</type>
49     </dependency>
50
51     <dependency>
52       <groupId>${project.groupId}</groupId>
53       <artifactId>genius-features</artifactId>
54       <classifier>features</classifier>
55       <type>xml</type>
56       <scope>runtime</scope>
57     </dependency>
58   </dependencies>
59
60   <!-- DO NOT install or deploy the karaf artifact -->
61   <build>
62     <plugins>
63       <plugin>
64         <groupId>org.apache.maven.plugins</groupId>
65         <artifactId>maven-deploy-plugin</artifactId>
66         <configuration>
67           <skip>true</skip>
68         </configuration>
69       </plugin>
70     </plugins>
71   </build>
72 </project>