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