Appc Interface Services
[appc.git] / appc-inbound / appc-interfaces-service / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <artifactId>appc-interfaces-service</artifactId>
7         <groupId>org.onap.appc</groupId>
8         <version>1.3.0-SNAPSHOT</version>
9     </parent>
10     <artifactId>appc-interfaces-service-features</artifactId>
11     <name>APPC Interfaces Service - Feature</name>
12     <packaging>jar</packaging>
13     
14     <dependencies>
15         <dependency>
16             <groupId>org.onap.appc</groupId>
17             <artifactId>appc-interfaces-service-model</artifactId>
18         </dependency>
19         <dependency>
20             <groupId>org.onap.appc</groupId>
21             <artifactId>appc-interfaces-service-bundle</artifactId>
22         </dependency>
23         <!-- dependency for opendaylight-karaf-empty for use by testing -->
24         <dependency>
25             <groupId>org.opendaylight.controller</groupId>
26             <artifactId>opendaylight-karaf-empty</artifactId>
27             <type>zip</type>
28         </dependency>
29         <dependency>
30             <!-- Required for launching the feature tests -->
31             <groupId>org.opendaylight.odlparent</groupId>
32             <artifactId>features-test</artifactId>
33             <scope>test</scope>
34             <version>${odl.commons.opendaylight.version}</version>
35         </dependency>
36     </dependencies>
37
38     <build>
39         <resources>
40             <resource>
41                 <filtering>true</filtering>
42                 <directory>src/main/resources</directory>
43             </resource>
44         </resources>
45         <plugins>
46             <plugin>
47                 <groupId>org.apache.maven.plugins</groupId>
48                 <artifactId>maven-resources-plugin</artifactId>
49                 <executions>
50                     <execution>
51                         <id>filter</id>
52                         <goals>
53                             <goal>resources</goal>
54                         </goals>
55                         <phase>generate-resources</phase>
56                     </execution>
57                 </executions>
58             </plugin>
59             <plugin>
60                 <groupId>org.codehaus.mojo</groupId>
61                 <artifactId>build-helper-maven-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>attach-artifacts</id>
65                         <goals>
66                             <goal>attach-artifact</goal>
67                         </goals>
68                         <phase>package</phase>
69                         <configuration>
70                             <artifacts>
71                                 <artifact>
72                                     <file>${project.build.directory}/classes/${features.file}</file>
73                                     <type>xml</type>
74                                     <classifier>features</classifier>
75                                 </artifact>
76                             </artifacts>
77                         </configuration>
78                     </execution>
79                 </executions>
80             </plugin>
81         </plugins>
82     </build>
83 </project>