blob: 9e05aeb1f3a78bd1d218568385fd2dc5ee3a5c93 [file] [log] [blame]
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +09001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Ganesh Chandrasekaranf8ebec62018-07-18 15:27:52 +09004 ONAP : CCSDK
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +09005 ================================================================================
Ganesh Chandrasekaranf8ebec62018-07-18 15:27:52 +09006 Copyright (C) 2018 Samsung Electronics. All rights reserved.
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +09007 ================================================================================
Ganesh Chandrasekaranf8ebec62018-07-18 15:27:52 +09008
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +09009 =============================================================================
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 Chandrasekaranf8ebec62018-07-18 15:27:52 +090022
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090023 ============LICENSE_END=========================================================
24 -->
Dan Timoney8bc36962020-08-06 15:17:17 -040025
Dan Timoneya612cdd2020-03-05 11:51:01 -050026<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 Chandrasekaran8fe91222018-06-28 17:39:09 +090027 <modelVersion>4.0.0</modelVersion>
Dan Timoneya612cdd2020-03-05 11:51:01 -050028
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090029 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -050030 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>odlparent-lite</artifactId>
Dan Timoney764b6582021-03-09 11:47:09 -050032 <version>2.2.0-SNAPSHOT</version>
Dan Timoney5de81962021-01-26 13:15:47 -050033 <relativePath/>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090034 </parent>
Dan Timoneya612cdd2020-03-05 11:51:01 -050035
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090036 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
37 <artifactId>saltstack-adapter-installer</artifactId>
Dan Timoney764b6582021-03-09 11:47:09 -050038 <version>1.3.0-SNAPSHOT</version>
Dan Timoneya612cdd2020-03-05 11:51:01 -050039 <packaging>pom</packaging>
40
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050041 <name>ccsdk-sli-adaptors :: ${project.artifactId}</name>
Dan Timoneya612cdd2020-03-05 11:51:01 -050042
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090043 <properties>
44 <application.name>ccsdk-saltstack-adapter</application.name>
45 <features.boot>${application.name}</features.boot>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +090046 <features.repositories>
47 mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features
48 </features.repositories>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090049 <include.transitive.dependencies>false</include.transitive.dependencies>
50 </properties>
Dan Timoneya612cdd2020-03-05 11:51:01 -050051
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090052 <dependencies>
Timoney, Dan (dt5972)bc18e2c2019-12-13 12:42:39 -050053
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090054 <dependency>
55 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
56 <artifactId>saltstack-adapter-provider</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090060 </dependencies>
Dan Timoneya612cdd2020-03-05 11:51:01 -050061
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090062 <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 Chandrasekaran021cae42018-07-23 14:27:22 +090074 <appendAssemblyId>true</appendAssemblyId>
Timoney, Dan (dt5972)c6a49672019-01-30 10:55:46 -050075 <attach>true</attach>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +090076 <finalName>
77 stage/${application.name}-${project.version}
78 </finalName>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090079 <descriptors>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +090080 <descriptor>
81 src/assembly/assemble_mvnrepo_zip.xml
82 </descriptor>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090083 </descriptors>
Timoney, Dan (dt5972)c6a49672019-01-30 10:55:46 -050084 <appendAssemblyId>true</appendAssemblyId>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090085 </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 Chandrasekaran021cae42018-07-23 14:27:22 +090094 <appendAssemblyId>false</appendAssemblyId>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090095 <attach>true</attach>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +090096 <finalName>${application.name}-${project.version}
97 </finalName>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +090098 <descriptors>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +090099 <descriptor>
100 src/assembly/assemble_installer_zip.xml
101 </descriptor>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900102 </descriptors>
Timoney, Dan (dt5972)c6a49672019-01-30 10:55:46 -0500103 <appendAssemblyId>false</appendAssemblyId>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900104 </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 Chandrasekaran021cae42018-07-23 14:27:22 +0900120 <outputDirectory>
121 ${project.build.directory}/assembly/system
122 </outputDirectory>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900123 <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)98e280c2019-12-05 14:09:05 -0500129 <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900130 <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 Chandrasekaran021cae42018-07-23 14:27:22 +0900146 <outputDirectory>${basedir}/target/stage
147 </outputDirectory>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900148 <resources>
149 <resource>
Ganesh Chandrasekaran021cae42018-07-23 14:27:22 +0900150 <directory>src/main/resources/scripts
151 </directory>
Ganesh Chandrasekaran8fe91222018-06-28 17:39:09 +0900152 <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>