1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.onap.ccsdk.parent</groupId>
9 <artifactId>odlparent-lite</artifactId>
10 <version>1.2.0-SNAPSHOT</version>
13 <groupId>org.onap.ccsdk.sli.plugins</groupId>
14 <artifactId>template-node-installer</artifactId>
15 <version>0.4.0-SNAPSHOT</version>
16 <packaging>pom</packaging>
18 <name>ccsdk-sli-plugins :: template-node :: ${project.artifactId}</name>
21 <application.name>ccsdk-template-node</application.name>
22 <features.boot>${application.name}</features.boot>
23 <features.repositories>mvn:org.onap.ccsdk.sli.plugins/${features.boot}/${project.version}/xml/features</features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
29 <groupId>org.onap.ccsdk.sli.plugins</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
33 <classifier>features</classifier>
37 <artifactId>*</artifactId>
42 <groupId>org.onap.ccsdk.sli.plugins</groupId>
43 <artifactId>template-node-provider</artifactId>
44 <version>${project.version}</version>
51 <artifactId>maven-assembly-plugin</artifactId>
52 <version>2.6</version>
55 <id>maven-repo-zip</id>
59 <phase>package</phase>
62 <finalName>stage/${application.name}-${project.version}</finalName>
64 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
66 <appendAssemblyId>true</appendAssemblyId>
70 <id>installer-zip</id>
74 <phase>package</phase>
77 <finalName>${application.name}-${project.version}-installer</finalName>
79 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
81 <appendAssemblyId>false</appendAssemblyId>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-dependency-plugin</artifactId>
91 <id>copy-dependencies</id>
93 <goal>copy-dependencies</goal>
95 <phase>prepare-package</phase>
97 <transitive>false</transitive>
98 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
99 <overWriteReleases>false</overWriteReleases>
100 <overWriteSnapshots>true</overWriteSnapshots>
101 <overWriteIfNewer>true</overWriteIfNewer>
102 <useRepositoryLayout>true</useRepositoryLayout>
103 <addParentPoms>false</addParentPoms>
104 <copyPom>false</copyPom>
105 <includeGroupIds>org.onap.ccsdk.sli.plugins,org.apache.velocity</includeGroupIds>
106 <scope>provided</scope>
112 <artifactId>maven-resources-plugin</artifactId>
113 <version>2.6</version>
116 <id>copy-version</id>
118 <goal>copy-resources</goal>
119 </goals><!-- here the phase you need -->
120 <phase>validate</phase>
122 <outputDirectory>${basedir}/target/stage</outputDirectory>
125 <directory>src/main/resources/scripts</directory>
127 <include>install-feature.sh</include>
129 <filtering>true</filtering>