| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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> |
| <id>bin</id> |
| <formats> |
| <format>tar.gz</format> |
| <format>zip</format> |
| </formats> |
| <fileSets> |
| <fileSet> |
| <directory>${project.build.outputDirectory}</directory> |
| <outputDirectory>/</outputDirectory> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </fileSet> |
| <fileSet> |
| <directory>${project.build.outputDirectory}</directory> |
| <outputDirectory>bin/</outputDirectory> |
| <includes> |
| <include>batchee</include> |
| </includes> |
| <lineEnding>unix</lineEnding> |
| <fileMode>0755</fileMode> |
| </fileSet> |
| <fileSet> |
| <directory>${project.build.outputDirectory}</directory> |
| <outputDirectory>conf/</outputDirectory> |
| <includes> |
| <include>logging.properties</include> |
| </includes> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| <fileSet> |
| <directory>${project.build.outputDirectory}/default</directory> |
| <outputDirectory>conf/</outputDirectory> |
| <includes> |
| <include>batchee-cli.properties</include> |
| </includes> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| <fileSet> |
| <directory>${project.build.directory}/</directory> |
| <outputDirectory>bin/</outputDirectory> |
| <includes> |
| <include>batchee-cli-*-bootstrap.jar</include> |
| </includes> |
| </fileSet> |
| <fileSet> |
| <directory>${project.build.directory}/</directory> |
| <outputDirectory>lib/</outputDirectory> |
| <includes> |
| <include>batchee-cli-*-runner.jar</include> |
| </includes> |
| </fileSet> |
| </fileSets> |
| <dependencySets> |
| <dependencySet> |
| <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping> |
| <outputDirectory>lib</outputDirectory> |
| <scope>runtime</scope> |
| <excludes> |
| <exclude>org.apache.batchee:batchee-cli</exclude> <!-- we use bootstrap and runner --> |
| </excludes> |
| </dependencySet> |
| </dependencySets> |
| </assembly> |