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