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.1.0</version>
13 <groupId>org.onap.ccsdk.sli.core</groupId>
14 <artifactId>dblib-installer</artifactId>
15 <version>0.3.1-SNAPSHOT</version>
16 <packaging>pom</packaging>
18 <name>ccsdk-sli-core :: dblib :: ${project.artifactId}</name>
21 <application.name>ccsdk-dblib</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>dblib-provider</artifactId>
46 <version>${project.version}</version>
50 <groupId>org.slf4j</groupId>
51 <artifactId>jcl-over-slf4j</artifactId>
52 <version>${slf4j.version}</version>
55 <groupId>org.apache.tomcat</groupId>
56 <artifactId>tomcat-jdbc</artifactId>
57 <version>${tomcat-jdbc.version}</version>
64 <artifactId>maven-assembly-plugin</artifactId>
67 <id>maven-repo-zip</id>
71 <phase>package</phase>
74 <finalName>stage/${application.name}-${project.version}</finalName>
76 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
78 <appendAssemblyId>true</appendAssemblyId>
82 <id>installer-zip</id>
86 <phase>package</phase>
89 <finalName>${application.name}-${project.version}-installer</finalName>
91 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
93 <appendAssemblyId>false</appendAssemblyId>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-dependency-plugin</artifactId>
103 <id>copy-dependencies</id>
105 <goal>copy-dependencies</goal>
107 <phase>prepare-package</phase>
109 <transitive>false</transitive>
110 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
111 <overWriteReleases>false</overWriteReleases>
112 <overWriteSnapshots>true</overWriteSnapshots>
113 <overWriteIfNewer>true</overWriteIfNewer>
114 <useRepositoryLayout>true</useRepositoryLayout>
115 <addParentPoms>false</addParentPoms>
116 <copyPom>false</copyPom>
117 <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds>
118 <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds>
119 <scope>provided</scope>
125 <artifactId>maven-resources-plugin</artifactId>
126 <version>2.6</version>
129 <id>copy-version</id>
131 <goal>copy-resources</goal>
132 </goals><!-- here the phase you need -->
133 <phase>validate</phase>
135 <outputDirectory>${basedir}/target/stage</outputDirectory>
138 <directory>src/main/resources/scripts</directory>
140 <include>install-feature.sh</include>
142 <filtering>true</filtering>