blob: aef1e03f6ef4671e984496d544509ff6dcc1578e [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>appc-iaas-adapter</artifactId>
6 <groupId>org.openecomp.appc</groupId>
Patrick Brady03682da2017-03-10 13:07:19 -08007 <version>1.1.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -08008 </parent>
9 <artifactId>appc-iaas-adapter-features</artifactId>
10 <name>IaaS Adaptor - Features</name>
11
12 <packaging>jar</packaging>
13
14 <dependencies>
15 <dependency>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-iaas-adapter-bundle</artifactId>
18 <version>${project.version}</version>
19 </dependency>
20
21 <dependency>
22 <groupId>commons-lang</groupId>
23 <artifactId>commons-lang</artifactId>
24 <scope>compile</scope>
25 </dependency>
26
27 <dependency>
28 <groupId>org.opendaylight.mdsal</groupId>
29 <artifactId>features-mdsal</artifactId>
30 <classifier>features</classifier>
31 <type>xml</type>
32 <scope>runtime</scope>
33 </dependency>
34
35 <!-- dependency for opendaylight-karaf-empty for use by testing -->
36 <dependency>
37 <groupId>org.opendaylight.controller</groupId>
38 <artifactId>opendaylight-karaf-empty</artifactId>
39 <type>zip</type>
40 </dependency>
41
42<!-- <dependency> -->
43<!-- Required for launching the feature tests -->
44<!-- <groupId>org.opendaylight.yangtools</groupId> -->
45<!-- <artifactId>features-test</artifactId> -->
46<!-- <scope>test</scope> -->
47<!-- </dependency> -->
48
49 <dependency>
50 <groupId>org.opendaylight.yangtools</groupId>
51 <artifactId>features-yangtools</artifactId>
52 <classifier>features</classifier>
53 <type>xml</type>
54 <scope>runtime</scope>
55 </dependency>
56 </dependencies>
57
58 <build>
59 <resources>
60 <resource>
61 <filtering>true</filtering>
62 <directory>src/main/resources</directory>
63 </resource>
64 </resources>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-resources-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>filter</id>
72 <goals>
73 <goal>resources</goal>
74 </goals>
75 <phase>generate-resources</phase>
76 </execution>
77 </executions>
78 </plugin>
79 <!-- launches the feature test, which validates that your karaf feature
80 can be installed inside of a karaf container. It doesn't validate that your
81 functionality works correctly, just that you have all of the dependent bundles
82 defined correctly. -->
83 <!-- <plugin> -->
84 <!-- <groupId>org.apache.maven.plugins</groupId> -->
85 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
86 <!-- <version>2.16</version> -->
87 <!-- <configuration> -->
88 <!-- <systemPropertyVariables> -->
89 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
90 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
91 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
92 <!-- </systemPropertyVariables> -->
93 <!-- <dependenciesToScan> -->
94 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
95 <!-- </dependenciesToScan> -->
96 <!-- </configuration> -->
97 <!-- </plugin> -->
98 <plugin>
99 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>build-helper-maven-plugin</artifactId>
101 <executions>
102 <execution>
103 <id>attach-artifacts</id>
104 <goals>
105 <goal>attach-artifact</goal>
106 </goals>
107 <phase>package</phase>
108 <configuration>
109 <artifacts>
110 <artifact>
111 <file>${project.build.directory}/classes/${features.file}</file>
112 <type>xml</type>
113 <classifier>features</classifier>
114 </artifact>
115 </artifacts>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120 </plugins>
121 </build>
122</project>