Ravi Pendurty | 7a80462 | 2020-08-19 16:33:48 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ ONAP : ccsdk features |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property. |
| 7 | ~ All rights reserved. |
| 8 | ~ ================================================================================ |
| 9 | ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
| 10 | ~ ================================================================================ |
| 11 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 12 | ~ you may not use this file except in compliance with the License. |
| 13 | ~ You may obtain a copy of the License at |
| 14 | ~ |
| 15 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 16 | ~ |
| 17 | ~ Unless required by applicable law or agreed to in writing, software |
| 18 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 19 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 20 | ~ See the License for the specific language governing permissions and |
| 21 | ~ limitations under the License. |
| 22 | ~ ============LICENSE_END======================================================= |
| 23 | ~ |
| 24 | --> |
| 25 | |
| 26 | <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"> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | |
| 29 | <parent> |
| 30 | <groupId>org.onap.ccsdk.parent</groupId> |
| 31 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 253f57c | 2020-09-10 12:50:42 -0400 | [diff] [blame^] | 32 | <version>2.1.0-SNAPSHOT</version> |
Ravi Pendurty | 7a80462 | 2020-08-19 16:33:48 +0200 | [diff] [blame] | 33 | <relativePath/> |
| 34 | </parent> |
| 35 | |
| 36 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 37 | <artifactId>sdnr-wt-devicemanager-adapter-manager-installer</artifactId> |
Dan Timoney | 253f57c | 2020-09-10 12:50:42 -0400 | [diff] [blame^] | 38 | <version>1.1.0-SNAPSHOT</version> |
Ravi Pendurty | 7a80462 | 2020-08-19 16:33:48 +0200 | [diff] [blame] | 39 | <packaging>pom</packaging> |
| 40 | |
| 41 | <name>ccsdk-features :: ${project.artifactId}</name> |
| 42 | |
| 43 | <properties> |
| 44 | <application.name>sdnr-wt-devicemanager-adapter-manager</application.name> |
| 45 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 46 | </properties> |
| 47 | |
| 48 | <dependencies> |
| 49 | <dependency> |
| 50 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 51 | <artifactId>${application.name}-feature</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | <type>xml</type> |
| 54 | <classifier>features</classifier> |
| 55 | <exclusions> |
| 56 | <exclusion> |
| 57 | <groupId>*</groupId> |
| 58 | <artifactId>*</artifactId> |
| 59 | </exclusion> |
| 60 | </exclusions> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 64 | <artifactId>${application.name}-provider</artifactId> |
| 65 | <version>${project.version}</version> |
| 66 | </dependency> |
| 67 | </dependencies> |
| 68 | |
| 69 | <build> |
| 70 | <plugins> |
| 71 | <plugin> |
| 72 | <artifactId>maven-assembly-plugin</artifactId> |
| 73 | <executions> |
| 74 | <execution> |
| 75 | <id>maven-repo-zip</id> |
| 76 | <goals> |
| 77 | <goal>single</goal> |
| 78 | </goals> |
| 79 | <phase>package</phase> |
| 80 | <configuration> |
| 81 | <attach>true</attach> |
| 82 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 83 | <descriptors> |
| 84 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 85 | </descriptors> |
| 86 | <appendAssemblyId>true</appendAssemblyId> |
| 87 | </configuration> |
| 88 | </execution> |
| 89 | </executions> |
| 90 | </plugin> |
| 91 | <plugin> |
| 92 | <groupId>org.apache.maven.plugins</groupId> |
| 93 | <artifactId>maven-dependency-plugin</artifactId> |
| 94 | <executions> |
| 95 | <execution> |
| 96 | <id>copy-nested-dependencies</id> |
| 97 | <goals> |
| 98 | <goal>copy-dependencies</goal> |
| 99 | </goals> |
| 100 | <phase>prepare-package</phase> |
| 101 | <configuration> |
| 102 | <transitive>true</transitive> |
| 103 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 104 | <overWriteReleases>false</overWriteReleases> |
| 105 | <overWriteSnapshots>true</overWriteSnapshots> |
| 106 | <overWriteIfNewer>true</overWriteIfNewer> |
| 107 | <useRepositoryLayout>true</useRepositoryLayout> |
| 108 | <addParentPoms>false</addParentPoms> |
| 109 | <copyPom>false</copyPom> |
| 110 | </configuration> |
| 111 | </execution> |
| 112 | </executions> |
| 113 | </plugin> |
| 114 | </plugins> |
| 115 | </build> |
| 116 | </project> |