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.5.0-SNAPSHOT</version>
12 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>sli-installer</artifactId>
14 <version>0.7.0-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-sli-core :: sli :: ${project.artifactId}</name>
20 <application.name>ccsdk-sli</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
26 <dependencyManagement>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>dblib-provider</artifactId>
31 <version>${project.version}</version>
34 </dependencyManagement>
39 <groupId>org.onap.ccsdk.sli.core</groupId>
40 <artifactId>${application.name}</artifactId>
41 <version>${project.version}</version>
43 <classifier>features</classifier>
47 <artifactId>*</artifactId>
53 <groupId>org.onap.ccsdk.sli.core</groupId>
54 <artifactId>sli-common</artifactId>
55 <version>${project.version}</version>
59 <groupId>org.onap.ccsdk.sli.core</groupId>
60 <artifactId>sli-provider</artifactId>
61 <version>${project.version}</version>
65 <groupId>org.onap.ccsdk.sli.core</groupId>
66 <artifactId>sli-recording</artifactId>
67 <version>${project.version}</version>
70 <groupId>com.att.eelf</groupId>
71 <artifactId>eelf-core</artifactId>
74 <groupId>ch.qos.logback</groupId>
75 <artifactId>logback-core</artifactId>
78 <groupId>ch.qos.logback</groupId>
79 <artifactId>logback-classic</artifactId>
87 <artifactId>maven-assembly-plugin</artifactId>
90 <id>maven-repo-zip</id>
94 <phase>package</phase>
97 <finalName>stage/${application.name}-${project.version}</finalName>
99 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
101 <appendAssemblyId>true</appendAssemblyId>
105 <id>installer-zip</id>
109 <phase>package</phase>
111 <attach>true</attach>
112 <finalName>${application.name}-${project.version}-installer</finalName>
114 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
116 <appendAssemblyId>false</appendAssemblyId>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-dependency-plugin</artifactId>
126 <id>copy-dependencies</id>
128 <goal>copy-dependencies</goal>
130 <phase>prepare-package</phase>
132 <transitive>false</transitive>
133 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
134 <overWriteReleases>false</overWriteReleases>
135 <overWriteSnapshots>true</overWriteSnapshots>
136 <overWriteIfNewer>true</overWriteIfNewer>
137 <useRepositoryLayout>true</useRepositoryLayout>
138 <addParentPoms>false</addParentPoms>
139 <copyPom>false</copyPom>
140 <includeGroupIds>org.onap.ccsdk.sli.core,com.att.eelf,ch.qos.logback</includeGroupIds>
141 <excludeArtifactIds>utils-provider,dblib-provider</excludeArtifactIds>
142 <scope>provided</scope>
148 <artifactId>maven-resources-plugin</artifactId>
149 <version>2.6</version>
152 <id>copy-version</id>
154 <goal>copy-resources</goal>
155 </goals><!-- here the phase you need -->
156 <phase>validate</phase>
158 <outputDirectory>${basedir}/target/stage</outputDirectory>
161 <directory>src/main/resources/scripts</directory>
163 <include>install-feature.sh</include>
165 <filtering>true</filtering>