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.3.0-SNAPSHOT</version>
12 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>dblib-installer</artifactId>
14 <version>0.5.0-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-sli-core :: dblib :: ${project.artifactId}</name>
20 <application.name>ccsdk-dblib</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>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
33 <classifier>features</classifier>
37 <artifactId>*</artifactId>
43 <groupId>org.onap.ccsdk.sli.core</groupId>
44 <artifactId>dblib-provider</artifactId>
45 <version>${project.version}</version>
49 <groupId>org.slf4j</groupId>
50 <artifactId>jcl-over-slf4j</artifactId>
53 <groupId>org.apache.tomcat</groupId>
54 <artifactId>tomcat-jdbc</artifactId>
61 <artifactId>maven-assembly-plugin</artifactId>
64 <id>maven-repo-zip</id>
68 <phase>package</phase>
71 <finalName>stage/${application.name}-${project.version}</finalName>
73 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
75 <appendAssemblyId>true</appendAssemblyId>
79 <id>installer-zip</id>
83 <phase>package</phase>
86 <finalName>${application.name}-${project.version}-installer</finalName>
88 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
90 <appendAssemblyId>false</appendAssemblyId>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-dependency-plugin</artifactId>
100 <id>copy-dependencies</id>
102 <goal>copy-dependencies</goal>
104 <phase>prepare-package</phase>
106 <transitive>false</transitive>
107 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
108 <overWriteReleases>false</overWriteReleases>
109 <overWriteSnapshots>true</overWriteSnapshots>
110 <overWriteIfNewer>true</overWriteIfNewer>
111 <useRepositoryLayout>true</useRepositoryLayout>
112 <addParentPoms>false</addParentPoms>
113 <copyPom>false</copyPom>
114 <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds>
115 <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds>
116 <scope>provided</scope>
122 <artifactId>maven-resources-plugin</artifactId>
123 <version>2.6</version>
126 <id>copy-version</id>
128 <goal>copy-resources</goal>
129 </goals><!-- here the phase you need -->
130 <phase>validate</phase>
132 <outputDirectory>${basedir}/target/stage</outputDirectory>
135 <directory>src/main/resources/scripts</directory>
137 <include>install-feature.sh</include>
139 <filtering>true</filtering>