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 <artifactId>appc-provider</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
10 <artifactId>appc-provider-installer</artifactId>
11 <name>APPC Provider - Karaf Installer</name>
12 <packaging>pom</packaging>
15 <application.name>appc-provider</application.name>
16 <features.boot>appc-provider</features.boot>
17 <features.repositories>mvn:org.openecomp.appc/appc-provider-features/${project.version}/xml/features</features.repositories>
18 <include.transitive.dependencies>false</include.transitive.dependencies>
24 <groupId>org.openecomp.appc</groupId>
25 <artifactId>appc-provider-features</artifactId>
26 <version>${project.version}</version>
27 <classifier>features</classifier>
32 <artifactId>*</artifactId>
38 <groupId>org.openecomp.appc</groupId>
39 <artifactId>appc-provider-bundle</artifactId>
40 <version>${project.version}</version>
44 <groupId>org.openecomp.appc</groupId>
45 <artifactId>appc-provider-bundle</artifactId>
46 <version>${project.version}</version>
47 <classifier>config</classifier>
56 <artifactId>maven-assembly-plugin</artifactId>
59 <id>maven-repo-zip</id>
63 <phase>package</phase>
65 <appendAssemblyId>false</appendAssemblyId>
66 <attach>false</attach>
67 <finalName>stage/${application.name}-${project.version}</finalName>
69 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
74 <id>installer-zip</id>
78 <phase>package</phase>
80 <appendAssemblyId>false</appendAssemblyId>
82 <finalName>${application.name}-${project.version}</finalName>
84 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-dependency-plugin</artifactId>
95 <id>copy-dependencies</id>
97 <goal>copy-dependencies</goal>
99 <phase>prepare-package</phase>
101 <transitive>false</transitive>
102 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
103 <overWriteReleases>false</overWriteReleases>
104 <overWriteSnapshots>true</overWriteSnapshots>
105 <overWriteIfNewer>true</overWriteIfNewer>
106 <useRepositoryLayout>true</useRepositoryLayout>
107 <addParentPoms>false</addParentPoms>
108 <copyPom>false</copyPom>
109 <excludeGroupIds>org.opendaylight</excludeGroupIds>
110 <scope>provided</scope>
116 <artifactId>maven-resources-plugin</artifactId>
119 <id>copy-version</id>
121 <goal>copy-resources</goal>
123 <!-- here the phase you need -->
124 <phase>validate</phase>
126 <outputDirectory>${basedir}/target/stage</outputDirectory>
129 <directory>src/main/resources/scripts</directory>
131 <include>install-feature.sh</include>
133 <filtering>true</filtering>