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>
6 <artifactId>appc-artifact-handler</artifactId>
7 <groupId>org.openecomp.appc</groupId>
8 <version>1.2.0-SNAPSHOT</version>
10 <artifactId>appc-artifact-handler-installer</artifactId>
11 <name>appc-artifact-handler-installer</name>
12 <packaging>pom</packaging>
15 <application.name>appc-artifact-handler</application.name>
16 <features.boot>appc-artifact-handler</features.boot>
17 <features.repositories>mvn:org.openecomp.appc/appc-artifact-handler-features/${project.version}/xml/features</features.repositories>
18 <include.transitive.dependencies>false</include.transitive.dependencies>
24 <groupId>org.openecomp.appc</groupId>
25 <artifactId>appc-artifact-handler-features</artifactId>
26 <classifier>features</classifier>
31 <artifactId>*</artifactId>
36 <groupId>org.openecomp.appc</groupId>
37 <artifactId>appc-artifact-handler-provider</artifactId>
41 <groupId>org.openecomp.appc</groupId>
42 <artifactId>appc-artifact-handler-provider</artifactId>
43 <version>${project.version}</version>
44 <classifier>config</classifier>
53 <artifactId>maven-assembly-plugin</artifactId>
56 <id>maven-repo-zip</id>
60 <phase>package</phase>
62 <appendAssemblyId>false</appendAssemblyId>
63 <attach>false</attach>
64 <finalName>stage/${application.name}-${project.version}</finalName>
66 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
71 <id>installer-zip</id>
75 <phase>package</phase>
77 <appendAssemblyId>false</appendAssemblyId>
79 <finalName>${application.name}-${project.version}</finalName>
81 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-dependency-plugin</artifactId>
92 <id>copy-dependencies</id>
94 <goal>copy-dependencies</goal>
96 <phase>prepare-package</phase>
98 <transitive>false</transitive>
99 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
100 <overWriteReleases>false</overWriteReleases>
101 <overWriteSnapshots>true</overWriteSnapshots>
102 <overWriteIfNewer>true</overWriteIfNewer>
103 <useRepositoryLayout>true</useRepositoryLayout>
104 <addParentPoms>false</addParentPoms>
105 <copyPom>false</copyPom>
106 <excludeGroupIds>org.opendaylight</excludeGroupIds>
107 <scope>provided</scope>
113 <artifactId>maven-resources-plugin</artifactId>
116 <id>copy-version</id>
118 <goal>copy-resources</goal>
120 <!-- here the phase you need -->
121 <phase>validate</phase>
123 <outputDirectory>${basedir}/target/stage</outputDirectory>
126 <directory>src/main/resources/scripts</directory>
128 <include>install-feature.sh</include>
130 <filtering>true</filtering>