Initial commit for appc-encryption-tool bundle
[appc.git] / appc-config / appc-encryption-tool / 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         <groupId>org.openecomp.appc</groupId>
7         <artifactId>appc-config-encryption-tool</artifactId>
8         <version>1.1.0-SNAPSHOT</version>
9     </parent>
10     <artifactId>appc-config-encryption-tool-features</artifactId>
11     <name>APPC Encryption Tool Plugin - Features</name>
12     <packaging>jar</packaging>
13     <dependencies>
14         <dependency>
15             <groupId>org.openecomp.appc</groupId>
16             <artifactId>appc-config-encryption-tool-provider</artifactId>
17             <version>${project.version}</version>
18         </dependency>
19         <dependency>
20             <groupId>commons-lang</groupId>
21             <artifactId>commons-lang</artifactId>
22             <version>2.6</version>
23             <scope>compile</scope>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.mdsal</groupId>
27             <artifactId>features-mdsal</artifactId>
28             <version>${odl.mdsal.version}</version>
29             <classifier>features</classifier>
30             <type>xml</type>
31             <scope>runtime</scope>
32         </dependency>
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         <dependency>
41             <!-- Required for launching the feature tests -->
42             <groupId>org.opendaylight.odlparent</groupId>
43             <artifactId>features-test</artifactId>
44             <version>${odl.commons.opendaylight.version}</version>
45             <scope>test</scope>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <resources>
51             <resource>
52                 <filtering>true</filtering>
53                 <directory>src/main/resources</directory>
54             </resource>
55         </resources>
56         <plugins>
57             <plugin>
58                 <groupId>org.apache.maven.plugins</groupId>
59                 <artifactId>maven-resources-plugin</artifactId>
60                 <executions>
61                     <execution>
62                         <id>filter</id>
63                         <goals>
64                             <goal>resources</goal>
65                         </goals>
66                         <phase>generate-resources</phase>
67                     </execution>
68                 </executions>
69             </plugin>
70             <plugin>
71                 <groupId>org.codehaus.mojo</groupId>
72                 <artifactId>build-helper-maven-plugin</artifactId>
73                 <executions>
74                     <execution>
75                         <id>attach-artifacts</id>
76                         <goals>
77                             <goal>attach-artifact</goal>
78                         </goals>
79                         <phase>package</phase>
80                         <configuration>
81                             <artifacts>
82                                 <artifact>
83                                     <file>${project.build.directory}/classes/${features.file}</file>
84                                     <type>xml</type>
85                                     <classifier>features</classifier>
86                                 </artifact>
87                             </artifacts>
88                         </configuration>
89                     </execution>
90                 </executions>
91             </plugin>
92         </plugins>
93     </build>
94 </project>