First part of onap rename
[appc.git] / appc-config / appc-config-adaptor / features / 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
5     <parent>
6         <groupId>org.onap.appc</groupId>
7         <artifactId>appc-config-adaptor</artifactId>
8         <version>1.3.0-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>appc-config-adaptor-features</artifactId>
12     <name>Config Component Adaptor - Features</name>
13
14     <packaging>jar</packaging>
15
16     <dependencies>
17         <dependency>
18             <groupId>org.onap.appc</groupId>
19             <artifactId>appc-config-adaptor-provider</artifactId>
20             <version>${project.version}</version>
21         </dependency>
22
23         <dependency>
24             <!-- <groupId>org.opendaylight.controller</groupId>  -->
25             <groupId>org.opendaylight.mdsal</groupId>
26             <artifactId>features-mdsal</artifactId>
27             <classifier>features</classifier>
28             <type>xml</type>
29
30             <scope>runtime</scope>
31         </dependency>
32
33         <!-- dependency for opendaylight-karaf-empty for use by testing -->
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>opendaylight-karaf-empty</artifactId>
37             <version>${odl.karaf.empty.distro.version}</version>
38             <type>zip</type>
39         </dependency>
40
41         <dependency>
42             <!-- Required for launching the feature tests -->
43             <!-- <groupId>org.opendaylight.yangtools</groupId>  -->
44             <groupId>org.opendaylight.odlparent</groupId>
45             <artifactId>features-test</artifactId>
46             <!-- <version>${odl.yangtools.version}</version>    -->
47             <version>${odl.commons.opendaylight.version}</version>
48             <scope>test</scope>
49         </dependency>
50
51     </dependencies>
52
53     <build>
54         <resources>
55             <resource>
56                 <filtering>true</filtering>
57                 <directory>src/main/resources</directory>
58             </resource>
59         </resources>
60         <plugins>
61             <plugin>
62                 <groupId>org.apache.maven.plugins</groupId>
63                 <artifactId>maven-resources-plugin</artifactId>
64                 <executions>
65                     <execution>
66                         <id>filter</id>
67                         <goals>
68                             <goal>resources</goal>
69                         </goals>
70                         <phase>generate-resources</phase>
71                     </execution>
72                 </executions>
73             </plugin>
74
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>build-helper-maven-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <id>attach-artifacts</id>
81                         <goals>
82                             <goal>attach-artifact</goal>
83                         </goals>
84                         <phase>package</phase>
85                         <configuration>
86                             <artifacts>
87                                 <artifact>
88                                     <file>${project.build.directory}/classes/${features.file}</file>
89                                     <type>xml</type>
90                                     <classifier>features</classifier>
91                                 </artifact>
92                             </artifacts>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97         </plugins>
98     </build>
99 </project>