Changing to Amsterdam release version
[appc.git] / appc-outbound / appc-aai-client / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" 
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7                 <artifactId>appc-aai-client</artifactId>
8                 <groupId>org.openecomp.appc</groupId>
9                 <version>1.2.0-SNAPSHOT</version>
10         </parent>
11         <artifactId>appc-aai-client-features</artifactId>
12         <name>APPC AAI Client Plugin - Features</name>
13         <packaging>jar</packaging>
14
15         <dependencies>
16                 <dependency>
17                         <groupId>org.openecomp.appc</groupId>
18                         <artifactId>appc-aai-client-provider</artifactId>
19                         <version>${project.version}</version>
20                 </dependency>
21
22                 <dependency>
23                         <groupId>commons-lang</groupId>
24                         <artifactId>commons-lang</artifactId>
25                         <scope>compile</scope>
26                 </dependency>
27
28                 <dependency>
29                         <groupId>org.opendaylight.mdsal</groupId>
30                         <artifactId>features-mdsal</artifactId>
31                         <classifier>features</classifier>
32                         <type>xml</type>
33
34                         <scope>runtime</scope>
35                 </dependency>
36
37
38                 <!-- dependency for opendaylight-karaf-empty for use by testing -->
39                 <dependency>
40                         <groupId>org.opendaylight.controller</groupId>
41                         <artifactId>opendaylight-karaf-empty</artifactId>
42                         <type>zip</type>
43                 </dependency>
44
45
46                 <dependency>
47                         <!-- Required for launching the feature tests -->
48                         <groupId>org.opendaylight.odlparent</groupId>
49                         <artifactId>features-test</artifactId>
50                         <version>${odl.commons.opendaylight.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53
54         </dependencies>
55
56         <build>
57                 <resources>
58                         <resource>
59                                 <filtering>true</filtering>
60                                 <directory>src/main/resources</directory>
61                         </resource>
62                 </resources>
63                 <plugins>
64                         <plugin>
65                                 <groupId>org.apache.maven.plugins</groupId>
66                                 <artifactId>maven-resources-plugin</artifactId>
67                                 <executions>
68                                         <execution>
69                                                 <id>filter</id>
70                                                 <goals>
71                                                         <goal>resources</goal>
72                                                 </goals>
73                                                 <phase>generate-resources</phase>
74                                         </execution>
75                                 </executions>
76                         </plugin>
77                         <!-- launches the feature test, which validates that your karaf feature 
78                                 can be installed inside of a karaf container. It doesn't validate that your 
79                                 functionality works correctly, just that you have all of the dependent bundles 
80                                 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> 
81                                 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> 
82                                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> 
83                                 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> 
84                                 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency> 
85                                 </dependenciesToScan> </configuration> </plugin> -->
86                         <plugin>
87                                 <groupId>org.codehaus.mojo</groupId>
88                                 <artifactId>build-helper-maven-plugin</artifactId>
89                                 <executions>
90                                         <execution>
91                                                 <id>attach-artifacts</id>
92                                                 <goals>
93                                                         <goal>attach-artifact</goal>
94                                                 </goals>
95                                                 <phase>package</phase>
96                                                 <configuration>
97                                                         <artifacts>
98                                                                 <artifact>
99                                                                         <file>${project.build.directory}/classes/${features.file}</file>
100                                                                         <type>xml</type>
101                                                                         <classifier>features</classifier>
102                                                                 </artifact>
103                                                         </artifacts>
104                                                 </configuration>
105                                         </execution>
106                                 </executions>
107                         </plugin>
108                 </plugins>
109         </build>
110 </project>