8c794c68953cb27df5228af0109c0ee4bf8f3be3
[appc.git] / appc-outbound / appc-network-inventory-client / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017 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   ECOMP is a trademark and service mark of AT&T Intellectual Property.
22   -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25         <modelVersion>4.0.0</modelVersion>
26         <parent>
27                 <groupId>org.onap.appc</groupId>
28                 <artifactId>appc-network-inventory-client</artifactId>
29                 <version>1.4.0-SNAPSHOT</version>
30         </parent>
31         <artifactId>appc-network-inventory-client-features</artifactId>
32         <name>APPC Network Inventory - Features</name>
33         <packaging>jar</packaging>
34
35         <dependencies>
36                 <dependency>
37                         <groupId>org.onap.appc</groupId>
38                         <artifactId>appc-network-inventory-client-provider</artifactId>
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                 <dependency>
55                         <groupId>org.opendaylight.yangtools</groupId>
56                         <artifactId>features-yangtools</artifactId>
57                         <classifier>features</classifier>
58                         <type>xml</type>
59                         <scope>runtime</scope>
60                 </dependency>
61
62
63                 <dependency>
64                         <groupId>com.sun.jersey</groupId>
65                         <artifactId>jersey-client</artifactId>
66                         </dependency>
67                 <dependency>
68                         <groupId>com.sun.jersey</groupId>
69                         <artifactId>jersey-core</artifactId>
70                         </dependency>
71
72         </dependencies>
73
74         <build>
75                 <resources>
76                         <resource>
77                                 <filtering>true</filtering>
78                                 <directory>src/main/resources</directory>
79                         </resource>
80                 </resources>
81                 <plugins>
82                         <plugin>
83                                 <groupId>org.apache.maven.plugins</groupId>
84                                 <artifactId>maven-resources-plugin</artifactId>
85                                 <executions>
86                                         <execution>
87                                                 <id>filter</id>
88                                                 <goals>
89                                                         <goal>resources</goal>
90                                                 </goals>
91                                                 <phase>generate-resources</phase>
92                                         </execution>
93                                 </executions>
94                         </plugin>
95                         <plugin>
96                                 <groupId>org.codehaus.mojo</groupId>
97                                 <artifactId>build-helper-maven-plugin</artifactId>
98                                 <executions>
99                                         <execution>
100                                                 <id>attach-artifacts</id>
101                                                 <goals>
102                                                         <goal>attach-artifact</goal>
103                                                 </goals>
104                                                 <phase>package</phase>
105                                                 <configuration>
106                                                         <artifacts>
107                                                                 <artifact>
108                                                                         <file>${project.build.directory}/classes/${features.file}</file>
109                                                                         <type>xml</type>
110                                                                         <classifier>features</classifier>
111                                                                 </artifact>
112                                                         </artifacts>
113                                                 </configuration>
114                                         </execution>
115                                 </executions>
116                         </plugin>
117                 </plugins>
118         </build>
119 </project>