herbert | e6d0d67 | 2019-12-14 01:05:47 +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 | --> |
| 25 | |
herbert | e6d0d67 | 2019-12-14 01:05:47 +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 | e6d0d67 | 2019-12-14 01:05:47 +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 | 04e519c | 2020-03-04 09:43:47 -0500 | [diff] [blame^] | 32 | <version>1.5.2</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 33 | <relativePath/> |
| 34 | </parent> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +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-feature-aggregator-installer</artifactId> |
| 38 | <version>0.7.1-SNAPSHOT</version> |
| 39 | <packaging>pom</packaging> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +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 | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 42 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 43 | <properties> |
| 44 | </properties> |
Singal, Kapil (ks220y) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 45 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 49 | <artifactId>sdnr-wt-feature-aggregator</artifactId> |
| 50 | <version>${project.version}</version> |
| 51 | <type>xml</type> |
| 52 | <classifier>features</classifier> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 56 | <artifactId>sdnr-wt-feature-aggregator-devicemanager</artifactId> |
| 57 | <version>${project.version}</version> |
| 58 | <type>xml</type> |
| 59 | <classifier>features</classifier> |
| 60 | </dependency> |
| 61 | </dependencies> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 62 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 63 | <build> |
| 64 | <plugins> |
| 65 | <plugin> |
| 66 | <artifactId>maven-assembly-plugin</artifactId> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <id>maven-repo-zip</id> |
| 70 | <goals> |
| 71 | <goal>single</goal> |
| 72 | </goals> |
| 73 | <phase>package</phase> |
| 74 | <configuration> |
| 75 | <attach>true</attach> |
| 76 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 77 | <descriptors> |
| 78 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 79 | </descriptors> |
| 80 | <appendAssemblyId>true</appendAssemblyId> |
| 81 | </configuration> |
| 82 | </execution> |
| 83 | </executions> |
| 84 | </plugin> |
| 85 | <plugin> |
| 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-dependency-plugin</artifactId> |
| 88 | <executions> |
| 89 | <execution> |
| 90 | <id>copy-nested-dependencies</id> |
| 91 | <goals> |
| 92 | <goal>copy-dependencies</goal> |
| 93 | </goals> |
| 94 | <phase>prepare-package</phase> |
| 95 | <configuration> |
| 96 | <transitive>true</transitive> |
| 97 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 98 | <overWriteReleases>false</overWriteReleases> |
| 99 | <overWriteSnapshots>true</overWriteSnapshots> |
| 100 | <overWriteIfNewer>true</overWriteIfNewer> |
| 101 | <useRepositoryLayout>true</useRepositoryLayout> |
| 102 | <addParentPoms>false</addParentPoms> |
| 103 | <copyPom>false</copyPom> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | <execution> |
| 107 | <!-- Copy yang schema preload for schema cache --> |
| 108 | <id>unpack-cache-schema</id> |
| 109 | <goals> |
| 110 | <goal>unpack</goal> |
| 111 | </goals> |
| 112 | <phase>prepare-package</phase> |
| 113 | <configuration> |
| 114 | <artifactItems> |
| 115 | <artifactItem> |
| 116 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 117 | <artifactId>sdnr-wt-devicemanager-provider</artifactId> |
| 118 | <version>${project.version}</version> |
| 119 | <type>jar</type> |
| 120 | <includes>preload.cache.schema/**</includes> |
| 121 | <outputDirectory>${project.build.directory}/assembly</outputDirectory> |
| 122 | </artifactItem> |
| 123 | </artifactItems> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | <execution> |
| 127 | <!-- Copy database initialization script --> |
| 128 | <id>unpack-es-init</id> |
| 129 | <phase>prepare-package</phase> |
| 130 | <goals> |
| 131 | <goal>unpack</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <artifactItems> |
| 135 | <artifactItem> |
| 136 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 137 | <artifactId>sdnr-wt-data-provider-provider</artifactId> |
| 138 | <version>${project.version}</version> |
| 139 | <type>jar</type> |
| 140 | <includes>es-init.sh</includes> |
| 141 | <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory> |
| 142 | </artifactItem> |
| 143 | </artifactItems> |
| 144 | </configuration> |
| 145 | </execution> |
| 146 | </executions> |
| 147 | </plugin> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 148 | <plugin> |
| 149 | <artifactId>maven-resources-plugin</artifactId> |
| 150 | <version>2.6</version> |
| 151 | <executions> |
| 152 | <execution> |
| 153 | <id>copy-sdnr-data-migration-tool</id> |
| 154 | <goals> |
| 155 | <goal>copy-resources</goal> |
| 156 | </goals> |
| 157 | <phase>validate</phase> |
| 158 | <configuration> |
| 159 | <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory> |
| 160 | <resources> |
| 161 | <resource> |
| 162 | <directory>${basedir}/../../data-provider/setup/target</directory> |
| 163 | <includes> |
| 164 | <include>sdnr-dmt.jar</include> |
| 165 | </includes> |
| 166 | </resource> |
| 167 | </resources> |
| 168 | </configuration> |
| 169 | </execution> |
| 170 | </executions> |
| 171 | </plugin> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 172 | </plugins> |
| 173 | </build> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 174 | </project> |