herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 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 | --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 25 | |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 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"> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 28 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 29 | <parent> |
| 30 | <groupId>org.onap.ccsdk.parent</groupId> |
| 31 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 9203709 | 2020-08-06 15:28:15 -0400 | [diff] [blame^] | 32 | <version>2.0.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 33 | <relativePath/> |
| 34 | </parent> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 35 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 36 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 37 | <artifactId>sdnr-wt-data-provider-installer</artifactId> |
Dan Timoney | 9203709 | 2020-08-06 15:28:15 -0400 | [diff] [blame^] | 38 | <version>1.0.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 39 | <packaging>pom</packaging> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 40 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 41 | <name>ccsdk-features :: ${project.artifactId}</name> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 42 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 43 | <properties> |
| 44 | <application.name>sdnr-wt-data-provider</application.name> |
| 45 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 46 | </properties> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 47 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 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> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 67 | <dependency> |
| 68 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 69 | <artifactId>${application.name}-setup</artifactId> |
| 70 | <version>${project.version}</version> |
| 71 | </dependency> |
highstreetherbert | 25b3759 | 2020-07-15 15:44:23 +0200 | [diff] [blame] | 72 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 73 | </dependencies> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 74 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 75 | <build> |
| 76 | <plugins> |
| 77 | <plugin> |
| 78 | <artifactId>maven-assembly-plugin</artifactId> |
| 79 | <executions> |
| 80 | <execution> |
| 81 | <id>maven-repo-zip</id> |
| 82 | <goals> |
| 83 | <goal>single</goal> |
| 84 | </goals> |
| 85 | <phase>package</phase> |
| 86 | <configuration> |
| 87 | <attach>true</attach> |
| 88 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 89 | <descriptors> |
| 90 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 91 | </descriptors> |
| 92 | <appendAssemblyId>true</appendAssemblyId> |
| 93 | </configuration> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-dependency-plugin</artifactId> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>copy-nested-dependencies</id> |
| 103 | <goals> |
| 104 | <goal>copy-dependencies</goal> |
| 105 | </goals> |
| 106 | <phase>prepare-package</phase> |
| 107 | <configuration> |
| 108 | <transitive>true</transitive> |
| 109 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 110 | <overWriteReleases>false</overWriteReleases> |
| 111 | <overWriteSnapshots>true</overWriteSnapshots> |
| 112 | <overWriteIfNewer>true</overWriteIfNewer> |
| 113 | <useRepositoryLayout>true</useRepositoryLayout> |
| 114 | <addParentPoms>false</addParentPoms> |
| 115 | <copyPom>false</copyPom> |
| 116 | </configuration> |
| 117 | </execution> |
| 118 | </executions> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <artifactId>maven-resources-plugin</artifactId> |
| 122 | <version>2.6</version> |
| 123 | <executions> |
| 124 | <execution> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 125 | <id>copy-sdnr-data-migration-tool</id> |
| 126 | <goals> |
| 127 | <goal>copy-resources</goal> |
| 128 | </goals> |
| 129 | <phase>validate</phase> |
| 130 | <configuration> |
| 131 | <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory> |
| 132 | <resources> |
| 133 | <resource> |
| 134 | <directory>${basedir}/../setup/target</directory> |
| 135 | <includes> |
| 136 | <include>sdnr-dmt.jar</include> |
| 137 | </includes> |
| 138 | </resource> |
| 139 | </resources> |
| 140 | </configuration> |
| 141 | </execution> |
| 142 | <execution> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 143 | <id>copy-schemas</id> |
| 144 | <goals> |
| 145 | <goal>copy-resources</goal> |
| 146 | </goals> |
| 147 | <phase>validate</phase> |
| 148 | <configuration> |
| 149 | <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory> |
| 150 | <resources> |
| 151 | <resource> |
| 152 | <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory> |
| 153 | <includes> |
| 154 | <include>*.yang</include> |
| 155 | </includes> |
| 156 | <filtering>true</filtering> |
| 157 | </resource> |
| 158 | </resources> |
| 159 | </configuration> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
| 163 | </plugins> |
| 164 | </build> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 165 | </project> |