Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
John McClung | fb3eec2 | 2018-06-14 10:17:19 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 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 Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 21 | --> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 22 | <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"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <artifactId>appc-provider</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 26 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 27 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 28 | </parent> |
| 29 | <name>appc-provider-features</name> |
| 30 | <artifactId>appc-provider-features</artifactId> |
| 31 | |
| 32 | <packaging>jar</packaging> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 36 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 37 | <artifactId>appc-provider-model</artifactId> |
| 38 | <version>${project.version}</version> |
| 39 | </dependency> |
| 40 | |
| 41 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 42 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 43 | <artifactId>appc-provider-bundle</artifactId> |
| 44 | <classifier>config</classifier> |
| 45 | <type>xml</type> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
| 48 | |
| 49 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 50 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 51 | <artifactId>appc-provider-bundle</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | </dependency> |
| 54 | |
| 55 | <dependency> |
| 56 | <groupId>org.opendaylight.mdsal</groupId> |
| 57 | <artifactId>features-mdsal</artifactId> |
| 58 | <classifier>features</classifier> |
| 59 | <type>xml</type> |
| 60 | |
| 61 | <scope>runtime</scope> |
| 62 | </dependency> |
| 63 | |
| 64 | |
| 65 | |
| 66 | <!-- dependency for opendaylight-karaf-empty for use by testing --> |
| 67 | <!-- <dependency> --> |
| 68 | <!-- <groupId>org.opendaylight.controller</groupId> --> |
| 69 | <!-- <artifactId>opendaylight-karaf-empty</artifactId> --> |
| 70 | <!-- <type>zip</type> --> |
| 71 | <!-- </dependency> --> |
| 72 | |
| 73 | |
| 74 | <!-- <dependency> --> |
| 75 | <!-- Required for launching the feature tests --> |
| 76 | <!-- <groupId>org.opendaylight.yangtools</groupId> --> |
| 77 | <!-- <artifactId>features-test</artifactId> --> |
| 78 | <!-- <scope>test</scope> --> |
| 79 | <!-- </dependency> --> |
| 80 | |
| 81 | <dependency> |
| 82 | <groupId>org.opendaylight.yangtools</groupId> |
| 83 | <artifactId>features-yangtools</artifactId> |
| 84 | <classifier>features</classifier> |
| 85 | <type>xml</type> |
| 86 | <scope>runtime</scope> |
| 87 | </dependency> |
| 88 | </dependencies> |
| 89 | |
| 90 | <build> |
| 91 | <resources> |
| 92 | <resource> |
| 93 | <filtering>true</filtering> |
| 94 | <directory>src/main/resources</directory> |
| 95 | </resource> |
| 96 | </resources> |
| 97 | <plugins> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-resources-plugin</artifactId> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>filter</id> |
| 104 | <goals> |
| 105 | <goal>resources</goal> |
| 106 | </goals> |
| 107 | <phase>generate-resources</phase> |
| 108 | </execution> |
| 109 | </executions> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <!-- launches the feature test, which validates that your karaf feature |
| 113 | can be installed inside of a karaf container. It doesn't validate that your |
| 114 | functionality works correctly, just that you have all of the dependent bundles |
| 115 | defined correctly. --> |
| 116 | <!-- Skipping ODL feature test --> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-surefire-plugin</artifactId> |
| 119 | <configuration> |
| 120 | <systemPropertyVariables> |
| 121 | <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> |
| 122 | <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> |
| 123 | <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> |
| 124 | </systemPropertyVariables> |
| 125 | <dependenciesToScan> |
| 126 | <dependency>org.opendaylight.yangtools:features-test</dependency> |
| 127 | </dependenciesToScan> |
| 128 | <classpathDependencyExcludes> |
| 129 | <!-- The dependencies which bring in AbstractDataBrokerTest class |
| 130 | brings in a second PaxExam container which results in the feature tests failing |
| 131 | with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous |
| 132 | TestContainer ..." This excludes the container we don't want to use. --> |
| 133 | <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> |
| 134 | </classpathDependencyExcludes> |
| 135 | <skipTests>true</skipTests> |
| 136 | </configuration> |
| 137 | </plugin> |
| 138 | <plugin> |
| 139 | <groupId>org.codehaus.mojo</groupId> |
| 140 | <artifactId>build-helper-maven-plugin</artifactId> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <id>attach-artifacts</id> |
| 144 | <goals> |
| 145 | <goal>attach-artifact</goal> |
| 146 | </goals> |
| 147 | <phase>package</phase> |
| 148 | <configuration> |
| 149 | <artifacts> |
| 150 | <artifact> |
| 151 | <file>${project.build.directory}/classes/${features.file}</file> |
| 152 | <type>xml</type> |
| 153 | <classifier>features</classifier> |
| 154 | </artifact> |
| 155 | </artifacts> |
| 156 | </configuration> |
| 157 | </execution> |
| 158 | </executions> |
| 159 | </plugin> |
| 160 | |
| 161 | </plugins> |
| 162 | </build> |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 163 | </project> |