blob: 32511435d406b239b1d4568d7b7e588b329cc13e [file] [log] [blame]
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Patrick Brady10bba352017-07-19 12:09:28 -07004 ONAP : APPC
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -04005 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -04007 ================================================================================
Patrick Brady10bba352017-07-19 12:09:28 -07008 Copyright (C) 2017 Amdocs
9 =============================================================================
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -040010 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
Patrick Brady10bba352017-07-19 12:09:28 -070021
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -040022 ECOMP is a trademark and service mark of AT&T Intellectual Property.
Patrick Brady10bba352017-07-19 12:09:28 -070023 ============LICENSE_END=========================================================
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -040024 -->
25<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">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <artifactId>appc-ansible-adapter</artifactId>
29 <groupId>org.openecomp.appc</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -080030 <version>1.3.0-SNAPSHOT</version>
Ashwin Sridharan0414b3e2017-06-14 23:11:25 -040031 </parent>
32 <artifactId>appc-ansible-adapter-features</artifactId>
33 <name>Ansible Adaptor - Features</name>
34
35 <packaging>jar</packaging>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.openecomp.appc</groupId>
40 <artifactId>appc-ansible-adapter-bundle</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43
44 <dependency>
45 <groupId>commons-lang</groupId>
46 <artifactId>commons-lang</artifactId>
47 <scope>compile</scope>
48 </dependency>
49
50 <dependency>
51 <groupId>org.opendaylight.mdsal</groupId>
52 <artifactId>features-mdsal</artifactId>
53 <classifier>features</classifier>
54 <type>xml</type>
55 <scope>runtime</scope>
56 </dependency>
57
58 <!-- dependency for opendaylight-karaf-empty for use by testing -->
59 <dependency>
60 <groupId>org.opendaylight.controller</groupId>
61 <artifactId>opendaylight-karaf-empty</artifactId>
62 <type>zip</type>
63 </dependency>
64
65<!-- <dependency> -->
66<!-- Required for launching the feature tests -->
67<!-- <groupId>org.opendaylight.yangtools</groupId> -->
68<!-- <artifactId>features-test</artifactId> -->
69<!-- <scope>test</scope> -->
70<!-- </dependency> -->
71
72 <dependency>
73 <groupId>org.opendaylight.yangtools</groupId>
74 <artifactId>features-yangtools</artifactId>
75 <classifier>features</classifier>
76 <type>xml</type>
77 <scope>runtime</scope>
78 </dependency>
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. -->
106 <!-- <plugin> -->
107 <!-- <groupId>org.apache.maven.plugins</groupId> -->
108 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
109 <!-- <version>2.16</version> -->
110 <!-- <configuration> -->
111 <!-- <systemPropertyVariables> -->
112 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
113 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
114 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
115 <!-- </systemPropertyVariables> -->
116 <!-- <dependenciesToScan> -->
117 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
118 <!-- </dependenciesToScan> -->
119 <!-- </configuration> -->
120 <!-- </plugin> -->
121 <plugin>
122 <groupId>org.codehaus.mojo</groupId>
123 <artifactId>build-helper-maven-plugin</artifactId>
124 <executions>
125 <execution>
126 <id>attach-artifacts</id>
127 <goals>
128 <goal>attach-artifact</goal>
129 </goals>
130 <phase>package</phase>
131 <configuration>
132 <artifacts>
133 <artifact>
134 <file>${project.build.directory}/classes/${features.file}</file>
135 <type>xml</type>
136 <classifier>features</classifier>
137 </artifact>
138 </artifacts>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 </plugins>
144 </build>
145</project>