Increment versions after release
[appc.git] / appc-adapters / appc-rest-healthcheck-adapter / appc-rest-healthcheck-adapter-features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   Copyright (C) 2017 Amdocs
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22 <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">
23   <modelVersion>4.0.0</modelVersion>
24   <parent>
25     <artifactId>appc-rest-healthcheck-adapter</artifactId>
26     <groupId>org.onap.appc</groupId>
27     <version>1.5.2-SNAPSHOT</version>
28   </parent>
29   <artifactId>appc-rest-healthcheck-adapter-features</artifactId>
30   <name>rest healthcheck Adaptor - Features</name>
31
32   <packaging>jar</packaging>
33
34   <dependencies>
35     <dependency>
36       <groupId>org.onap.appc</groupId>
37       <artifactId>appc-rest-healthcheck-adapter-bundle</artifactId>
38       <version>${project.version}</version>
39     </dependency>
40
41     <dependency>
42       <groupId>commons-lang</groupId>
43       <artifactId>commons-lang</artifactId>
44       <scope>compile</scope>
45     </dependency>
46
47     <dependency>
48       <groupId>org.opendaylight.mdsal</groupId>
49       <artifactId>features-mdsal</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52       <scope>runtime</scope>
53     </dependency>
54
55     <!-- dependency for opendaylight-karaf-empty for use by testing -->
56     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>opendaylight-karaf-empty</artifactId>
59       <type>zip</type>
60     </dependency>
61
62 <!--     <dependency> -->
63 <!--       Required for launching the feature tests -->
64 <!--       <groupId>org.opendaylight.yangtools</groupId> -->
65 <!--       <artifactId>features-test</artifactId> -->
66 <!--       <scope>test</scope> -->
67 <!--     </dependency> -->
68
69     <dependency>
70       <groupId>org.opendaylight.yangtools</groupId>
71       <artifactId>features-yangtools</artifactId>
72       <classifier>features</classifier>
73       <type>xml</type>
74       <scope>runtime</scope>
75     </dependency>
76   </dependencies>
77
78   <build>
79     <resources>
80       <resource>
81         <filtering>true</filtering>
82         <directory>src/main/resources</directory>
83       </resource>
84     </resources>
85     <plugins>
86       <plugin>
87         <groupId>org.apache.maven.plugins</groupId>
88         <artifactId>maven-resources-plugin</artifactId>
89         <executions>
90           <execution>
91             <id>filter</id>
92             <goals>
93               <goal>resources</goal>
94             </goals>
95             <phase>generate-resources</phase>
96           </execution>
97         </executions>
98       </plugin>
99       <!-- launches the feature test, which validates that your karaf feature 
100         can be installed inside of a karaf container. It doesn't validate that your 
101         functionality works correctly, just that you have all of the dependent bundles 
102         defined correctly. -->
103       <!-- <plugin> -->
104       <!-- <groupId>org.apache.maven.plugins</groupId> -->
105       <!-- <artifactId>maven-surefire-plugin</artifactId> -->
106       <!-- <version>2.16</version> -->
107       <!-- <configuration> -->
108       <!-- <systemPropertyVariables> -->
109       <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
110       <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
111       <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
112       <!-- </systemPropertyVariables> -->
113       <!-- <dependenciesToScan> -->
114       <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
115       <!-- </dependenciesToScan> -->
116       <!-- </configuration> -->
117       <!-- </plugin> -->
118       <plugin>
119         <groupId>org.codehaus.mojo</groupId>
120         <artifactId>build-helper-maven-plugin</artifactId>
121         <executions>
122           <execution>
123             <id>attach-artifacts</id>
124             <goals>
125               <goal>attach-artifact</goal>
126             </goals>
127             <phase>package</phase>
128             <configuration>
129               <artifacts>
130                 <artifact>
131                   <file>${project.build.directory}/classes/${features.file}</file>
132                   <type>xml</type>
133                   <classifier>features</classifier>
134                 </artifact>
135               </artifacts>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140     </plugins>
141   </build>
142   <version>1.5.2-SNAPSHOT</version>
143 </project>