ec0d117dd4240616f143b28cda1e9ae4e57a2a5c
[appc.git] / appc-inbound / appc-artifact-handler / 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"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <artifactId>appc-artifact-handler</artifactId>
27                 <groupId>org.onap.appc</groupId>
28                 <version>1.4.0-SNAPSHOT</version>
29         </parent>
30         <artifactId>appc-artifact-handler-features</artifactId>
31         <name>APPC Artifact Handler - Feature</name>
32         <packaging>jar</packaging>
33
34         <dependencies>
35                 <dependency>
36                         <groupId>org.onap.appc</groupId>
37                         <artifactId>appc-artifact-handler-model</artifactId>
38                 </dependency>
39                 <dependency>
40                         <groupId>org.onap.appc</groupId>
41                         <artifactId>appc-artifact-handler-provider</artifactId>
42                         <classifier>config</classifier>
43                         <type>xml</type>
44                 </dependency>
45                 <dependency>
46                         <groupId>org.opendaylight.mdsal</groupId>
47                         <artifactId>features-mdsal</artifactId>
48                         <classifier>features</classifier>
49                         <type>xml</type>
50                         <scope>runtime</scope>
51                 </dependency>
52                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
53                 <dependency>
54                         <groupId>org.opendaylight.controller</groupId>
55                         <artifactId>opendaylight-karaf-empty</artifactId>
56                         <type>zip</type>
57                 </dependency>
58
59                 <dependency>
60                         <!-- Required for launching the feature tests -->
61                         <groupId>org.opendaylight.odlparent</groupId>
62                         <artifactId>features-test</artifactId>
63                         <scope>test</scope>
64                         <version>${odl.commons.opendaylight.version}</version>
65                 </dependency>
66                 <dependency>
67                         <groupId>org.opendaylight.yangtools</groupId>
68                         <artifactId>features-yangtools</artifactId>
69                         <classifier>features</classifier>
70                         <type>xml</type>
71                         <scope>runtime</scope>
72                 </dependency>
73         </dependencies>
74
75         <build>
76                 <resources>
77                         <resource>
78                                 <filtering>true</filtering>
79                                 <directory>src/main/resources</directory>
80                         </resource>
81                 </resources>
82                 <plugins>
83                         <plugin>
84                                 <groupId>org.apache.maven.plugins</groupId>
85                                 <artifactId>maven-resources-plugin</artifactId>
86                                 <executions>
87                                         <execution>
88                                                 <id>filter</id>
89                                                 <goals>
90                                                         <goal>resources</goal>
91                                                 </goals>
92                                                 <phase>generate-resources</phase>
93                                         </execution>
94                                 </executions>
95                         </plugin>
96                         <plugin>
97                                 <groupId>org.codehaus.mojo</groupId>
98                                 <artifactId>build-helper-maven-plugin</artifactId>
99                                 <executions>
100                                         <execution>
101                                                 <id>attach-artifacts</id>
102                                                 <goals>
103                                                         <goal>attach-artifact</goal>
104                                                 </goals>
105                                                 <phase>package</phase>
106                                                 <configuration>
107                                                         <artifacts>
108                                                                 <artifact>
109                                                                         <file>${project.build.directory}/classes/${features.file}</file>
110                                                                         <type>xml</type>
111                                                                         <classifier>features</classifier>
112                                                                 </artifact>
113                                                         </artifacts>
114                                                 </configuration>
115                                         </execution>
116                                 </executions>
117                         </plugin>
118                 </plugins>
119         </build>
120 </project>