Repository: incubator-sentry Updated Branches: refs/heads/master 06d2b3491 -> cf798ac71
SENTRY-124: Create bin packaging (Brock Noland via Prasad Mujumdar) Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/cf798ac7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/cf798ac7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/cf798ac7 Branch: refs/heads/master Commit: cf798ac71a5e0b2d9839fac9c08538bad4f05307 Parents: 06d2b34 Author: Prasad Mujumdar <[email protected]> Authored: Mon Feb 24 14:24:48 2014 -0800 Committer: Prasad Mujumdar <[email protected]> Committed: Mon Feb 24 14:25:31 2014 -0800 ---------------------------------------------------------------------- sentry-dist/pom.xml | 1 + sentry-dist/src/main/assembly/bin.xml | 82 ++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/cf798ac7/sentry-dist/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-dist/pom.xml b/sentry-dist/pom.xml index 62f1c79..e43bb7c 100644 --- a/sentry-dist/pom.xml +++ b/sentry-dist/pom.xml @@ -84,6 +84,7 @@ limitations under the License. <finalName>apache-sentry-${project.version}</finalName> <descriptors> <descriptor>src/main/assembly/src.xml</descriptor> + <descriptor>src/main/assembly/bin.xml</descriptor> </descriptors> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/cf798ac7/sentry-dist/src/main/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/sentry-dist/src/main/assembly/bin.xml b/sentry-dist/src/main/assembly/bin.xml new file mode 100644 index 0000000..7c7c4a9 --- /dev/null +++ b/sentry-dist/src/main/assembly/bin.xml @@ -0,0 +1,82 @@ +<!-- + 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 + 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>bin</id> + + <formats> + <format>dir</format> + <format>tar.gz</format> + </formats> + + <baseDirectory>apache-sentry-${project.version}-bin</baseDirectory> + + + <dependencySets> + <dependencySet> + <outputDirectory>lib</outputDirectory> + <unpack>false</unpack> + <useProjectArtifact>false</useProjectArtifact> + <useStrictFiltering>true</useStrictFiltering> + <useTransitiveFiltering>true</useTransitiveFiltering> + <excludes> + <exclude>org.slf4j:*</exclude> + </excludes> + </dependencySet> + </dependencySets> + <fileSets> + <fileSet> + <directory>${project.parent.basedir}</directory> + + <excludes> + <exclude>**/target/**</exclude> + <exclude>**/.classpath</exclude> + <exclude>**/.project</exclude> + <exclude>**/.settings/**</exclude> + <exclude>**/.gitignore</exclude> + <exclude>dev-support/**</exclude> + <exclude>pom.xml</exclude> + <exclude>sentry-binding/**</exclude> + <exclude>sentry-core/**</exclude> + <exclude>sentry-dist/**</exclude> + <exclude>sentry-provider/**</exclude> + <exclude>sentry-policy/**</exclude> + <exclude>sentry-tests/**</exclude> + </excludes> + + <includes> + <include>bin/**</include> + <include>conf/**</include> + <include>lib/**</include> + <include>CHANGELOG*</include> + <include>DISCLAIMER*</include> + <include>LICENSE*</include> + <include>NOTICE*</include> + <include>README*</include> + </includes> + <outputDirectory>/</outputDirectory> + </fileSet> + </fileSets> + +</assembly> +
