Artifact Handler Updates
[appc.git] / appc-inbound / appc-artifact-handler / 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-artifact-handler</artifactId>
7                 <groupId>org.onap.appc</groupId>
8                 <version>1.3.0-SNAPSHOT</version>
9         </parent>
10         <artifactId>appc-artifact-handler-features</artifactId>
11         <name>APPC Artifact Handler - Feature</name>
12         <packaging>jar</packaging>
13
14         <dependencies>
15                 <dependency>
16                         <groupId>org.onap.appc</groupId>
17                         <artifactId>appc-artifact-handler-model</artifactId>
18                 </dependency>
19                 <dependency>
20                         <groupId>org.onap.appc</groupId>
21                         <artifactId>appc-artifact-handler-provider</artifactId>
22                         <classifier>config</classifier>
23                         <type>xml</type>
24                 </dependency>
25                 <dependency>
26                         <groupId>org.opendaylight.mdsal</groupId>
27                         <artifactId>features-mdsal</artifactId>
28                         <classifier>features</classifier>
29                         <type>xml</type>
30                         <scope>runtime</scope>
31                 </dependency>
32                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
33                 <dependency>
34                         <groupId>org.opendaylight.controller</groupId>
35                         <artifactId>opendaylight-karaf-empty</artifactId>
36                         <type>zip</type>
37                 </dependency>
38
39                 <dependency>
40                         <!-- Required for launching the feature tests -->
41                         <groupId>org.opendaylight.odlparent</groupId>
42                         <artifactId>features-test</artifactId>
43                         <scope>test</scope>
44                         <version>${odl.commons.opendaylight.version}</version>
45                 </dependency>
46                 <dependency>
47                         <groupId>org.opendaylight.yangtools</groupId>
48                         <artifactId>features-yangtools</artifactId>
49                         <classifier>features</classifier>
50                         <type>xml</type>
51                         <scope>runtime</scope>
52                 </dependency>
53         </dependencies>
54
55         <build>
56                 <resources>
57                         <resource>
58                                 <filtering>true</filtering>
59                                 <directory>src/main/resources</directory>
60                         </resource>
61                 </resources>
62                 <plugins>
63                         <plugin>
64                                 <groupId>org.apache.maven.plugins</groupId>
65                                 <artifactId>maven-resources-plugin</artifactId>
66                                 <executions>
67                                         <execution>
68                                                 <id>filter</id>
69                                                 <goals>
70                                                         <goal>resources</goal>
71                                                 </goals>
72                                                 <phase>generate-resources</phase>
73                                         </execution>
74                                 </executions>
75                         </plugin>
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>