Skip Wonnell | 86011b9 | 2017-08-15 17:05:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 8c4b89b | 2018-01-12 09:24:03 -0600 | [diff] [blame^] | 2 | <!-- |
| 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 Wonnell | 86011b9 | 2017-08-15 17:05:27 -0500 | [diff] [blame] | 23 | <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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <artifactId>appc-config-data-services</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 27 | <groupId>org.onap.appc</groupId> |
Jessica Wagantall | 6536799 | 2017-11-16 17:22:13 -0800 | [diff] [blame] | 28 | <version>1.3.0-SNAPSHOT</version> |
Skip Wonnell | 86011b9 | 2017-08-15 17:05:27 -0500 | [diff] [blame] | 29 | </parent> |
| 30 | <artifactId>appc-config-data-services-features</artifactId> |
| 31 | <name>APPC Data Services Plugin - Features</name> |
| 32 | |
| 33 | <packaging>jar</packaging> |
| 34 | |
| 35 | <dependencies> |
| 36 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 37 | <groupId>org.onap.appc</groupId> |
Skip Wonnell | 86011b9 | 2017-08-15 17:05:27 -0500 | [diff] [blame] | 38 | <artifactId>appc-config-data-services-provider</artifactId> |
| 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | |
| 42 | <dependency> |
| 43 | <groupId>commons-lang</groupId> |
| 44 | <artifactId>commons-lang</artifactId> |
| 45 | <version>2.6</version> |
| 46 | <scope>compile</scope> |
| 47 | </dependency> |
| 48 | |
| 49 | <dependency> |
| 50 | <groupId>org.opendaylight.mdsal</groupId> |
| 51 | <artifactId>features-mdsal</artifactId> |
Skip Wonnell | 86011b9 | 2017-08-15 17:05:27 -0500 | [diff] [blame] | 52 | <classifier>features</classifier> |
| 53 | <type>xml</type> |
| 54 | |
| 55 | <scope>runtime</scope> |
| 56 | </dependency> |
| 57 | |
| 58 | |
| 59 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 60 | <dependency> |
| 61 | <groupId>org.opendaylight.controller</groupId> |
| 62 | <artifactId>opendaylight-karaf-empty</artifactId> |
| 63 | <version>${odl.karaf.empty.distro.version}</version> |
| 64 | <type>zip</type> |
| 65 | </dependency> |
| 66 | |
| 67 | |
| 68 | <dependency> |
| 69 | <!-- Required for launching the feature tests --> |
| 70 | <groupId>org.opendaylight.odlparent</groupId> |
| 71 | <artifactId>features-test</artifactId> |
| 72 | <version>${odl.commons.opendaylight.version}</version> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | |
| 76 | </dependencies> |
| 77 | |
| 78 | <build> |
| 79 | <resources> |
| 80 | <resource> |
| 81 | <filtering>true</filtering> |
| 82 | <directory>src/main/resources</directory> |
| 83 | </resource> |
| 84 | </resources> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-resources-plugin</artifactId> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>filter</id> |
| 92 | <goals> |
| 93 | <goal>resources</goal> |
| 94 | </goals> |
| 95 | <phase>generate-resources</phase> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
| 99 | <!-- launches the feature test, which validates that your karaf feature |
| 100 | can be installed inside of a karaf container. It doesn't validate that your |
| 101 | functionality works correctly, just that you have all of the dependent bundles |
| 102 | defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> |
| 103 | <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> |
| 104 | <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> |
| 105 | <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> |
| 106 | </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency> |
| 107 | </dependenciesToScan> </configuration> </plugin> --> |
| 108 | <plugin> |
| 109 | <groupId>org.codehaus.mojo</groupId> |
| 110 | <artifactId>build-helper-maven-plugin</artifactId> |
| 111 | <executions> |
| 112 | <execution> |
| 113 | <id>attach-artifacts</id> |
| 114 | <goals> |
| 115 | <goal>attach-artifact</goal> |
| 116 | </goals> |
| 117 | <phase>package</phase> |
| 118 | <configuration> |
| 119 | <artifacts> |
| 120 | <artifact> |
| 121 | <file>${project.build.directory}/classes/${features.file}</file> |
| 122 | <type>xml</type> |
| 123 | <classifier>features</classifier> |
| 124 | </artifact> |
| 125 | </artifacts> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | </plugins> |
| 131 | </build> |
| 132 | </project> |