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.2.2-SNAPSHOT</version>
12 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>sli-installer</artifactId>
14 <version>0.4.2-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>
72 <version>1.0.0</version>
75 <groupId>ch.qos.logback</groupId>
76 <artifactId>logback-core</artifactId>
77 <version>${logback.version}</version>
80 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-classic</artifactId>
82 <version>${logback.version}</version>
90 <artifactId>maven-assembly-plugin</artifactId>
93 <id>maven-repo-zip</id>
97 <phase>package</phase>
100 <finalName>stage/${application.name}-${project.version}</finalName>
102 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
104 <appendAssemblyId>true</appendAssemblyId>
108 <id>installer-zip</id>
112 <phase>package</phase>
114 <attach>true</attach>
115 <finalName>${application.name}-${project.version}-installer</finalName>
117 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
119 <appendAssemblyId>false</appendAssemblyId>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-dependency-plugin</artifactId>
129 <id>copy-dependencies</id>
131 <goal>copy-dependencies</goal>
133 <phase>prepare-package</phase>
135 <transitive>false</transitive>
136 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
137 <overWriteReleases>false</overWriteReleases>
138 <overWriteSnapshots>true</overWriteSnapshots>
139 <overWriteIfNewer>true</overWriteIfNewer>
140 <useRepositoryLayout>true</useRepositoryLayout>
141 <addParentPoms>false</addParentPoms>
142 <copyPom>false</copyPom>
143 <includeGroupIds>org.onap.ccsdk.sli.core,com.att.eelf,ch.qos.logback</includeGroupIds>
144 <excludeArtifactIds>utils-provider,dblib-provider</excludeArtifactIds>
145 <scope>provided</scope>
151 <artifactId>maven-resources-plugin</artifactId>
152 <version>2.6</version>
155 <id>copy-version</id>
157 <goal>copy-resources</goal>
158 </goals><!-- here the phase you need -->
159 <phase>validate</phase>
161 <outputDirectory>${basedir}/target/stage</outputDirectory>
164 <directory>src/main/resources/scripts</directory>
166 <include>install-feature.sh</include>
168 <filtering>true</filtering>