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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent-lite</artifactId>
9 <version>1.0.2-SNAPSHOT</version>
13 <groupId>org.onap.ccsdk.sli.core</groupId>
14 <artifactId>sli-installer</artifactId>
15 <version>0.2.2-SNAPSHOT</version>
16 <packaging>pom</packaging>
18 <name>ccsdk-sli-core :: sli :: ${project.artifactId}</name>
21 <application.name>ccsdk-sli</application.name>
22 <features.boot>${application.name}</features.boot>
23 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
30 <groupId>org.onap.ccsdk.sli.core</groupId>
31 <artifactId>${application.name}</artifactId>
32 <version>${project.version}</version>
34 <classifier>features</classifier>
38 <artifactId>*</artifactId>
44 <groupId>org.onap.ccsdk.sli.core</groupId>
45 <artifactId>sli-common</artifactId>
46 <version>${project.version}</version>
50 <groupId>org.onap.ccsdk.sli.core</groupId>
51 <artifactId>sli-provider</artifactId>
52 <version>${project.version}</version>
56 <groupId>org.onap.ccsdk.sli.core</groupId>
57 <artifactId>sli-recording</artifactId>
58 <version>${project.version}</version>
61 <groupId>com.att.eelf</groupId>
62 <artifactId>eelf-core</artifactId>
63 <version>1.0.0</version>
66 <groupId>ch.qos.logback</groupId>
67 <artifactId>logback-core</artifactId>
68 <version>${logback.version}</version>
71 <groupId>ch.qos.logback</groupId>
72 <artifactId>logback-classic</artifactId>
73 <version>${logback.version}</version>
81 <artifactId>maven-assembly-plugin</artifactId>
84 <id>maven-repo-zip</id>
88 <phase>package</phase>
90 <attach>false</attach>
91 <finalName>stage/${application.name}-${project.version}</finalName>
93 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
95 <appendAssemblyId>false</appendAssemblyId>
99 <id>installer-zip</id>
103 <phase>package</phase>
105 <attach>true</attach>
106 <finalName>${application.name}-${project.version}-installer</finalName>
108 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
110 <appendAssemblyId>false</appendAssemblyId>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-dependency-plugin</artifactId>
120 <id>copy-dependencies</id>
122 <goal>copy-dependencies</goal>
124 <phase>prepare-package</phase>
126 <transitive>false</transitive>
127 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
128 <overWriteReleases>false</overWriteReleases>
129 <overWriteSnapshots>true</overWriteSnapshots>
130 <overWriteIfNewer>true</overWriteIfNewer>
131 <useRepositoryLayout>true</useRepositoryLayout>
132 <addParentPoms>false</addParentPoms>
133 <copyPom>false</copyPom>
134 <includeGroupIds>org.onap.ccsdk.sli.core,com.att.eelf,ch.qos.logback</includeGroupIds>
135 <excludeArtifactIds>utils-provider,dblib-provider</excludeArtifactIds>
136 <scope>provided</scope>
142 <artifactId>maven-resources-plugin</artifactId>
143 <version>2.6</version>
146 <id>copy-version</id>
148 <goal>copy-resources</goal>
149 </goals><!-- here the phase you need -->
150 <phase>validate</phase>
152 <outputDirectory>${basedir}/target/stage</outputDirectory>
155 <directory>src/main/resources/scripts</directory>
157 <include>install-feature.sh</include>
159 <filtering>true</filtering>