diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-07-18 01:06:39 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-07-18 09:18:43 -0500 |
commit | ae4a935b835c0dc588c7a53aef846dd6506b732f (patch) | |
tree | ce2371f6dde3ed453fc0db0affa00038b51ae242 /feature-healthcheck/src/assembly | |
parent | 8ce73e2fca0fdadd23e3557108742514af1205c3 (diff) |
[POLICY-66] self-contained features support
installation/enable/disable of self contained package features:
Feature 3rd party dependencies, configuration files, and
custom installation scripts do not need to be packaged within the policy
core base to be used.
Change-Id: I35a472e63bd0f9f7aa6cd0c112d41d2b4604a892
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'feature-healthcheck/src/assembly')
-rw-r--r-- | feature-healthcheck/src/assembly/assemble_zip.xml | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/feature-healthcheck/src/assembly/assemble_zip.xml b/feature-healthcheck/src/assembly/assemble_zip.xml index 51a752a3..fcbb652a 100644 --- a/feature-healthcheck/src/assembly/assemble_zip.xml +++ b/feature-healthcheck/src/assembly/assemble_zip.xml @@ -24,61 +24,51 @@ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> - <id>runtime</id> + <id>feature-healthcheck-package</id> <formats> <format>zip</format> </formats> - <!-- we want "system" and related files right at the root level as this - file is suppose to be unzip on top of a karaf distro. --> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>target</directory> - <outputDirectory>lib/opt</outputDirectory> + <outputDirectory>lib/feature</outputDirectory> <includes> <include>feature-healthcheck-${project.version}.jar</include> </includes> </fileSet> <fileSet> - <directory>target/assembly/</directory> - <outputDirectory>.</outputDirectory> - <excludes> - </excludes> - </fileSet> - <fileSet> - <directory>.</directory> - <outputDirectory>lib</outputDirectory> + <directory>target/assembly/lib</directory> + <outputDirectory>lib/dependencies</outputDirectory> <includes> <include>*.jar</include> </includes> </fileSet> <fileSet> - <directory>src/main/server-gen/bin</directory> - <outputDirectory>bin</outputDirectory> - <fileMode>0744</fileMode> - <excludes> - </excludes> + <directory>src/main/feature/config</directory> + <outputDirectory>config</outputDirectory> + <fileMode>0644</fileMode> + <excludes/> </fileSet> <fileSet> - <directory>src/main/server/bin</directory> + <directory>src/main/feature/bin</directory> <outputDirectory>bin</outputDirectory> <fileMode>0744</fileMode> - <excludes> - </excludes> + <excludes/> </fileSet> <fileSet> - <directory>src/main/server-gen/scripts</directory> - <outputDirectory>scripts</outputDirectory> - </fileSet> - <fileSet> - <directory>src/main/server/scripts</directory> - <outputDirectory>scripts</outputDirectory> + <directory>src/main/feature/db</directory> + <outputDirectory>db</outputDirectory> + <fileMode>0744</fileMode> + <excludes/> </fileSet> <fileSet> - <directory>src/main/server/config</directory> - <outputDirectory>config</outputDirectory> + <directory>src/main/feature/install</directory> + <outputDirectory>install</outputDirectory> + <fileMode>0744</fileMode> + <excludes/> </fileSet> </fileSets> |