7f294dfd2fdfc2bef7f80fb1aef0a3f457db4843
[ccsdk/distribution.git] / opendaylight / neon / neon-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.onap.ccsdk.parent</groupId>
6         <artifactId>karaf4-parent</artifactId>
7         <version>1.5.1-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.onap.ccsdk.distribution</groupId>
12     <artifactId>odl-neon-karaf</artifactId>
13     <version>0.7.0-SNAPSHOT</version>
14     <name>ccsdk-distribution :: onap :: opendaylight :: neon :: karaf</name>
15     <modelVersion>4.0.0</modelVersion>
16
17     <licenses>
18         <license>
19             <name>The Apache Software License, Version 2.0</name>
20             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21             <distribution>repo</distribution>
22             <comments>OpenDaylight distribution build specific for ONAP projects.</comments>
23         </license>
24     </licenses>
25
26     <properties>
27         <opendaylight.version>0.10.1</opendaylight.version>
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>${opendaylight.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-akka</artifactId>
128             <classifier>features</classifier>
129             <type>xml</type>
130             <scope>runtime</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.odlparent</groupId>
134             <artifactId>features-odlparent</artifactId>
135             <classifier>features</classifier>
136             <type>xml</type>
137             <scope>runtime</scope>
138         </dependency>
139
140         <dependency>
141             <groupId>org.opendaylight.aaa</groupId>
142             <artifactId>aaa-cli-jar</artifactId>
143             <!-- 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 -->
144             <scope>test</scope>
145         </dependency>
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                 </executions>
174             </plugin>
175         </plugins>
176     </build>
177
178 </project>