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-license-manager</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0-SNAPSHOT</version>
9 <name>appc-license-manager-features</name>
10 <artifactId>appc-license-manager-features</artifactId>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-license-manager-api</artifactId>
18 <version>${project.version}</version>
21 <groupId>org.openecomp.appc</groupId>
22 <artifactId>appc-license-manager-core</artifactId>
23 <version>${project.version}</version>
30 <filtering>true</filtering>
31 <directory>src/main/resources</directory>
36 <groupId>org.apache.maven.plugins</groupId>
37 <artifactId>maven-resources-plugin</artifactId>
42 <goal>resources</goal>
44 <phase>generate-resources</phase>
49 <!-- launches the feature test, which validates that your karaf feature
50 can be installed inside of a karaf container. It doesn't validate that your
51 functionality works correctly, just that you have all of the dependent bundles
52 defined correctly. -->
53 <!-- <groupId>org.apache.maven.plugins</groupId> -->
54 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
55 <!-- <version>2.16</version> -->
56 <!-- <configuration> -->
57 <!-- <systemPropertyVariables> -->
58 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
59 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
60 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
61 <!-- </systemPropertyVariables> -->
62 <!-- <dependenciesToScan> -->
63 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
64 <!-- </dependenciesToScan> -->
65 <!-- <classpathDependencyExcludes> -->
66 <!-- The dependencies which bring in AbstractDataBrokerTest class brings
67 in a second PaxExam container which results in the feature tests failing
68 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
69 TestContainer ..." This excludes the container we don't want to use. -->
70 <!-- <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> -->
71 <!-- </classpathDependencyExcludes> -->
72 <!-- </configuration> -->
75 <groupId>org.codehaus.mojo</groupId>
76 <artifactId>build-helper-maven-plugin</artifactId>
79 <id>attach-artifacts</id>
81 <goal>attach-artifact</goal>
83 <phase>package</phase>
87 <file>${project.build.directory}/classes/${features.file}</file>
89 <classifier>features</classifier>
97 <!-- Skipping ODL feature test -->
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-surefire-plugin</artifactId>
102 <skipTests>true</skipTests>