1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent-lite</artifactId>
9 <version>1.1.1-SNAPSHOT</version>
13 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
14 <artifactId>sliadaptors-features-installer</artifactId>
15 <version>0.3.1-SNAPSHOT</version>
16 <packaging>pom</packaging>
18 <name>ccsdk-sli-adaptors :: features :: ${project.artifactId}</name>
21 <application.name>ccsdk-sli-adaptors-all</application.name>
22 <features.boot>${application.name}</features.boot>
23 <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
30 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
31 <artifactId>${application.name}</artifactId>
32 <version>${project.version}</version>
34 <classifier>features</classifier>
38 <artifactId>*</artifactId>
49 <artifactId>maven-assembly-plugin</artifactId>
52 <id>maven-repo-zip</id>
56 <phase>package</phase>
59 <finalName>stage/${application.name}-${project.version}</finalName>
61 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
63 <appendAssemblyId>true</appendAssemblyId>
67 <id>installer-zip</id>
71 <phase>package</phase>
74 <finalName>${application.name}-${project.version}-installer</finalName>
76 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
78 <appendAssemblyId>false</appendAssemblyId>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-dependency-plugin</artifactId>
88 <id>copy-dependencies</id>
90 <goal>copy-dependencies</goal>
92 <phase>prepare-package</phase>
94 <transitive>false</transitive>
95 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
96 <overWriteReleases>false</overWriteReleases>
97 <overWriteSnapshots>true</overWriteSnapshots>
98 <overWriteIfNewer>true</overWriteIfNewer>
99 <useRepositoryLayout>true</useRepositoryLayout>
100 <addParentPoms>false</addParentPoms>
101 <copyPom>false</copyPom>
102 <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds>
103 <scope>provided</scope>
109 <artifactId>maven-resources-plugin</artifactId>
110 <version>2.6</version>
113 <id>copy-version</id>
115 <goal>copy-resources</goal>
116 </goals><!-- here the phase you need -->
117 <phase>validate</phase>
119 <outputDirectory>${basedir}/target/stage</outputDirectory>
122 <directory>src/main/resources/scripts</directory>
124 <include>install-feature.sh</include>
126 <filtering>true</filtering>