blob: 4a58e90726cca0f7da5679584f1681e194616542 [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>
Patrick Brady57b5eef2017-02-10 15:00:49 -080022 <groupId>org.opendaylight.mdsal</groupId>
23 <artifactId>features-mdsal</artifactId>
24 <classifier>features</classifier>
25 <type>xml</type>
26 <scope>runtime</scope>
27 </dependency>
28
29 <!-- dependency for opendaylight-karaf-empty for use by testing -->
30 <dependency>
31 <groupId>org.opendaylight.controller</groupId>
32 <artifactId>opendaylight-karaf-empty</artifactId>
33 <type>zip</type>
34 </dependency>
35
Patrick Brady57b5eef2017-02-10 15:00:49 -080036 <dependency>
37 <groupId>org.opendaylight.yangtools</groupId>
38 <artifactId>features-yangtools</artifactId>
39 <classifier>features</classifier>
40 <type>xml</type>
41 <scope>runtime</scope>
42 </dependency>
43 </dependencies>
44
45 <build>
46 <resources>
47 <resource>
48 <filtering>true</filtering>
49 <directory>src/main/resources</directory>
50 </resource>
51 </resources>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-resources-plugin</artifactId>
56 <executions>
57 <execution>
58 <id>filter</id>
59 <goals>
60 <goal>resources</goal>
61 </goals>
62 <phase>generate-resources</phase>
63 </execution>
64 </executions>
65 </plugin>
66 <!-- launches the feature test, which validates that your karaf feature
67 can be installed inside of a karaf container. It doesn't validate that your
68 functionality works correctly, just that you have all of the dependent bundles
69 defined correctly. -->
70 <!-- <plugin> -->
71 <!-- <groupId>org.apache.maven.plugins</groupId> -->
72 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
73 <!-- <version>2.16</version> -->
74 <!-- <configuration> -->
75 <!-- <systemPropertyVariables> -->
76 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
77 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
78 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
79 <!-- </systemPropertyVariables> -->
80 <!-- <dependenciesToScan> -->
81 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
82 <!-- </dependenciesToScan> -->
83 <!-- </configuration> -->
84 <!-- </plugin> -->
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>build-helper-maven-plugin</artifactId>
88 <executions>
89 <execution>
90 <id>attach-artifacts</id>
91 <goals>
92 <goal>attach-artifact</goal>
93 </goals>
94 <phase>package</phase>
95 <configuration>
96 <artifacts>
97 <artifact>
98 <file>${project.build.directory}/classes/${features.file}</file>
99 <type>xml</type>
100 <classifier>features</classifier>
101 </artifact>
102 </artifacts>
103 </configuration>
104 </execution>
105 </executions>
106 </plugin>
107 </plugins>
108 </build>
109</project>