1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2018 Bell Canada Intellectual Property. All rights reserved.
7 ~ ================================================================================
8 ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
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
14 ~ http://www.apache.org/licenses/LICENSE-2.0
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 ~ ============LICENSE_END=======================================================
24 <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">
25 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.ccsdk.parent</groupId>
29 <artifactId>odlparent-lite</artifactId>
30 <version>2.3.3-SNAPSHOT</version>
34 <groupId>org.onap.ccsdk.features</groupId>
35 <artifactId>features-installer</artifactId>
36 <version>1.3.0-SNAPSHOT</version>
37 <packaging>pom</packaging>
39 <name>ccsdk-features :: features :: ${project.artifactId}</name>
42 <application.name>ccsdk-features-all</application.name>
43 <features.boot>${application.name}</features.boot>
44 <features.repositories>mvn:org.onap.ccsdk.features/${features.boot}/${project.version}/xml/features
45 </features.repositories>
46 <include.transitive.dependencies>false</include.transitive.dependencies>
52 <groupId>org.onap.ccsdk.features</groupId>
53 <artifactId>${application.name}</artifactId>
54 <version>${project.version}</version>
56 <classifier>features</classifier>
60 <artifactId>*</artifactId>
69 <artifactId>maven-assembly-plugin</artifactId>
72 <id>maven-repo-zip</id>
76 <phase>package</phase>
79 <finalName>stage/${application.name}-${project.version}</finalName>
81 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
83 <appendAssemblyId>true</appendAssemblyId>
87 <id>installer-zip</id>
91 <phase>package</phase>
94 <finalName>${application.name}-${project.version}-installer</finalName>
96 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
98 <appendAssemblyId>false</appendAssemblyId>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-dependency-plugin</artifactId>
108 <id>copy-dependencies</id>
110 <goal>copy-dependencies</goal>
112 <phase>prepare-package</phase>
114 <transitive>false</transitive>
115 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
116 <overWriteReleases>false</overWriteReleases>
117 <overWriteSnapshots>true</overWriteSnapshots>
118 <overWriteIfNewer>true</overWriteIfNewer>
119 <useRepositoryLayout>true</useRepositoryLayout>
120 <addParentPoms>false</addParentPoms>
121 <copyPom>false</copyPom>
122 <includeGroupIds>org.onap.ccsdk.features</includeGroupIds>
123 <scope>provided</scope>
129 <artifactId>maven-resources-plugin</artifactId>
130 <version>2.6</version>
133 <id>copy-version</id>
135 <goal>copy-resources</goal>
136 </goals><!-- here the phase you need -->
137 <phase>validate</phase>
139 <outputDirectory>${basedir}/target/stage</outputDirectory>
142 <directory>src/main/resources/scripts</directory>
144 <include>install-feature.sh</include>
146 <filtering>true</filtering>