Repository: zeppelin
Updated Branches:
  refs/heads/master 9d90ccca6 -> 7420f2df7


[ZEPPELIN-1934] maven-assembly-plugin fails make-assembly if executing user's 
ID is "too big"

### What is this PR for?
maven-assembly-plugin fails make-assembly execution when the executing user's 
ID is "too big."
If domain account, managed by Active Directory or Os X, it assigned very large 
user IDs that inconsistent with GNU tar archiver and maven-assembly-plugin's 
configuration property tarLongFileMode  should be set to posix value.
See proof links below:
http://maven.apache.org/plugins-archives/maven-assembly-plugin-2.6/assembly-mojo.html
http://stackoverflow.com/questions/30246705/mvn-failure-on-build

### What type of PR is it?
Improvement

### Todos
N/A

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1934

### How should this be tested?
Manually

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? - NO
* Is there breaking changes for older versions? - NO
* Does this needs documentation? - NO

Author: DmytroShkvyra <[email protected]>

Closes #1961 from DmytroShkvyra/ZEPPELIN-1934 and squashes the following 
commits:

dd15d64 [DmytroShkvyra] [ZEPPELIN-1934] Building from source documentation


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/7420f2df
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/7420f2df
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/7420f2df

Branch: refs/heads/master
Commit: 7420f2df7590efa89f135d330de5973d2d4ad212
Parents: 9d90ccc
Author: DmytroShkvyra <[email protected]>
Authored: Mon Jan 30 19:24:28 2017 +0200
Committer: Jongyoul Lee <[email protected]>
Committed: Thu Feb 2 15:55:44 2017 +0900

----------------------------------------------------------------------
 zeppelin-distribution/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/7420f2df/zeppelin-distribution/pom.xml
----------------------------------------------------------------------
diff --git a/zeppelin-distribution/pom.xml b/zeppelin-distribution/pom.xml
index 9e3665c..36c3522 100644
--- a/zeppelin-distribution/pom.xml
+++ b/zeppelin-distribution/pom.xml
@@ -95,6 +95,7 @@
           
<finalName>${project.parent.artifactId}-${project.version}</finalName>
           <appendAssemblyId>false</appendAssemblyId>
           <attach>false</attach>
+          <tarLongFileMode>posix</tarLongFileMode>
           <descriptors>
             <descriptor>src/assemble/distribution.xml</descriptor>
           </descriptors>
@@ -157,6 +158,9 @@
           </plugin>
           <plugin>
             <artifactId>maven-assembly-plugin</artifactId>
+            <configuration>
+              <tarLongFileMode>posix</tarLongFileMode>
+            </configuration>
             <executions>
               <execution>
                 <id>make-assembly</id>

Reply via email to