shabs2020 | 40121bf | 2020-07-30 12:09:39 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ ONAP : ccsdk features |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2020 highstreet technologies GmbH Intellectual Property. |
| 7 | ~ All rights reserved. |
| 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 | ~ |
| 22 | --> |
Dan Timoney | cf4c986 | 2021-02-23 11:48:11 -0500 | [diff] [blame] | 23 | |
Dan Timoney | 9203709 | 2020-08-06 15:28:15 -0400 | [diff] [blame] | 24 | <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"> |
shabs2020 | 40121bf | 2020-07-30 12:09:39 +0200 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | |
| 27 | <parent> |
| 28 | <groupId>org.onap.ccsdk.parent</groupId> |
| 29 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 8413c43 | 2021-04-16 08:40:10 -0400 | [diff] [blame^] | 30 | <version>2.1.3-SNAPSHOT</version> |
shabs2020 | 40121bf | 2020-07-30 12:09:39 +0200 | [diff] [blame] | 31 | <relativePath/> |
| 32 | </parent> |
| 33 | |
| 34 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 35 | <artifactId>sdnr-wt-devicemanager-openroadm-installer</artifactId> |
Dan Timoney | 8ed4232 | 2021-04-06 12:49:39 -0400 | [diff] [blame] | 36 | <version>1.1.4-SNAPSHOT</version> |
shabs2020 | 40121bf | 2020-07-30 12:09:39 +0200 | [diff] [blame] | 37 | <packaging>pom</packaging> |
| 38 | |
| 39 | <name>ccsdk-features :: ${project.artifactId}</name> |
| 40 | |
| 41 | <properties> |
| 42 | <application.name>sdnr-wt-devicemanager-openroadm</application.name> |
| 43 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 44 | </properties> |
| 45 | |
| 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 49 | <artifactId>${application.name}-feature</artifactId> |
| 50 | <version>${project.version}</version> |
| 51 | <type>xml</type> |
| 52 | <classifier>features</classifier> |
| 53 | <exclusions> |
| 54 | <exclusion> |
| 55 | <groupId>*</groupId> |
| 56 | <artifactId>*</artifactId> |
| 57 | </exclusion> |
| 58 | </exclusions> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 62 | <artifactId>${application.name}-provider</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | </dependency> |
| 65 | </dependencies> |
| 66 | |
| 67 | <build> |
| 68 | <plugins> |
| 69 | <plugin> |
| 70 | <artifactId>maven-assembly-plugin</artifactId> |
| 71 | <executions> |
| 72 | <execution> |
| 73 | <id>maven-repo-zip</id> |
| 74 | <goals> |
| 75 | <goal>single</goal> |
| 76 | </goals> |
| 77 | <phase>package</phase> |
| 78 | <configuration> |
| 79 | <attach>true</attach> |
| 80 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 81 | <descriptors> |
| 82 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 83 | </descriptors> |
| 84 | <appendAssemblyId>true</appendAssemblyId> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-dependency-plugin</artifactId> |
| 92 | <executions> |
| 93 | <execution> |
| 94 | <id>copy-nested-dependencies</id> |
| 95 | <goals> |
| 96 | <goal>copy-dependencies</goal> |
| 97 | </goals> |
| 98 | <phase>prepare-package</phase> |
| 99 | <configuration> |
| 100 | <transitive>true</transitive> |
| 101 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 102 | <overWriteReleases>false</overWriteReleases> |
| 103 | <overWriteSnapshots>true</overWriteSnapshots> |
| 104 | <overWriteIfNewer>true</overWriteIfNewer> |
| 105 | <useRepositoryLayout>true</useRepositoryLayout> |
| 106 | <addParentPoms>false</addParentPoms> |
| 107 | <copyPom>false</copyPom> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
| 112 | </plugins> |
| 113 | </build> |
| 114 | </project> |