SENTRY-124: Create bin packaging (Brock Noland via Prasad Mujumdar)
(cherry picked from commit cf798ac71a5e0b2d9839fac9c08538bad4f05307)
diff --git a/sentry-dist/pom.xml b/sentry-dist/pom.xml
index 1190fe1..d6fdcf9 100644
--- a/sentry-dist/pom.xml
+++ b/sentry-dist/pom.xml
@@ -84,6 +84,7 @@
<finalName>sentry-${project.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/src.xml</descriptor>
+ <descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
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>
+