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" 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>
5 <artifactId>appc-lifecycle-management</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
9 <name>appc-lifecycle-management-features</name>
10 <artifactId>appc-lifecycle-management-features</artifactId>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-lifecycle-management-api</artifactId>
18 <version>${project.version}</version>
22 <groupId>org.openecomp.appc</groupId>
23 <artifactId>appc-lifecycle-management-core</artifactId>
24 <version>${project.version}</version>
31 <filtering>true</filtering>
32 <directory>src/main/resources</directory>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-resources-plugin</artifactId>
43 <goal>resources</goal>
45 <phase>generate-resources</phase>
50 <!– 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. –>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-surefire-plugin</artifactId>
56 <version>2.16</version>
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>
64 <dependency>org.opendaylight.yangtools:features-test</dependency>
66 <classpathDependencyExcludes>
67 <!– 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. –>
71 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
72 </classpathDependencyExcludes>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>build-helper-maven-plugin</artifactId>
80 <id>attach-artifacts</id>
82 <goal>attach-artifact</goal>
84 <phase>package</phase>
88 <file>${project.build.directory}/classes/${features.file}</file>
90 <classifier>features</classifier>
98 <!-- Skipping ODL feature test -->
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-surefire-plugin</artifactId>
103 <skipTests>true</skipTests>