blob: 1211be63052d020f0bd0f6818ef28ac1a40f9330 [file] [log] [blame]
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -04001<?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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
Patrick Brady07567592017-12-13 11:09:30 -08006 <groupId>org.onap.appc</groupId>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -04007 <artifactId>appc-config-params</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -08008 <version>1.3.0-SNAPSHOT</version>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -04009 </parent>
10 <artifactId>appc-config-params-features</artifactId>
11 <name>Config Params Plugin - Features</name>
12 <packaging>jar</packaging>
13
14 <dependencies>
15 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080016 <groupId>org.onap.appc</groupId>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -040017 <artifactId>appc-config-params-provider</artifactId>
18 <version>${project.version}</version>
19 </dependency>
20
21 <dependency>
22 <groupId>commons-lang</groupId>
23 <artifactId>commons-lang</artifactId>
24 <version>2.6</version>
25 <scope>compile</scope>
26 </dependency>
27
28 <dependency>
29 <groupId>org.opendaylight.mdsal</groupId>
30 <artifactId>features-mdsal</artifactId>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -040031 <classifier>features</classifier>
32 <type>xml</type>
33
34 <scope>runtime</scope>
35 </dependency>
36
37
38 <!-- dependency for opendaylight-karaf-empty for use by testing -->
39 <dependency>
40 <groupId>org.opendaylight.controller</groupId>
41 <artifactId>opendaylight-karaf-empty</artifactId>
42 <version>${odl.karaf.empty.distro.version}</version>
43 <type>zip</type>
44 </dependency>
45
46
47 <dependency>
48 <!-- Required for launching the feature tests -->
49 <groupId>org.opendaylight.odlparent</groupId>
50 <artifactId>features-test</artifactId>
51 <version>${odl.commons.opendaylight.version}</version>
52 <scope>test</scope>
53 </dependency>
54
55 </dependencies>
56
57 <build>
58 <resources>
59 <resource>
60 <filtering>true</filtering>
61 <directory>src/main/resources</directory>
62 </resource>
63 </resources>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-resources-plugin</artifactId>
68 <executions>
69 <execution>
70 <id>filter</id>
71 <goals>
72 <goal>resources</goal>
73 </goals>
74 <phase>generate-resources</phase>
75 </execution>
76 </executions>
77 </plugin>
78 <!-- launches the feature test, which validates that your karaf feature
79 can be installed inside of a karaf container. It doesn't validate that your
80 functionality works correctly, just that you have all of the dependent bundles
81 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
82 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
83 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
84 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
85 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
86 </dependenciesToScan> </configuration> </plugin> -->
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>build-helper-maven-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>attach-artifacts</id>
93 <goals>
94 <goal>attach-artifact</goal>
95 </goals>
96 <phase>package</phase>
97 <configuration>
98 <artifacts>
99 <artifact>
100 <file>${project.build.directory}/classes/${features.file}</file>
101 <type>xml</type>
102 <classifier>features</classifier>
103 </artifact>
104 </artifacts>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 </plugins>
110 </build>
111</project>