50c3b4cb9ff89f2cb07ab8188597e55c23292f15
[appc.git] / appc-sdc-listener / appc-sdc-listener-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 ================================================================================
8 Copyright (C) 2017 Amdocs
9 =============================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14       http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
22 ============LICENSE_END=========================================================
23 -->
24 <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">
25         <modelVersion>4.0.0</modelVersion>
26         <parent>
27                 <artifactId>appc-sdc-listener</artifactId>
28                 <groupId>org.onap.appc</groupId>
29                 <version>1.4.0-SNAPSHOT</version>
30         </parent>
31         <artifactId>appc-sdc-listener-features</artifactId>
32         <name>Event Listener - Features</name>
33
34         <packaging>jar</packaging>
35
36         <dependencies>
37                 <dependency>
38                         <groupId>org.onap.appc</groupId>
39                         <artifactId>appc-sdc-listener-bundle</artifactId>
40                         <version>${project.version}</version>
41                 </dependency>
42
43                 <dependency>
44                         <groupId>commons-lang</groupId>
45                         <artifactId>commons-lang</artifactId>
46                         <scope>compile</scope>
47                 </dependency>
48
49                 <dependency>
50                         <groupId>org.opendaylight.mdsal</groupId>
51                         <artifactId>features-mdsal</artifactId>
52                         <classifier>features</classifier>
53                         <type>xml</type>
54                         <scope>runtime</scope>
55                 </dependency>
56
57                 <dependency>
58                         <groupId>org.opendaylight.yangtools</groupId>
59                         <artifactId>features-yangtools</artifactId>
60                         <classifier>features</classifier>
61                         <type>xml</type>
62                         <scope>runtime</scope>
63                 </dependency>
64         </dependencies>
65
66         <build>
67                 <resources>
68                         <resource>
69                                 <filtering>true</filtering>
70                                 <directory>src/main/resources</directory>
71                         </resource>
72                 </resources>
73                 <plugins>
74                         <plugin>
75                                 <groupId>org.apache.maven.plugins</groupId>
76                                 <artifactId>maven-resources-plugin</artifactId>
77                                 <executions>
78                                         <execution>
79                                                 <id>filter</id>
80                                                 <goals>
81                                                         <goal>resources</goal>
82                                                 </goals>
83                                                 <phase>generate-resources</phase>
84                                         </execution>
85                                 </executions>
86                         </plugin>
87                         <plugin>
88                                 <groupId>org.codehaus.mojo</groupId>
89                                 <artifactId>build-helper-maven-plugin</artifactId>
90                                 <executions>
91                                         <execution>
92                                                 <id>attach-artifacts</id>
93                                                 <goals>
94                                                         <goal>attach-artifact</goal>
95                                                 </goals>
96                                                 <phase>package</phase>
97                                                 <configuration>
98                                                         <artifacts>
99                                                                 <artifact>
100                                                                         <file>${project.build.directory}/classes/${features.file}</file>
101                                                                         <type>xml</type>
102                                                                         <classifier>features</classifier>
103                                                                 </artifact>
104                                                         </artifacts>
105                                                 </configuration>
106                                         </execution>
107                                 </executions>
108                         </plugin>
109                 </plugins>
110         </build>
111 </project>