diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-08-11 13:03:40 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-08-16 15:39:36 +0200 |
commit | 0f5925e907ab8f37eefc29a1843f4beb6ba9f4a8 (patch) | |
tree | 7ac8d76a87cfdf3de9acf3c21d7203d777fd1370 /common/minimal-assembly-descriptor | |
parent | 0c1ed90342b8eec2d651216550ab089b96156e55 (diff) |
HONEYCOMB-21 Common parents for minimal distributions
Change-Id: Iaa2e3f80289444d1a965eaaebfdb4a77d1bea301
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'common/minimal-assembly-descriptor')
-rw-r--r-- | common/minimal-assembly-descriptor/pom.xml | 24 | ||||
-rw-r--r-- | common/minimal-assembly-descriptor/src/main/resources/assemblies/honeycomb-minimal.xml | 45 |
2 files changed, 69 insertions, 0 deletions
diff --git a/common/minimal-assembly-descriptor/pom.xml b/common/minimal-assembly-descriptor/pom.xml new file mode 100644 index 000000000..ff00fbb40 --- /dev/null +++ b/common/minimal-assembly-descriptor/pom.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2015 Cisco and/or its affiliates. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<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"> + + <groupId>io.fd.honeycomb.common</groupId> + <artifactId>minimal-assembly-descriptor</artifactId> + <version>1.0.0-SNAPSHOT</version> + <name>${project.artifactId}</name> + <modelVersion>4.0.0</modelVersion> + +</project> diff --git a/common/minimal-assembly-descriptor/src/main/resources/assemblies/honeycomb-minimal.xml b/common/minimal-assembly-descriptor/src/main/resources/assemblies/honeycomb-minimal.xml new file mode 100644 index 000000000..03f403b21 --- /dev/null +++ b/common/minimal-assembly-descriptor/src/main/resources/assemblies/honeycomb-minimal.xml @@ -0,0 +1,45 @@ +<!-- + ~ Copyright (c) 2016 Cisco and/or its affiliates. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at: + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <id>hc</id> + <formats> + <format>tar.gz</format> + <format>zip</format> + </formats> + <fileSets> + <fileSet> + <directory>${project.build.directory}</directory> + <outputDirectory/> + <includes> + <include>${project.artifactId}-${project.version}.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.build.directory}/lib</directory> + <outputDirectory>lib</outputDirectory> + <includes> + <include>*.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.build.outputDirectory}/honeycomb-minimal-resources</directory> + <outputDirectory/> + </fileSet> + </fileSets> +</assembly>
\ No newline at end of file |