herbert | 8fb0142 | 2020-01-30 11:46:02 +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) 2019 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 | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 25 | |
herbert | 8fb0142 | 2020-01-30 11:46:02 +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 | 8fb0142 | 2020-01-30 11:46:02 +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 | 8fb0142 | 2020-01-30 11:46:02 +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-mountpoint-state-provider-installer</artifactId> |
| 38 | <version>0.7.1-SNAPSHOT</version> |
| 39 | <packaging>pom</packaging> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +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 | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 42 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 43 | <properties> |
| 44 | <application.name>sdnr-wt-mountpoint-state-provider</application.name> |
| 45 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 46 | </properties> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 47 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 48 | <dependencyManagement> |
| 49 | <dependencies> |
| 50 | <dependency> |
| 51 | <groupId>org.opendaylight.controller</groupId> |
| 52 | <artifactId>mdsal-artifacts</artifactId> |
| 53 | <version>${odl.controller.mdsal.version}</version> |
| 54 | <type>pom</type> |
| 55 | <scope>import</scope> |
| 56 | </dependency> |
| 57 | </dependencies> |
| 58 | </dependencyManagement> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 59 | <dependencies> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 60 | <dependency> |
| 61 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 62 | <artifactId>${application.name}-feature</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | <type>xml</type> |
| 65 | <classifier>features</classifier> |
| 66 | <exclusions> |
| 67 | <exclusion> |
| 68 | <groupId>*</groupId> |
| 69 | <artifactId>*</artifactId> |
| 70 | </exclusion> |
| 71 | </exclusions> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 75 | <artifactId>${application.name}-provider</artifactId> |
| 76 | <version>${project.version}</version> |
| 77 | </dependency> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 78 | </dependencies> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 79 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 80 | <build> |
| 81 | <plugins> |
| 82 | <plugin> |
| 83 | <artifactId>maven-assembly-plugin</artifactId> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <id>maven-repo-zip</id> |
| 87 | <goals> |
| 88 | <goal>single</goal> |
| 89 | </goals> |
| 90 | <phase>package</phase> |
| 91 | <configuration> |
| 92 | <attach>true</attach> |
| 93 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 94 | <descriptors> |
| 95 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 96 | </descriptors> |
| 97 | <appendAssemblyId>true</appendAssemblyId> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-dependency-plugin</artifactId> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>copy-nested-dependencies</id> |
| 108 | <goals> |
| 109 | <goal>copy-dependencies</goal> |
| 110 | </goals> |
| 111 | <phase>prepare-package</phase> |
| 112 | <configuration> |
| 113 | <transitive>true</transitive> |
| 114 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 115 | <overWriteReleases>false</overWriteReleases> |
| 116 | <overWriteSnapshots>true</overWriteSnapshots> |
| 117 | <overWriteIfNewer>true</overWriteIfNewer> |
| 118 | <useRepositoryLayout>true</useRepositoryLayout> |
| 119 | <addParentPoms>false</addParentPoms> |
| 120 | <copyPom>false</copyPom> |
| 121 | </configuration> |
| 122 | </execution> |
| 123 | </executions> |
| 124 | </plugin> |
| 125 | <plugin> |
| 126 | <artifactId>maven-resources-plugin</artifactId> |
| 127 | <version>2.6</version> |
| 128 | <executions> |
| 129 | <execution> |
| 130 | <id>copy-schemas</id> |
| 131 | <goals> |
| 132 | <goal>copy-resources</goal> |
| 133 | </goals> |
| 134 | <phase>validate</phase> |
| 135 | <configuration> |
| 136 | <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory> |
| 137 | <resources> |
| 138 | <resource> |
| 139 | <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory> |
| 140 | <includes> |
| 141 | <include>*.yang</include> |
| 142 | </includes> |
| 143 | <filtering>true</filtering> |
| 144 | </resource> |
| 145 | </resources> |
| 146 | </configuration> |
| 147 | </execution> |
| 148 | </executions> |
| 149 | </plugin> |
| 150 | </plugins> |
| 151 | </build> |
herbert | 8fb0142 | 2020-01-30 11:46:02 +0100 | [diff] [blame] | 152 | </project> |