Bump odlparent-6.0.4/yangtools-4.0.6/mdsal-5.0.9
[integration/distribution.git] / onap-karaf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3
4     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>karaf4-parent</artifactId>
7         <version>6.0.4</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.integration</groupId>
12     <artifactId>onap-karaf</artifactId>
13     <version>0.12.0-SNAPSHOT</version>
14     <packaging>pom</packaging>
15     <name>ODL :: integration :: ${project.artifactId}</name>
16     <modelVersion>4.0.0</modelVersion>
17
18     <description>The ONAP Karaf distribution.</description>
19     <url>https://wiki.opendaylight.org/view/Integration/Distribution</url>
20     <licenses>
21         <license>
22             <name>Eclipse Public License v1.0</name>
23             <url>http://www.eclipse.org/legal/epl-v10.html</url>
24         </license>
25     </licenses>
26
27     <properties>
28         <karaf.archiveZip>false</karaf.archiveZip>
29         <karaf.archiveTarGz>true</karaf.archiveTarGz>
30     </properties>
31
32     <dependencyManagement>
33         <dependencies>
34             <dependency>
35                 <groupId>org.opendaylight.integration</groupId>
36                 <artifactId>all-artifacts</artifactId>
37                 <version>${project.version}</version>
38                 <scope>import</scope>
39                 <type>pom</type>
40             </dependency>
41         </dependencies>
42     </dependencyManagement>
43
44     <dependencies>
45
46         <!-- AAA -->
47         <dependency>
48             <groupId>org.opendaylight.aaa</groupId>
49             <artifactId>features-aaa</artifactId>
50             <classifier>features</classifier>
51             <type>xml</type>
52             <scope>runtime</scope>
53         </dependency>
54
55         <!-- Controller -->
56         <dependency>
57             <groupId>org.opendaylight.controller</groupId>
58             <artifactId>features-extras</artifactId>
59             <classifier>features</classifier>
60             <type>xml</type>
61             <scope>runtime</scope>
62         </dependency>
63         <dependency>
64             <groupId>org.opendaylight.controller</groupId>
65             <artifactId>features-mdsal</artifactId>
66             <classifier>features</classifier>
67             <type>xml</type>
68             <scope>runtime</scope>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.controller</groupId>
72             <artifactId>features-mdsal-benchmark</artifactId>
73             <classifier>features</classifier>
74             <type>xml</type>
75             <scope>runtime</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.opendaylight.controller</groupId>
79             <artifactId>features-mdsal-trace</artifactId>
80             <classifier>features</classifier>
81             <type>xml</type>
82             <scope>runtime</scope>
83         </dependency>
84
85         <!-- Daexim -->
86         <dependency>
87             <groupId>org.opendaylight.daexim</groupId>
88             <artifactId>daexim-features</artifactId>
89             <classifier>features</classifier>
90             <type>xml</type>
91             <scope>runtime</scope>
92         </dependency>
93
94         <!-- Netconf -->
95         <dependency>
96             <groupId>org.opendaylight.netconf</groupId>
97             <artifactId>features-netconf</artifactId>
98             <classifier>features</classifier>
99             <type>xml</type>
100             <scope>runtime</scope>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.netconf</groupId>
104             <artifactId>features-netconf-connector</artifactId>
105             <classifier>features</classifier>
106             <type>xml</type>
107             <scope>runtime</scope>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.netconf</groupId>
111             <artifactId>features-restconf</artifactId>
112             <classifier>features</classifier>
113             <type>xml</type>
114             <scope>runtime</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.netconf</groupId>
118             <artifactId>features-yanglib</artifactId>
119             <classifier>features</classifier>
120             <type>xml</type>
121             <scope>runtime</scope>
122         </dependency>
123
124         <!--ODL Parent-->
125         <dependency>
126             <groupId>org.opendaylight.odlparent</groupId>
127             <artifactId>features-odlparent</artifactId>
128             <classifier>features</classifier>
129             <type>xml</type>
130             <scope>runtime</scope>
131         </dependency>
132
133         <dependency>
134             <groupId>org.opendaylight.aaa</groupId>
135             <artifactId>aaa-cli-jar</artifactId>
136             <!-- This scope test here is just a trick, so that we can use aaa-cli-jar in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
137             <scope>test</scope>
138         </dependency>
139     </dependencies>
140
141     <build>
142         <plugins>
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-dependency-plugin</artifactId>
146                 <executions>
147                     <execution>
148                         <id>copy-aaa-cli-jar</id>
149                         <phase>prepare-package</phase>
150                         <goals>
151                             <goal>copy-dependencies</goal>
152                         </goals>
153                         <configuration>
154                             <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
155                             <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
156                             <overWriteReleases>true</overWriteReleases>
157                             <overWriteSnapshots>true</overWriteSnapshots>
158                             <overWriteIfNewer>true</overWriteIfNewer>
159                             <excludeTransitive>true</excludeTransitive>
160                             <!-- Do not include version in JAR filename, as external scripts call this utility,
161                                  and they understandly do not want to have to adjust for every ODL release;
162                                  see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
163                             <stripVersion>true</stripVersion>
164                         </configuration>
165                     </execution>
166                 </executions>
167             </plugin>
168         </plugins>
169     </build>
170
171 </project>
172