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>
5 <groupId>org.onap.ccsdk.sli.core</groupId>
6 <artifactId>filters</artifactId>
7 <version>0.1.2-SNAPSHOT</version>
9 <artifactId>filters-installer</artifactId>
10 <name>Filters - Karaf Installer</name>
11 <packaging>pom</packaging>
14 <application.name>sdnc-filters</application.name>
15 <features.boot>sdnc-filters</features.boot>
16 <features.repositories>mvn:org.onap.ccsdk.sli.core/filters-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
23 <groupId>org.onap.ccsdk.sli.core</groupId>
24 <artifactId>filters-features</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
37 <groupId>org.onap.ccsdk.sli.core</groupId>
38 <artifactId>filters-provider</artifactId>
39 <version>${project.version}</version>
48 <artifactId>maven-assembly-plugin</artifactId>
51 <id>maven-repo-zip</id>
55 <phase>package</phase>
57 <attach>false</attach>
58 <finalName>stage/${application.name}-${project.version}</finalName>
60 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
62 <appendAssemblyId>false</appendAssemblyId>
66 <id>installer-zip</id>
70 <phase>package</phase>
73 <finalName>${application.name}-${project.version}-installer</finalName>
75 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
77 <appendAssemblyId>false</appendAssemblyId>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-dependency-plugin</artifactId>
87 <id>copy-dependencies</id>
89 <goal>copy-dependencies</goal>
91 <phase>prepare-package</phase>
93 <transitive>false</transitive>
94 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
95 <overWriteReleases>false</overWriteReleases>
96 <overWriteSnapshots>true</overWriteSnapshots>
97 <overWriteIfNewer>true</overWriteIfNewer>
98 <useRepositoryLayout>true</useRepositoryLayout>
99 <addParentPoms>false</addParentPoms>
100 <copyPom>false</copyPom>
101 <includeGroupIds>org.onap.ccsdk.sli</includeGroupIds>
102 <excludeArtifactIds>sli-common,sli-provider</excludeArtifactIds>
103 <scope>provided</scope>
109 <artifactId>maven-resources-plugin</artifactId>
110 <version>2.6</version>
113 <id>copy-version</id>
115 <goal>copy-resources</goal>
116 </goals><!-- here the phase you need -->
117 <phase>validate</phase>
119 <outputDirectory>${basedir}/target/stage</outputDirectory>
122 <directory>src/main/resources/scripts</directory>
124 <include>install-feature.sh</include>
126 <filtering>true</filtering>