blob: afd2581df72b95fabcd72b9a00da0bafe96798a6 [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-lifecycle-management</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 <name>appc-lifecycle-management-features</name>
10 <artifactId>appc-lifecycle-management-features</artifactId>
11
12 <packaging>jar</packaging>
13
14 <dependencies>
15 <dependency>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-lifecycle-management-api</artifactId>
18 <version>${project.version}</version>
19 </dependency>
20
21 <dependency>
22 <groupId>org.openecomp.appc</groupId>
23 <artifactId>appc-lifecycle-management-core</artifactId>
24 <version>${project.version}</version>
25 </dependency>
26 </dependencies>
27
28 <build>
29 <resources>
30 <resource>
31 <filtering>true</filtering>
32 <directory>src/main/resources</directory>
33 </resource>
34 </resources>
35 <plugins>
36 <plugin>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-resources-plugin</artifactId>
39 <executions>
40 <execution>
41 <id>filter</id>
42 <goals>
43 <goal>resources</goal>
44 </goals>
45 <phase>generate-resources</phase>
46 </execution>
47 </executions>
48 </plugin>
49 <!--<plugin>
50 &lt;!&ndash; launches the feature test, which validates that your karaf feature
51 can be installed inside of a karaf container. It doesn't validate that your
52 functionality works correctly, just that you have all of the dependent bundles
53 defined correctly. &ndash;&gt;
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-surefire-plugin</artifactId>
56 <version>2.16</version>
57 <configuration>
58 <systemPropertyVariables>
59 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
60 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
61 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
62 </systemPropertyVariables>
63 <dependenciesToScan>
64 <dependency>org.opendaylight.yangtools:features-test</dependency>
65 </dependenciesToScan>
66 <classpathDependencyExcludes>
67 &lt;!&ndash; The dependencies which bring in AbstractDataBrokerTest class
68 brings in a second PaxExam container which results in the feature tests failing
69 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
70 TestContainer ..." This excludes the container we don't want to use. &ndash;&gt;
71 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
72 </classpathDependencyExcludes>
73 </configuration>
74 </plugin>-->
75 <plugin>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>build-helper-maven-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>attach-artifacts</id>
81 <goals>
82 <goal>attach-artifact</goal>
83 </goals>
84 <phase>package</phase>
85 <configuration>
86 <artifacts>
87 <artifact>
88 <file>${project.build.directory}/classes/${features.file}</file>
89 <type>xml</type>
90 <classifier>features</classifier>
91 </artifact>
92 </artifacts>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97
98 <!-- Skipping ODL feature test -->
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-surefire-plugin</artifactId>
102 <configuration>
103 <skipTests>true</skipTests>
104 </configuration>
105 </plugin>
106 </plugins>
107 </build>
108</project>