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.openecomp.sdnc.core</groupId>
6 <artifactId>filters</artifactId>
7 <version>1.0.0</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.openecomp.sdnc.core/filters-features/${project.version}/xml/features</features.repositories>
17 <include.transitive.dependencies>false</include.transitive.dependencies>
23 <groupId>org.openecomp.sdnc.core</groupId>
24 <artifactId>filters-features</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
37 <groupId>org.openecomp.sdnc.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>
65 <id>installer-zip</id>
69 <phase>package</phase>
72 <finalName>${application.name}-${project.version}-installer</finalName>
74 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-dependency-plugin</artifactId>
85 <id>copy-dependencies</id>
87 <goal>copy-dependencies</goal>
89 <phase>prepare-package</phase>
91 <transitive>false</transitive>
92 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
93 <overWriteReleases>false</overWriteReleases>
94 <overWriteSnapshots>true</overWriteSnapshots>
95 <overWriteIfNewer>true</overWriteIfNewer>
96 <useRepositoryLayout>true</useRepositoryLayout>
97 <addParentPoms>false</addParentPoms>
98 <copyPom>false</copyPom>
99 <includeGroupIds>org.openecomp.sdnc</includeGroupIds>
100 <excludeArtifactIds>sli-common,sli-provider</excludeArtifactIds>
101 <scope>provided</scope>
107 <artifactId>maven-resources-plugin</artifactId>
108 <version>2.6</version>
111 <id>copy-version</id>
113 <goal>copy-resources</goal>
114 </goals><!-- here the phase you need -->
115 <phase>validate</phase>
117 <outputDirectory>${basedir}/target/stage</outputDirectory>
120 <directory>src/main/resources/scripts</directory>
122 <include>install-feature.sh</include>
124 <filtering>true</filtering>