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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
8 <version>1.2.0</version>
12 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>lcm-installer</artifactId>
14 <version>0.4.0-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-sli-northbound :: lcm :: ${project.artifactId}</name>
20 <application.name>ccsdk-lcm</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
29 <groupId>org.onap.ccsdk.sli.northbound</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
33 <classifier>features</classifier>
37 <artifactId>*</artifactId>
42 <groupId>org.onap.ccsdk.sli.northbound</groupId>
43 <artifactId>lcm-model</artifactId>
44 <version>${project.version}</version>
47 <groupId>org.onap.ccsdk.sli.northbound</groupId>
48 <artifactId>lcm-provider</artifactId>
49 <version>${project.version}</version>
58 <artifactId>maven-assembly-plugin</artifactId>
59 <version>2.6</version>
62 <id>maven-repo-zip</id>
66 <phase>package</phase>
69 <finalName>stage/${application.name}-${project.version}</finalName>
71 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
73 <appendAssemblyId>true</appendAssemblyId>
77 <id>installer-zip</id>
81 <phase>package</phase>
84 <finalName>${application.name}-${project.version}-installer</finalName>
86 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
88 <appendAssemblyId>false</appendAssemblyId>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-dependency-plugin</artifactId>
98 <id>copy-dependencies</id>
100 <goal>copy-dependencies</goal>
102 <phase>prepare-package</phase>
104 <transitive>false</transitive>
105 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
106 <overWriteReleases>false</overWriteReleases>
107 <overWriteSnapshots>true</overWriteSnapshots>
108 <overWriteIfNewer>true</overWriteIfNewer>
109 <useRepositoryLayout>true</useRepositoryLayout>
110 <addParentPoms>false</addParentPoms>
111 <copyPom>false</copyPom>
112 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
113 <scope>provided</scope>
119 <artifactId>maven-resources-plugin</artifactId>
120 <version>2.6</version>
123 <id>copy-version</id>
125 <goal>copy-resources</goal>
126 </goals><!-- here the phase you need -->
127 <phase>validate</phase>
129 <outputDirectory>${basedir}/target/stage</outputDirectory>
132 <directory>src/main/resources/scripts</directory>
134 <include>install-feature.sh</include>
136 <filtering>true</filtering>