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.appc</groupId>
6 <artifactId>appc-command-executor</artifactId>
7 <version>1.2.1-SNAPSHOT</version>
10 <artifactId>appc-command-executor-installer</artifactId>
11 <name>APPC Command Executor - Karaf Installer</name>
12 <packaging>pom</packaging>
15 <application.name>appc-command-executor</application.name>
16 <features.boot>appc-command-executor</features.boot>
17 <features.repositories>
18 mvn:org.openecomp.appc/appc-command-executor-features/${project.version}/xml/features
19 </features.repositories>
20 <include.transitive.dependencies>false</include.transitive.dependencies>
25 <groupId>org.openecomp.appc</groupId>
26 <artifactId>appc-command-executor-features</artifactId>
27 <version>${project.version}</version>
28 <classifier>features</classifier>
33 <artifactId>*</artifactId>
38 <groupId>org.openecomp.appc</groupId>
39 <artifactId>appc-command-executor-api</artifactId>
40 <version>${project.version}</version>
43 <groupId>org.openecomp.appc</groupId>
44 <artifactId>appc-command-executor-core</artifactId>
45 <version>${project.version}</version>
52 <artifactId>maven-assembly-plugin</artifactId>
55 <id>maven-repo-zip</id>
59 <phase>package</phase>
61 <appendAssemblyId>false</appendAssemblyId>
62 <attach>false</attach>
63 <finalName>stage/${application.name}-${project.version}</finalName>
65 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
70 <id>installer-zip</id>
74 <phase>package</phase>
76 <appendAssemblyId>false</appendAssemblyId>
78 <finalName>${application.name}-${project.version}</finalName>
80 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-dependency-plugin</artifactId>
91 <id>copy-dependencies</id>
93 <goal>copy-dependencies</goal>
95 <phase>prepare-package</phase>
97 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
98 <overWriteReleases>false</overWriteReleases>
99 <overWriteSnapshots>true</overWriteSnapshots>
100 <overWriteIfNewer>true</overWriteIfNewer>
101 <useRepositoryLayout>true</useRepositoryLayout>
102 <addParentPoms>false</addParentPoms>
103 <copyPom>false</copyPom>
104 <excludeGroupIds>org.opendaylight</excludeGroupIds>
110 <artifactId>maven-resources-plugin</artifactId>
113 <id>copy-version</id>
115 <goal>copy-resources</goal>
117 <!-- here the phase you need -->
118 <phase>validate</phase>
120 <outputDirectory>${basedir}/target/stage</outputDirectory>
123 <directory>src/main/resources/scripts</directory>
125 <include>install-feature.sh</include>
127 <filtering>true</filtering>