Initial commit for appc-config-adaptor
[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.openecomp.appc</groupId>
7         <artifactId>appc-config-adaptor</artifactId>
8         <version>1.1.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.openecomp.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             <version>${odl.mdsal.version}</version>
28             <classifier>features</classifier>
29             <type>xml</type>
30
31             <scope>runtime</scope>
32         </dependency>
33
34         <!-- dependency for opendaylight-karaf-empty for use by testing -->
35         <dependency>
36             <groupId>org.opendaylight.controller</groupId>
37             <artifactId>opendaylight-karaf-empty</artifactId>
38             <version>${odl.karaf.empty.distro.version}</version>
39             <type>zip</type>
40         </dependency>
41
42         <dependency>
43             <!-- Required for launching the feature tests -->
44             <!-- <groupId>org.opendaylight.yangtools</groupId>  -->
45             <groupId>org.opendaylight.odlparent</groupId>
46             <artifactId>features-test</artifactId>
47             <!-- <version>${odl.yangtools.version}</version>    -->
48             <version>${odl.commons.opendaylight.version}</version>
49             <scope>test</scope>
50         </dependency>
51
52     </dependencies>
53
54     <build>
55         <resources>
56             <resource>
57                 <filtering>true</filtering>
58                 <directory>src/main/resources</directory>
59             </resource>
60         </resources>
61         <plugins>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-resources-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>filter</id>
68                         <goals>
69                             <goal>resources</goal>
70                         </goals>
71                         <phase>generate-resources</phase>
72                     </execution>
73                 </executions>
74             </plugin>
75
76             <plugin>
77                 <groupId>org.codehaus.mojo</groupId>
78                 <artifactId>build-helper-maven-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>attach-artifacts</id>
82                         <goals>
83                             <goal>attach-artifact</goal>
84                         </goals>
85                         <phase>package</phase>
86                         <configuration>
87                             <artifacts>
88                                 <artifact>
89                                     <file>${project.build.directory}/classes/${features.file}</file>
90                                     <type>xml</type>
91                                     <classifier>features</classifier>
92                                 </artifact>
93                             </artifacts>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100 </project>