Herbert Eiselt | 2376d8a | 2019-01-28 16:20:57 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
| 4 | * ============LICENSE_START======================================================= |
| 5 | * ONAP : CCSDK.sdnr.wt.devicemodel.installer |
| 6 | * ================================================================================ |
| 7 | * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property. |
| 8 | * All rights reserved. |
| 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 |
| 13 | * |
| 14 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | * |
| 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. |
| 21 | * ============LICENSE_END========================================================= |
| 22 | |
| 23 | --> |
Timoney, Dan (dt5972) | 9560e60 | 2019-04-24 16:04:56 -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"> |
Herbert Eiselt | 2376d8a | 2019-01-28 16:20:57 +0100 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | |
Herbert Eiselt | 2376d8a | 2019-01-28 16:20:57 +0100 | [diff] [blame] | 27 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 28 | <artifactId>sdnr-wt-devicemodel-installer</artifactId> |
Timoney, Dan (dt5972) | f3d5c90 | 2019-05-02 11:43:50 -0400 | [diff] [blame] | 29 | <version>0.5.0-SNAPSHOT</version> |
Herbert Eiselt | 2376d8a | 2019-01-28 16:20:57 +0100 | [diff] [blame] | 30 | <packaging>pom</packaging> |
| 31 | <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name> |
| 32 | |
Herbert Eiselt | 96785da | 2019-03-29 10:22:11 +0100 | [diff] [blame] | 33 | <parent> |
| 34 | <groupId>org.onap.ccsdk.parent</groupId> |
| 35 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | 17552ad | 2019-07-17 11:05:55 -0400 | [diff] [blame^] | 36 | <version>1.3.1-SNAPSHOT</version> |
Timoney, Dan (dt5972) | 9560e60 | 2019-04-24 16:04:56 -0400 | [diff] [blame] | 37 | <relativePath/> |
Herbert Eiselt | 96785da | 2019-03-29 10:22:11 +0100 | [diff] [blame] | 38 | </parent> |
| 39 | |
Herbert Eiselt | 2376d8a | 2019-01-28 16:20:57 +0100 | [diff] [blame] | 40 | <properties> |
| 41 | <application.name>sdnr-wt-devicemodel</application.name> |
| 42 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 43 | </properties> |
| 44 | |
| 45 | <dependencies> |
| 46 | <dependency> |
| 47 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 48 | <artifactId>${application.name}-feature</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | <type>xml</type> |
| 51 | <classifier>features</classifier> |
| 52 | <exclusions> |
| 53 | <exclusion> |
| 54 | <groupId>*</groupId> |
| 55 | <artifactId>*</artifactId> |
| 56 | </exclusion> |
| 57 | </exclusions> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 61 | <artifactId>sdnr-wt-devicemodel-model</artifactId> |
| 62 | <version>${project.version}</version> |
| 63 | </dependency> |
| 64 | </dependencies> |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <artifactId>maven-assembly-plugin</artifactId> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <id>maven-repo-zip</id> |
| 72 | <goals> |
| 73 | <goal>single</goal> |
| 74 | </goals> |
| 75 | <phase>package</phase> |
| 76 | <configuration> |
| 77 | <attach>true</attach> |
| 78 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 79 | <descriptors> |
| 80 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 81 | </descriptors> |
| 82 | <appendAssemblyId>true</appendAssemblyId> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <groupId>org.apache.maven.plugins</groupId> |
| 89 | <artifactId>maven-dependency-plugin</artifactId> |
| 90 | <executions> |
| 91 | <execution> |
| 92 | <id>copy-nested-dependencies</id> |
| 93 | <goals> |
| 94 | <goal>copy-dependencies</goal> |
| 95 | </goals> |
| 96 | <phase>prepare-package</phase> |
| 97 | <configuration> |
| 98 | <transitive>true</transitive> |
| 99 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 100 | <overWriteReleases>false</overWriteReleases> |
| 101 | <overWriteSnapshots>true</overWriteSnapshots> |
| 102 | <overWriteIfNewer>true</overWriteIfNewer> |
| 103 | <useRepositoryLayout>true</useRepositoryLayout> |
| 104 | <addParentPoms>false</addParentPoms> |
| 105 | <copyPom>false</copyPom> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | </project> |