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.openecomp.sdnc.core</groupId>
7 <version>1.0.0-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.openecomp.sdnc.core/sli-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
23 <groupId>org.openecomp.sdnc.core</groupId>
24 <artifactId>sli-features</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
37 <groupId>org.openecomp.sdnc.core</groupId>
38 <artifactId>sli-common</artifactId>
39 <version>${project.version}</version>
43 <groupId>org.openecomp.sdnc.core</groupId>
44 <artifactId>sli-provider</artifactId>
45 <version>${project.version}</version>
49 <groupId>org.openecomp.sdnc.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>
76 <id>installer-zip</id>
80 <phase>package</phase>
83 <finalName>${application.name}-${project.version}-installer</finalName>
85 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-dependency-plugin</artifactId>
96 <id>copy-dependencies</id>
98 <goal>copy-dependencies</goal>
100 <phase>prepare-package</phase>
102 <transitive>false</transitive>
103 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
104 <overWriteReleases>false</overWriteReleases>
105 <overWriteSnapshots>true</overWriteSnapshots>
106 <overWriteIfNewer>true</overWriteIfNewer>
107 <useRepositoryLayout>true</useRepositoryLayout>
108 <addParentPoms>false</addParentPoms>
109 <copyPom>false</copyPom>
110 <includeGroupIds>org.openecomp.sdnc</includeGroupIds>
111 <excludeArtifactIds>dblib-provider</excludeArtifactIds>
112 <scope>provided</scope>
118 <artifactId>maven-resources-plugin</artifactId>
119 <version>2.6</version>
122 <id>copy-version</id>
124 <goal>copy-resources</goal>
125 </goals><!-- here the phase you need -->
126 <phase>validate</phase>
128 <outputDirectory>${basedir}/target/stage</outputDirectory>
131 <directory>src/main/resources/scripts</directory>
133 <include>install-feature.sh</include>
135 <filtering>true</filtering>