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>sliapi</artifactId>
6 <groupId>org.openecomp.sdnc.core</groupId>
7 <version>1.1.0-SNAPSHOT</version>
9 <artifactId>sliapi-installer</artifactId>
10 <packaging>pom</packaging>
13 <application.name>sdnc-sliapi</application.name>
14 <features.boot>sdnc-sliapi</features.boot>
15 <features.repositories>mvn:org.openecomp.sdnc.core/sliapi-features/${project.version}/xml/features</features.repositories>
16 <include.transitive.dependencies>false</include.transitive.dependencies>
22 <groupId>org.openecomp.sdnc.core</groupId>
23 <artifactId>sliapi-features</artifactId>
24 <version>${project.version}</version>
25 <classifier>features</classifier>
30 <artifactId>*</artifactId>
36 <groupId>org.openecomp.sdnc.core</groupId>
37 <artifactId>sliapi-provider</artifactId>
38 <version>${project.version}</version>
47 <artifactId>maven-assembly-plugin</artifactId>
50 <id>maven-repo-zip</id>
54 <phase>package</phase>
56 <attach>false</attach>
57 <finalName>stage/${application.name}-${project.version}</finalName>
59 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
61 <appendAssemblyId>false</appendAssemblyId>
65 <id>installer-zip</id>
69 <phase>package</phase>
72 <finalName>${application.name}-${project.version}-installer</finalName>
74 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
76 <appendAssemblyId>false</appendAssemblyId>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-dependency-plugin</artifactId>
86 <id>copy-dependencies</id>
88 <goal>copy-dependencies</goal>
90 <phase>prepare-package</phase>
92 <transitive>false</transitive>
93 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
94 <overWriteReleases>false</overWriteReleases>
95 <overWriteSnapshots>true</overWriteSnapshots>
96 <overWriteIfNewer>true</overWriteIfNewer>
97 <useRepositoryLayout>true</useRepositoryLayout>
98 <addParentPoms>false</addParentPoms>
99 <copyPom>false</copyPom>
100 <includeGroupIds>org.openecomp.sdnc.core</includeGroupIds>
101 <excludeArtifactIds>sli-common,sli-provider,dblib-provider</excludeArtifactIds>
102 <scope>provided</scope>
108 <artifactId>maven-resources-plugin</artifactId>
109 <version>2.6</version>
112 <id>copy-version</id>
114 <goal>copy-resources</goal>
115 </goals><!-- here the phase you need -->
116 <phase>validate</phase>
118 <outputDirectory>${basedir}/target/stage</outputDirectory>
121 <directory>src/main/resources/scripts</directory>
123 <include>install-feature.sh</include>
125 <filtering>true</filtering>