Bump odlparent/yangtools/mdsal to 6.0.11/4.0.13/5.0.14
[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.11</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.integration</groupId>
12     <artifactId>onap-karaf</artifactId>
13     <version>0.12.2-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         <dependency>
140             <groupId>org.opendaylight.integration</groupId>
141             <artifactId>karaf-scripts</artifactId>
142             <version>${project.version}</version>
143             <scope>test</scope>
144         </dependency>
145
146     </dependencies>
147
148     <build>
149         <plugins>
150             <plugin>
151                 <groupId>org.apache.maven.plugins</groupId>
152                 <artifactId>maven-dependency-plugin</artifactId>
153                 <executions>
154                     <execution>
155                         <id>copy-aaa-cli-jar</id>
156                         <phase>prepare-package</phase>
157                         <goals>
158                             <goal>copy-dependencies</goal>
159                         </goals>
160                         <configuration>
161                             <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
162                             <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
163                             <overWriteReleases>true</overWriteReleases>
164                             <overWriteSnapshots>true</overWriteSnapshots>
165                             <overWriteIfNewer>true</overWriteIfNewer>
166                             <excludeTransitive>true</excludeTransitive>
167                             <!-- Do not include version in JAR filename, as external scripts call this utility,
168                                  and they understandly do not want to have to adjust for every ODL release;
169                                  see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
170                             <stripVersion>true</stripVersion>
171                         </configuration>
172                     </execution>
173                     <execution>
174                         <id>unpack-odl-karaf-resources</id>
175                         <goals>
176                             <goal>unpack-dependencies</goal>
177                         </goals>
178                         <phase>prepare-package</phase>
179                         <configuration>
180                             <outputDirectory>${project.build.directory}/assembly</outputDirectory>
181                             <groupId>org.opendaylight.integration</groupId>
182                             <includeArtifactIds>karaf-scripts</includeArtifactIds>
183                             <excludes>META-INF\/**</excludes>
184                             <excludeTransitive>true</excludeTransitive>
185                             <ignorePermissions>false</ignorePermissions>
186                         </configuration>
187                     </execution>
188                 </executions>
189             </plugin>
190         </plugins>
191     </build>
192
193 </project>
194