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>
5 <artifactId>sli</artifactId>
6 <groupId>org.onap.ccsdk.sli.core</groupId>
7 <version>0.1.2-SNAPSHOT</version>
9 <artifactId>sli-installer</artifactId>
10 <name>SLI - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>sdnc-sli</application.name>
15 <features.boot>sdnc-sli</features.boot>
16 <features.repositories>mvn:org.onap.ccsdk.sli.core/sli-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
23 <groupId>org.onap.ccsdk.sli.core</groupId>
24 <artifactId>sli-features</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
37 <groupId>org.onap.ccsdk.sli.core</groupId>
38 <artifactId>sli-common</artifactId>
39 <version>${project.version}</version>
43 <groupId>org.onap.ccsdk.sli.core</groupId>
44 <artifactId>sli-provider</artifactId>
45 <version>${project.version}</version>
49 <groupId>org.onap.ccsdk.sli.core</groupId>
50 <artifactId>sli-recording</artifactId>
51 <version>${project.version}</version>
59 <artifactId>maven-assembly-plugin</artifactId>
62 <id>maven-repo-zip</id>
66 <phase>package</phase>
68 <attach>false</attach>
69 <finalName>stage/${application.name}-${project.version}</finalName>
71 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
73 <appendAssemblyId>false</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</includeGroupIds>
113 <excludeArtifactIds>dblib-provider</excludeArtifactIds>
114 <scope>provided</scope>
120 <artifactId>maven-resources-plugin</artifactId>
121 <version>2.6</version>
124 <id>copy-version</id>
126 <goal>copy-resources</goal>
127 </goals><!-- here the phase you need -->
128 <phase>validate</phase>
130 <outputDirectory>${basedir}/target/stage</outputDirectory>
133 <directory>src/main/resources/scripts</directory>
135 <include>install-feature.sh</include>
137 <filtering>true</filtering>