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-oam</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.2.0-SNAPSHOT</version>
9 <name>appc-oam-features</name>
10 <artifactId>appc-oam-features</artifactId>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-oam-model</artifactId>
18 <version>${project.version}</version>
22 <groupId>org.openecomp.appc</groupId>
23 <artifactId>appc-oam-bundle</artifactId>
24 <classifier>config</classifier>
26 <version>${project.version}</version>
30 <groupId>org.openecomp.appc</groupId>
31 <artifactId>appc-oam-bundle</artifactId>
32 <version>${project.version}</version>
36 <groupId>org.opendaylight.mdsal</groupId>
37 <artifactId>features-mdsal</artifactId>
38 <classifier>features</classifier>
41 <scope>runtime</scope>
45 <groupId>org.opendaylight.yangtools</groupId>
46 <artifactId>features-yangtools</artifactId>
47 <classifier>features</classifier>
49 <scope>runtime</scope>
56 <filtering>true</filtering>
57 <directory>src/main/resources</directory>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-resources-plugin</artifactId>
68 <goal>resources</goal>
70 <phase>generate-resources</phase>
75 <!-- launches the feature test, which validates that your karaf feature
76 can be installed inside of a karaf container. It doesn't validate that your
77 functionality works correctly, just that you have all of the dependent bundles
78 defined correctly. -->
79 <!-- Skipping ODL feature test -->
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-surefire-plugin</artifactId>
83 <systemPropertyVariables>
84 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
85 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
86 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
87 </systemPropertyVariables>
89 <dependency>org.opendaylight.yangtools:features-test</dependency>
91 <classpathDependencyExcludes>
92 <!-- The dependencies which bring in AbstractDataBrokerTest class
93 brings in a second PaxExam container which results in the feature tests failing
94 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
95 TestContainer ..." This excludes the container we don't want to use. -->
96 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
97 </classpathDependencyExcludes>
98 <skipTests>true</skipTests>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>build-helper-maven-plugin</artifactId>
106 <id>attach-artifacts</id>
108 <goal>attach-artifact</goal>
110 <phase>package</phase>
114 <file>${project.build.directory}/classes/${features.file}</file>
116 <classifier>features</classifier>