blob: 8dfd5aab1614e35683c29c7fb4945ece333a63fd [file] [log] [blame]
Skip Wonnelldbf27a42017-08-15 18:07:13 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 Copyright (C) 2017 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 -->
Skip Wonnelldbf27a42017-08-15 18:07:13 -050023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <parent>
Patrick Brady07567592017-12-13 11:09:30 -080027 <groupId>org.onap.appc</groupId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050028 <artifactId>appc-config-generator</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -080029 <version>1.3.0-SNAPSHOT</version>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050030 </parent>
31 <artifactId>appc-config-generator-features</artifactId>
32 <name>Config Generator Plugin - Features</name>
33
34 <packaging>jar</packaging>
35
36 <dependencies>
37
38
39 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080040 <groupId>org.onap.appc</groupId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050041 <artifactId>appc-config-generator-provider</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>commons-lang</groupId>
47 <artifactId>commons-lang</artifactId>
48 <version>2.6</version>
49 <scope>compile</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.opendaylight.mdsal</groupId>
54 <artifactId>features-mdsal</artifactId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050055 <classifier>features</classifier>
56 <type>xml</type>
57
58 <scope>runtime</scope>
59 </dependency>
60
61
62 <!-- dependency for opendaylight-karaf-empty for use by testing -->
63 <dependency>
64 <groupId>org.opendaylight.controller</groupId>
65 <artifactId>opendaylight-karaf-empty</artifactId>
66 <version>${odl.karaf.empty.distro.version}</version>
67 <type>zip</type>
68 </dependency>
69
70
71 <dependency>
72 <!-- Required for launching the feature tests -->
73 <groupId>org.opendaylight.odlparent</groupId>
74 <artifactId>features-test</artifactId>
75 <version>${odl.commons.opendaylight.version}</version>
76 <scope>test</scope>
77 </dependency>
78
79 </dependencies>
80
81 <build>
82 <resources>
83 <resource>
84 <filtering>true</filtering>
85 <directory>src/main/resources</directory>
86 </resource>
87 </resources>
88 <plugins>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-resources-plugin</artifactId>
92 <executions>
93 <execution>
94 <id>filter</id>
95 <goals>
96 <goal>resources</goal>
97 </goals>
98 <phase>generate-resources</phase>
99 </execution>
100 </executions>
101 </plugin>
102 <!-- launches the feature test, which validates that your karaf feature
103 can be installed inside of a karaf container. It doesn't validate that your
104 functionality works correctly, just that you have all of the dependent bundles
105 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
106 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
107 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
108 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
109 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
110 </dependenciesToScan> </configuration> </plugin> -->
111 <plugin>
112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>build-helper-maven-plugin</artifactId>
114 <executions>
115 <execution>
116 <id>attach-artifacts</id>
117 <goals>
118 <goal>attach-artifact</goal>
119 </goals>
120 <phase>package</phase>
121 <configuration>
122 <artifacts>
123 <artifact>
124 <file>${project.build.directory}/classes/${features.file}</file>
125 <type>xml</type>
126 <classifier>features</classifier>
127 </artifact>
128 </artifacts>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 </plugins>
134 </build>
135</project>