blob: afcdd33552307afc73855ca950fcbd60f1735c3a [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=========================================================
Skip Wonnell8c4b89b2018-01-12 09:24:03 -060021 -->
Skip Wonnelldbf27a42017-08-15 18:07:13 -050022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
Patrick Brady07567592017-12-13 11:09:30 -080026 <groupId>org.onap.appc</groupId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050027 <artifactId>appc-config-generator</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -080028 <version>1.3.0-SNAPSHOT</version>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050029 </parent>
30 <artifactId>appc-config-generator-features</artifactId>
31 <name>Config Generator Plugin - Features</name>
32
33 <packaging>jar</packaging>
34
35 <dependencies>
36
37
38 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080039 <groupId>org.onap.appc</groupId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050040 <artifactId>appc-config-generator-provider</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43
44 <dependency>
45 <groupId>commons-lang</groupId>
46 <artifactId>commons-lang</artifactId>
47 <version>2.6</version>
48 <scope>compile</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>org.opendaylight.mdsal</groupId>
53 <artifactId>features-mdsal</artifactId>
Skip Wonnelldbf27a42017-08-15 18:07:13 -050054 <classifier>features</classifier>
55 <type>xml</type>
56
57 <scope>runtime</scope>
58 </dependency>
59
60
Skip Wonnelldbf27a42017-08-15 18:07:13 -050061
62
Skip Wonnelldbf27a42017-08-15 18:07:13 -050063
64 </dependencies>
65
66 <build>
67 <resources>
68 <resource>
69 <filtering>true</filtering>
70 <directory>src/main/resources</directory>
71 </resource>
72 </resources>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-resources-plugin</artifactId>
77 <executions>
78 <execution>
79 <id>filter</id>
80 <goals>
81 <goal>resources</goal>
82 </goals>
83 <phase>generate-resources</phase>
84 </execution>
85 </executions>
86 </plugin>
87 <!-- launches the feature test, which validates that your karaf feature
88 can be installed inside of a karaf container. It doesn't validate that your
89 functionality works correctly, just that you have all of the dependent bundles
90 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
91 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
92 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
93 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
94 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
95 </dependenciesToScan> </configuration> </plugin> -->
96 <plugin>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>build-helper-maven-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>attach-artifacts</id>
102 <goals>
103 <goal>attach-artifact</goal>
104 </goals>
105 <phase>package</phase>
106 <configuration>
107 <artifacts>
108 <artifact>
109 <file>${project.build.directory}/classes/${features.file}</file>
110 <type>xml</type>
111 <classifier>features</classifier>
112 </artifact>
113 </artifacts>
114 </configuration>
115 </execution>
116 </executions>
117 </plugin>
118 </plugins>
119 </build>
120</project>