Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [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 | --> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [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-iaas-adapter</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 27 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 28 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 29 | </parent> |
| 30 | <artifactId>appc-iaas-adapter-features</artifactId> |
| 31 | <name>IaaS Adaptor - 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> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 38 | <artifactId>appc-iaas-adapter-bundle</artifactId> |
| 39 | <version>${project.version}</version> |
| 40 | </dependency> |
| 41 | |
| 42 | <dependency> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 43 | <groupId>org.opendaylight.mdsal</groupId> |
| 44 | <artifactId>features-mdsal</artifactId> |
| 45 | <classifier>features</classifier> |
| 46 | <type>xml</type> |
| 47 | <scope>runtime</scope> |
| 48 | </dependency> |
| 49 | |
| 50 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 51 | <dependency> |
| 52 | <groupId>org.opendaylight.controller</groupId> |
| 53 | <artifactId>opendaylight-karaf-empty</artifactId> |
| 54 | <type>zip</type> |
| 55 | </dependency> |
| 56 | |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 57 | <dependency> |
| 58 | <groupId>org.opendaylight.yangtools</groupId> |
| 59 | <artifactId>features-yangtools</artifactId> |
| 60 | <classifier>features</classifier> |
| 61 | <type>xml</type> |
| 62 | <scope>runtime</scope> |
| 63 | </dependency> |
| 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. --> |
| 91 | <!-- <plugin> --> |
| 92 | <!-- <groupId>org.apache.maven.plugins</groupId> --> |
| 93 | <!-- <artifactId>maven-surefire-plugin</artifactId> --> |
| 94 | <!-- <version>2.16</version> --> |
| 95 | <!-- <configuration> --> |
| 96 | <!-- <systemPropertyVariables> --> |
| 97 | <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> --> |
| 98 | <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> --> |
| 99 | <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> --> |
| 100 | <!-- </systemPropertyVariables> --> |
| 101 | <!-- <dependenciesToScan> --> |
| 102 | <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> --> |
| 103 | <!-- </dependenciesToScan> --> |
| 104 | <!-- </configuration> --> |
| 105 | <!-- </plugin> --> |
| 106 | <plugin> |
| 107 | <groupId>org.codehaus.mojo</groupId> |
| 108 | <artifactId>build-helper-maven-plugin</artifactId> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <id>attach-artifacts</id> |
| 112 | <goals> |
| 113 | <goal>attach-artifact</goal> |
| 114 | </goals> |
| 115 | <phase>package</phase> |
| 116 | <configuration> |
| 117 | <artifacts> |
| 118 | <artifact> |
| 119 | <file>${project.build.directory}/classes/${features.file}</file> |
| 120 | <type>xml</type> |
| 121 | <classifier>features</classifier> |
| 122 | </artifact> |
| 123 | </artifacts> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | </plugins> |
| 129 | </build> |
| 130 | </project> |