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-dispatcher</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
10 <artifactId>appc-dispatcher-installer</artifactId>
11 <name>APPC Dispatcher - Karaf Installer</name>
12 <packaging>pom</packaging>
15 <application.name>appc-dispatcher</application.name>
16 <features.boot>appc-dispatcher</features.boot>
17 <features.boot.licenseManager>appc-license-manager</features.boot.licenseManager>
18 <!--<features.repositories>mvn:org.openecomp.appc/appc-dispatcher-features/${project.version}/xml/features,mvn:org.openecomp.appc/appc-request-handler-features/${project.version}/xml/features,mvn:org.openecomp.appc/appc-command-executor-features/${project.version}/xml/features,mvn:org.openecomp.appc/appc-lifecycle-management-features/${project.version}/xml/features,mvn:org.openecomp.appc/appc-license-manager-features/${project.version}/xml/features,mvn:org.openecomp.appc/appc-workflow-management-features/${project.version}/xml/features,mvn:org.openecomp.appc/lock-manager-features/${project.version}/xml/features</features.repositories>-->
20 <!-- SEPARATING FEATURE INSTALLS -->
21 <features.repo.dispatcher>mvn:org.openecomp.appc/appc-dispatcher-features/${project.version}/xml/features</features.repo.dispatcher>
22 <features.repo.requestHandler>mvn:org.openecomp.appc/appc-request-handler-features/${project.version}/xml/features</features.repo.requestHandler>
23 <features.repo.commandExecutor>mvn:org.openecomp.appc/appc-command-executor-features/${project.version}/xml/features</features.repo.commandExecutor>
24 <features.repo.lifecycleManagement>mvn:org.openecomp.appc/appc-lifecycle-management-features/${project.version}/xml/features</features.repo.lifecycleManagement>
25 <features.repo.licenseManager>mvn:org.openecomp.appc/appc-license-manager-features/${project.version}/xml/features</features.repo.licenseManager>
26 <features.repo.workflowManagement>mvn:org.openecomp.appc/appc-workflow-management-features/${project.version}/xml/features</features.repo.workflowManagement>
27 <features.repo.lockManager>mvn:org.openecomp.appc/lock-manager-features/${project.version}/xml/features</features.repo.lockManager>
29 <include.transitive.dependencies>false</include.transitive.dependencies>
35 <groupId>org.openecomp.appc</groupId>
36 <artifactId>appc-dispatcher-features</artifactId>
37 <version>${project.version}</version>
38 <classifier>features</classifier>
43 <artifactId>*</artifactId>
49 <groupId>org.openecomp.appc</groupId>
50 <artifactId>appc-request-handler-features</artifactId>
51 <version>${project.version}</version>
52 <classifier>features</classifier>
57 <artifactId>*</artifactId>
63 <groupId>org.openecomp.appc</groupId>
64 <artifactId>appc-command-executor-features</artifactId>
65 <version>${project.version}</version>
66 <classifier>features</classifier>
71 <artifactId>*</artifactId>
77 <groupId>org.openecomp.appc</groupId>
78 <artifactId>appc-lifecycle-management-features</artifactId>
79 <version>${project.version}</version>
80 <classifier>features</classifier>
85 <artifactId>*</artifactId>
91 <groupId>org.openecomp.appc</groupId>
92 <artifactId>appc-workflow-management-features</artifactId>
93 <version>${project.version}</version>
94 <classifier>features</classifier>
99 <artifactId>*</artifactId>
105 <groupId>org.openecomp.appc</groupId>
106 <artifactId>appc-license-manager-features</artifactId>
107 <version>${project.version}</version>
108 <classifier>features</classifier>
113 <artifactId>*</artifactId>
119 <groupId>org.openecomp.appc</groupId>
120 <artifactId>lock-manager-features</artifactId>
121 <version>${project.version}</version>
122 <classifier>features</classifier>
127 <artifactId>*</artifactId>
136 <artifactId>maven-assembly-plugin</artifactId>
139 <id>maven-repo-zip</id>
143 <phase>package</phase>
145 <appendAssemblyId>false</appendAssemblyId>
146 <attach>false</attach>
147 <finalName>stage/${application.name}-${project.version}</finalName>
149 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
154 <id>installer-zip</id>
158 <phase>package</phase>
160 <appendAssemblyId>false</appendAssemblyId>
161 <attach>true</attach>
162 <finalName>${application.name}-${project.version}</finalName>
164 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-dependency-plugin</artifactId>
175 <id>copy-dependencies</id>
177 <goal>copy-dependencies</goal>
179 <phase>prepare-package</phase>
181 <transitive>false</transitive>
182 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
183 <overWriteReleases>false</overWriteReleases>
184 <overWriteSnapshots>true</overWriteSnapshots>
185 <overWriteIfNewer>true</overWriteIfNewer>
186 <useRepositoryLayout>true</useRepositoryLayout>
187 <addParentPoms>false</addParentPoms>
188 <copyPom>false</copyPom>
189 <excludeGroupIds>org.opendaylight</excludeGroupIds>
190 <scope>provided</scope>
196 <artifactId>maven-resources-plugin</artifactId>
199 <id>copy-version</id>
201 <goal>copy-resources</goal>
203 <!-- here the phase you need -->
204 <phase>validate</phase>
206 <outputDirectory>${basedir}/target/stage</outputDirectory>
209 <directory>src/main/resources/scripts</directory>
211 <include>install-feature.sh</include>
213 <filtering>true</filtering>