Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
John McClung | 694852f | 2018-06-13 16:10:33 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Copyright (C) 2017 Amdocs |
| 9 | ============================================================================= |
| 10 | 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 |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 13 | |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 14 | http://www.apache.org/licenses/LICENSE-2.0 |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 15 | |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 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 Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 21 | |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
| 23 | --> |
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <parent> |
| 29 | <artifactId>lock-manager-lib</artifactId> |
| 30 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 7ee4094 | 2018-10-11 11:09:56 -0700 | [diff] [blame] | 31 | <version>1.4.1-SNAPSHOT</version> |
Anand | 36bcd56 | 2018-01-04 19:35:51 -0500 | [diff] [blame] | 32 | </parent> |
| 33 | |
| 34 | <artifactId>lock-manager-features</artifactId> |
| 35 | <name>APPC Lock Manager - feature</name> |
| 36 | <packaging>jar</packaging> |
| 37 | |
| 38 | |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.onap.appc</groupId> |
| 42 | <artifactId>lock-manager-api</artifactId> |
| 43 | <version>${project.version}</version> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.onap.appc</groupId> |
| 47 | <artifactId>lock-manager-impl</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | </dependency> |
| 50 | </dependencies> |
| 51 | |
| 52 | <build> |
| 53 | <resources> |
| 54 | <resource> |
| 55 | <filtering>true</filtering> |
| 56 | <directory>src/main/resources</directory> |
| 57 | </resource> |
| 58 | </resources> |
| 59 | <plugins> |
| 60 | <plugin> |
| 61 | <groupId>org.apache.maven.plugins</groupId> |
| 62 | <artifactId>maven-resources-plugin</artifactId> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <id>filter</id> |
| 66 | <goals> |
| 67 | <goal>resources</goal> |
| 68 | </goals> |
| 69 | <phase>generate-resources</phase> |
| 70 | </execution> |
| 71 | </executions> |
| 72 | </plugin> |
| 73 | <!--<plugin> |
| 74 | <!– launches the feature test, which validates that your karaf feature |
| 75 | can be installed inside of a karaf container. It doesn't validate that your |
| 76 | functionality works correctly, just that you have all of the dependent bundles |
| 77 | defined correctly. –> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-surefire-plugin</artifactId> |
| 80 | <version>2.16</version> |
| 81 | <configuration> |
| 82 | <systemPropertyVariables> |
| 83 | <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> |
| 84 | <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> |
| 85 | <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> |
| 86 | </systemPropertyVariables> |
| 87 | <dependenciesToScan> |
| 88 | <dependency>org.opendaylight.yangtools:features-test</dependency> |
| 89 | </dependenciesToScan> |
| 90 | <classpathDependencyExcludes> |
| 91 | <!– The dependencies which bring in AbstractDataBrokerTest class |
| 92 | brings in a second PaxExam container which results in the feature tests failing |
| 93 | with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous |
| 94 | TestContainer ..." This excludes the container we don't want to use. –> |
| 95 | <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> |
| 96 | </classpathDependencyExcludes> |
| 97 | </configuration> |
| 98 | </plugin>--> |
| 99 | <plugin> |
| 100 | <groupId>org.codehaus.mojo</groupId> |
| 101 | <artifactId>build-helper-maven-plugin</artifactId> |
| 102 | <executions> |
| 103 | <execution> |
| 104 | <id>attach-artifacts</id> |
| 105 | <goals> |
| 106 | <goal>attach-artifact</goal> |
| 107 | </goals> |
| 108 | <phase>package</phase> |
| 109 | <configuration> |
| 110 | <artifacts> |
| 111 | <artifact> |
| 112 | <file>${project.build.directory}/classes/${features.file}</file> |
| 113 | <type>xml</type> |
| 114 | <classifier>features</classifier> |
| 115 | </artifact> |
| 116 | </artifacts> |
| 117 | </configuration> |
| 118 | </execution> |
| 119 | </executions> |
| 120 | </plugin> |
| 121 | |
| 122 | <!-- Skipping ODL feature test --> |
| 123 | <plugin> |
| 124 | <groupId>org.apache.maven.plugins</groupId> |
| 125 | <artifactId>maven-surefire-plugin</artifactId> |
| 126 | <configuration> |
| 127 | <skipTests>true</skipTests> |
| 128 | </configuration> |
| 129 | </plugin> |
| 130 | </plugins> |
| 131 | </build> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 132 | </project> |