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 | --> |
Dan Timoney | 8bc3696 | 2020-08-06 15:17:17 -0400 | [diff] [blame] | 25 | |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [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"> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 28 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 29 | <parent> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 30 | <groupId>org.onap.ccsdk.parent</groupId> |
| 31 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 764b658 | 2021-03-09 11:47:09 -0500 | [diff] [blame] | 32 | <version>2.2.0-SNAPSHOT</version> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 33 | <relativePath/> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 34 | </parent> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 35 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 36 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 37 | <artifactId>saltstack-adapter-installer</artifactId> |
Dan Timoney | 764b658 | 2021-03-09 11:47:09 -0500 | [diff] [blame] | 38 | <version>1.3.0-SNAPSHOT</version> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 39 | <packaging>pom</packaging> |
| 40 | |
Singal, Kapil (ks220y) | 94f4b9b | 2021-03-02 20:00:49 -0500 | [diff] [blame] | 41 | <name>ccsdk-sli-adaptors :: ${project.artifactId}</name> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 42 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 43 | <properties> |
| 44 | <application.name>ccsdk-saltstack-adapter</application.name> |
| 45 | <features.boot>${application.name}</features.boot> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 46 | <features.repositories> |
| 47 | mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features |
| 48 | </features.repositories> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 49 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 50 | </properties> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 51 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 52 | <dependencies> |
Timoney, Dan (dt5972) | bc18e2c | 2019-12-13 12:42:39 -0500 | [diff] [blame] | 53 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 54 | <dependency> |
| 55 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 56 | <artifactId>saltstack-adapter-provider</artifactId> |
| 57 | <version>${project.version}</version> |
| 58 | </dependency> |
| 59 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 60 | </dependencies> |
Dan Timoney | a612cdd | 2020-03-05 11:51:01 -0500 | [diff] [blame] | 61 | |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 62 | <build> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <artifactId>maven-assembly-plugin</artifactId> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <id>maven-repo-zip</id> |
| 69 | <goals> |
| 70 | <goal>single</goal> |
| 71 | </goals> |
| 72 | <phase>package</phase> |
| 73 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 74 | <appendAssemblyId>true</appendAssemblyId> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 75 | <attach>true</attach> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 76 | <finalName> |
| 77 | stage/${application.name}-${project.version} |
| 78 | </finalName> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 79 | <descriptors> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 80 | <descriptor> |
| 81 | src/assembly/assemble_mvnrepo_zip.xml |
| 82 | </descriptor> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 83 | </descriptors> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 84 | <appendAssemblyId>true</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 85 | </configuration> |
| 86 | </execution> |
| 87 | <execution> |
| 88 | <id>installer-zip</id> |
| 89 | <goals> |
| 90 | <goal>single</goal> |
| 91 | </goals> |
| 92 | <phase>package</phase> |
| 93 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 94 | <appendAssemblyId>false</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 95 | <attach>true</attach> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 96 | <finalName>${application.name}-${project.version} |
| 97 | </finalName> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 98 | <descriptors> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 99 | <descriptor> |
| 100 | src/assembly/assemble_installer_zip.xml |
| 101 | </descriptor> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 102 | </descriptors> |
Timoney, Dan (dt5972) | c6a4967 | 2019-01-30 10:55:46 -0500 | [diff] [blame] | 103 | <appendAssemblyId>false</appendAssemblyId> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 104 | </configuration> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-dependency-plugin</artifactId> |
| 111 | <executions> |
| 112 | <execution> |
| 113 | <id>copy-dependencies</id> |
| 114 | <goals> |
| 115 | <goal>copy-dependencies</goal> |
| 116 | </goals> |
| 117 | <phase>prepare-package</phase> |
| 118 | <configuration> |
| 119 | <transitive>false</transitive> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 120 | <outputDirectory> |
| 121 | ${project.build.directory}/assembly/system |
| 122 | </outputDirectory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 123 | <overWriteReleases>false</overWriteReleases> |
| 124 | <overWriteSnapshots>true</overWriteSnapshots> |
| 125 | <overWriteIfNewer>true</overWriteIfNewer> |
| 126 | <useRepositoryLayout>true</useRepositoryLayout> |
| 127 | <addParentPoms>false</addParentPoms> |
| 128 | <copyPom>false</copyPom> |
Timoney, Dan (dt5972) | 98e280c | 2019-12-05 14:09:05 -0500 | [diff] [blame] | 129 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 130 | <scope>provided</scope> |
| 131 | </configuration> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | </plugin> |
| 135 | <plugin> |
| 136 | <artifactId>maven-resources-plugin</artifactId> |
| 137 | <executions> |
| 138 | <execution> |
| 139 | <id>copy-version</id> |
| 140 | <goals> |
| 141 | <goal>copy-resources</goal> |
| 142 | </goals> |
| 143 | <!-- here the phase you need --> |
| 144 | <phase>validate</phase> |
| 145 | <configuration> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 146 | <outputDirectory>${basedir}/target/stage |
| 147 | </outputDirectory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 148 | <resources> |
| 149 | <resource> |
Ganesh Chandrasekaran | 021cae4 | 2018-07-23 14:27:22 +0900 | [diff] [blame] | 150 | <directory>src/main/resources/scripts |
| 151 | </directory> |
Ganesh Chandrasekaran | 8fe9122 | 2018-06-28 17:39:09 +0900 | [diff] [blame] | 152 | <includes> |
| 153 | <include>install-feature.sh</include> |
| 154 | </includes> |
| 155 | <filtering>true</filtering> |
| 156 | </resource> |
| 157 | </resources> |
| 158 | </configuration> |
| 159 | </execution> |
| 160 | </executions> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </build> |
| 164 | </project> |