First part of onap rename
[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.onap.appc</groupId>
7         <artifactId>appc-config-encryption-tool</artifactId>
8         <version>1.3.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.onap.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             <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             <version>${odl.karaf.empty.distro.version}</version>
37             <type>zip</type>
38         </dependency>
39         <dependency>
40             <!-- Required for launching the feature tests -->
41             <groupId>org.opendaylight.odlparent</groupId>
42             <artifactId>features-test</artifactId>
43             <version>${odl.commons.opendaylight.version}</version>
44             <scope>test</scope>
45         </dependency>
46     </dependencies>
47
48     <build>
49         <resources>
50             <resource>
51                 <filtering>true</filtering>
52                 <directory>src/main/resources</directory>
53             </resource>
54         </resources>
55         <plugins>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-resources-plugin</artifactId>
59                 <executions>
60                     <execution>
61                         <id>filter</id>
62                         <goals>
63                             <goal>resources</goal>
64                         </goals>
65                         <phase>generate-resources</phase>
66                     </execution>
67                 </executions>
68             </plugin>
69             <plugin>
70                 <groupId>org.codehaus.mojo</groupId>
71                 <artifactId>build-helper-maven-plugin</artifactId>
72                 <executions>
73                     <execution>
74                         <id>attach-artifacts</id>
75                         <goals>
76                             <goal>attach-artifact</goal>
77                         </goals>
78                         <phase>package</phase>
79                         <configuration>
80                             <artifacts>
81                                 <artifact>
82                                     <file>${project.build.directory}/classes/${features.file}</file>
83                                     <type>xml</type>
84                                     <classifier>features</classifier>
85                                 </artifact>
86                             </artifacts>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91         </plugins>
92     </build>
93 </project>