Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
Ganesh Chandrasekaran | f8ebec6 | 2018-07-18 15:27:52 +0900 | [diff] [blame] | 4 | ONAP : CCSDK |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 5 | ================================================================================ |
Ganesh Chandrasekaran | f8ebec6 | 2018-07-18 15:27:52 +0900 | [diff] [blame] | 6 | Copyright (C) 2018 Samsung Electronics. All rights reserved. |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 7 | ================================================================================ |
Ganesh Chandrasekaran | f8ebec6 | 2018-07-18 15:27:52 +0900 | [diff] [blame] | 8 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 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 | |
Ganesh Chandrasekaran | f8ebec6 | 2018-07-18 15:27:52 +0900 | [diff] [blame] | 22 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 23 | ============LICENSE_END========================================================= |
| 24 | --> |
Timoney, Dan (dt5972) | 21ec655 | 2019-01-08 12:14:12 -0500 | [diff] [blame] | 25 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <parent> |
| 28 | <groupId>org.onap.ccsdk.parent</groupId> |
| 29 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | 54f98b3 | 2019-12-02 12:35:00 -0500 | [diff] [blame] | 30 | <version>1.5.1-SNAPSHOT</version> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 31 | <relativePath/> |
| 32 | </parent> |
| 33 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 34 | <artifactId>saltstack-adapter-installer</artifactId> |
Timoney, Dan (dt5972) | 4736bef | 2019-09-10 16:16:07 -0400 | [diff] [blame] | 35 | <version>0.7.0-SNAPSHOT</version> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 36 | <name>ccsdk-sli-adaptors :: saltstack-adapter :: ${project.artifactId} |
| 37 | </name> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 38 | <packaging>pom</packaging> |
| 39 | <properties> |
| 40 | <application.name>ccsdk-saltstack-adapter</application.name> |
| 41 | <features.boot>${application.name}</features.boot> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 42 | <features.repositories> |
| 43 | mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features |
| 44 | </features.repositories> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 45 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 46 | </properties> |
| 47 | <dependencies> |
Timoney, Dan (dt5972) | bc18e2c | 2019-12-13 12:42:39 -0500 | [diff] [blame^] | 48 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 49 | <dependency> |
| 50 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 51 | <artifactId>saltstack-adapter-provider</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | </dependency> |
| 54 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 55 | </dependencies> |
| 56 | <build> |
| 57 | <plugins> |
| 58 | <plugin> |
| 59 | <artifactId>maven-assembly-plugin</artifactId> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>maven-repo-zip</id> |
| 63 | <goals> |
| 64 | <goal>single</goal> |
| 65 | </goals> |
| 66 | <phase>package</phase> |
| 67 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 68 | <appendAssemblyId>true</appendAssemblyId> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 69 | <attach>true</attach> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 70 | <finalName> |
| 71 | stage/${application.name}-${project.version} |
| 72 | </finalName> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 73 | <descriptors> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 74 | <descriptor> |
| 75 | src/assembly/assemble_mvnrepo_zip.xml |
| 76 | </descriptor> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 77 | </descriptors> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 78 | <appendAssemblyId>true</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 79 | </configuration> |
| 80 | </execution> |
| 81 | <execution> |
| 82 | <id>installer-zip</id> |
| 83 | <goals> |
| 84 | <goal>single</goal> |
| 85 | </goals> |
| 86 | <phase>package</phase> |
| 87 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 88 | <appendAssemblyId>false</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 89 | <attach>true</attach> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 90 | <finalName>${application.name}-${project.version} |
| 91 | </finalName> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 92 | <descriptors> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 93 | <descriptor> |
| 94 | src/assembly/assemble_installer_zip.xml |
| 95 | </descriptor> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 96 | </descriptors> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 97 | <appendAssemblyId>false</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 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-dependencies</id> |
| 108 | <goals> |
| 109 | <goal>copy-dependencies</goal> |
| 110 | </goals> |
| 111 | <phase>prepare-package</phase> |
| 112 | <configuration> |
| 113 | <transitive>false</transitive> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 114 | <outputDirectory> |
| 115 | ${project.build.directory}/assembly/system |
| 116 | </outputDirectory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 117 | <overWriteReleases>false</overWriteReleases> |
| 118 | <overWriteSnapshots>true</overWriteSnapshots> |
| 119 | <overWriteIfNewer>true</overWriteIfNewer> |
| 120 | <useRepositoryLayout>true</useRepositoryLayout> |
| 121 | <addParentPoms>false</addParentPoms> |
| 122 | <copyPom>false</copyPom> |
Timoney, Dan (dt5972) | 98e280c | 2019-12-05 14:09:05 -0500 | [diff] [blame] | 123 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 124 | <scope>provided</scope> |
| 125 | </configuration> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
| 129 | <plugin> |
| 130 | <artifactId>maven-resources-plugin</artifactId> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <id>copy-version</id> |
| 134 | <goals> |
| 135 | <goal>copy-resources</goal> |
| 136 | </goals> |
| 137 | <!-- here the phase you need --> |
| 138 | <phase>validate</phase> |
| 139 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 140 | <outputDirectory>${basedir}/target/stage |
| 141 | </outputDirectory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 142 | <resources> |
| 143 | <resource> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 144 | <directory>src/main/resources/scripts |
| 145 | </directory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 146 | <includes> |
| 147 | <include>install-feature.sh</include> |
| 148 | </includes> |
| 149 | <filtering>true</filtering> |
| 150 | </resource> |
| 151 | </resources> |
| 152 | </configuration> |
| 153 | </execution> |
| 154 | </executions> |
| 155 | </plugin> |
| 156 | </plugins> |
| 157 | </build> |
| 158 | </project> |