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-event-listener</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
9 <artifactId>appc-event-listener-features</artifactId>
10 <name>Event Listener - Features</name>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-event-listener-bundle</artifactId>
18 <version>${project.version}</version>
22 <groupId>commons-lang</groupId>
23 <artifactId>commons-lang</artifactId>
24 <scope>compile</scope>
28 <groupId>org.opendaylight.mdsal</groupId>
29 <artifactId>features-mdsal</artifactId>
30 <classifier>features</classifier>
32 <scope>runtime</scope>
35 <!-- dependency for opendaylight-karaf-empty for use by testing -->
37 <!-- <groupId>org.opendaylight.controller</groupId> -->
38 <!-- <artifactId>opendaylight-karaf-empty</artifactId> -->
39 <!-- <type>zip</type> -->
40 <!-- </dependency> -->
43 <!-- Required for launching the feature tests -->
45 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
46 <!-- <artifactId>features-test</artifactId> -->
47 <!-- <scope>test</scope> -->
48 <!-- </dependency> -->
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>features-yangtools</artifactId>
53 <classifier>features</classifier>
55 <scope>runtime</scope>
62 <filtering>true</filtering>
63 <directory>src/main/resources</directory>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-resources-plugin</artifactId>
74 <goal>resources</goal>
76 <phase>generate-resources</phase>
80 <!-- launches the feature test, which validates that your karaf feature
81 can be installed inside of a karaf container. It doesn't validate that your
82 functionality works correctly, just that you have all of the dependent bundles
83 defined correctly. -->
85 <!-- <groupId>org.apache.maven.plugins</groupId> -->
86 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
87 <!-- <version>2.16</version> -->
88 <!-- <configuration> -->
89 <!-- <systemPropertyVariables> -->
90 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
91 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
92 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
93 <!-- </systemPropertyVariables> -->
94 <!-- <dependenciesToScan> -->
95 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
96 <!-- </dependenciesToScan> -->
97 <!-- </configuration> -->
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>build-helper-maven-plugin</artifactId>
104 <id>attach-artifacts</id>
106 <goal>attach-artifact</goal>
108 <phase>package</phase>
112 <file>${project.build.directory}/classes/${features.file}</file>
114 <classifier>features</classifier>