51ede5a6ff183c938c96244cc34101328bb611e1
[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>4.0.10</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.integration</groupId>
12     <artifactId>onap-karaf</artifactId>
13     <version>0.10.1-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>0.10.1</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             <version>0.9.1</version>
51             <classifier>features</classifier>
52             <type>xml</type>
53             <scope>runtime</scope>
54         </dependency>
55
56         <!-- Controller -->
57         <dependency>
58             <groupId>org.opendaylight.controller</groupId>
59             <artifactId>features-extras</artifactId>
60             <version>1.12.1</version>
61             <classifier>features</classifier>
62             <type>xml</type>
63             <scope>runtime</scope>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.controller</groupId>
67             <artifactId>features-mdsal</artifactId>
68             <version>1.9.1</version>
69             <classifier>features</classifier>
70             <type>xml</type>
71             <scope>runtime</scope>
72         </dependency>
73         <dependency>
74             <groupId>org.opendaylight.controller</groupId>
75             <artifactId>features-mdsal-benchmark</artifactId>
76             <version>1.7.1</version>
77             <classifier>features</classifier>
78             <type>xml</type>
79             <scope>runtime</scope>
80         </dependency>
81         <dependency>
82             <groupId>org.opendaylight.controller</groupId>
83             <artifactId>features-mdsal-trace</artifactId>
84             <version>1.9.1</version>
85             <classifier>features</classifier>
86             <type>xml</type>
87             <scope>runtime</scope>
88         </dependency>
89
90         <!-- Daexim -->
91         <dependency>
92             <groupId>org.opendaylight.daexim</groupId>
93             <artifactId>daexim-features</artifactId>
94             <version>1.5.1</version>
95             <classifier>features</classifier>
96             <type>xml</type>
97             <scope>runtime</scope>
98         </dependency>
99
100         <!-- Netconf -->
101         <dependency>
102             <groupId>org.opendaylight.netconf</groupId>
103             <artifactId>features-netconf</artifactId>
104             <version>1.6.1</version>
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-netconf-connector</artifactId>
112             <version>1.6.1</version>
113             <classifier>features</classifier>
114             <type>xml</type>
115             <scope>runtime</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.opendaylight.netconf</groupId>
119             <artifactId>features-restconf</artifactId>
120             <version>1.6.1</version>
121             <classifier>features</classifier>
122             <type>xml</type>
123             <scope>runtime</scope>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.netconf</groupId>
127             <artifactId>features-yanglib</artifactId>
128             <version>1.6.1</version>
129             <classifier>features</classifier>
130             <type>xml</type>
131             <scope>runtime</scope>
132         </dependency>
133
134         <!--ODL Parent-->
135         <dependency>
136             <groupId>org.opendaylight.odlparent</groupId>
137             <artifactId>features-akka</artifactId>
138             <version>4.0.10</version>
139             <classifier>features</classifier>
140             <type>xml</type>
141             <scope>runtime</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.opendaylight.odlparent</groupId>
145             <artifactId>features-odlparent</artifactId>
146             <version>4.0.10</version>
147             <classifier>features</classifier>
148             <type>xml</type>
149             <scope>runtime</scope>
150         </dependency>
151
152         <dependency>
153             <groupId>org.opendaylight.aaa</groupId>
154             <artifactId>aaa-cli-jar</artifactId>
155             <version>0.9.1</version>
156             <!-- 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 -->
157             <scope>test</scope>
158         </dependency>
159     </dependencies>
160
161     <build>
162         <plugins>
163             <plugin>
164                 <groupId>org.apache.maven.plugins</groupId>
165                 <artifactId>maven-dependency-plugin</artifactId>
166                 <executions>
167                     <execution>
168                         <id>copy-aaa-cli-jar</id>
169                         <phase>prepare-package</phase>
170                         <goals>
171                             <goal>copy-dependencies</goal>
172                         </goals>
173                         <configuration>
174                             <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
175                             <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
176                             <overWriteReleases>true</overWriteReleases>
177                             <overWriteSnapshots>true</overWriteSnapshots>
178                             <overWriteIfNewer>true</overWriteIfNewer>
179                             <excludeTransitive>true</excludeTransitive>
180                             <!-- Do not include version in JAR filename, as external scripts call this utility,
181                                  and they understandly do not want to have to adjust for every ODL release;
182                                  see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
183                             <stripVersion>true</stripVersion>
184                         </configuration>
185                     </execution>
186                 </executions>
187             </plugin>
188         </plugins>
189     </build>
190
191 </project>
192