You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Andrew Luo (Jira)" <ji...@apache.org> on 2020/02/05 18:27:00 UTC

[jira] [Updated] (RANGER-2721) README.txt shows incorrect build command

     [ https://issues.apache.org/jira/browse/RANGER-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Luo updated RANGER-2721:
-------------------------------
    Attachment: 0001-RANGER-2721-Fix-build-instructions-in-README.txt-and.patch

> README.txt shows incorrect build command
> ----------------------------------------
>
>                 Key: RANGER-2721
>                 URL: https://issues.apache.org/jira/browse/RANGER-2721
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: master
>            Reporter: Andrew Luo
>            Priority: Trivial
>             Fix For: master
>
>         Attachments: 0001-RANGER-2721-Fix-build-instructions-in-README.txt-and.patch
>
>
> README.md still shows the command "{color:#24292e}mvn clean compile package install assembly:assembly{color}" in the instructions.  However, if you run this command, it fails due to a conflict between package and assembly:assembly with the error message "Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default) on project ranger-distro: Failed to create assembly: Error creating assembly archive admin: Problem creating TAR: entry 'ranger-2.1.0-SNAPSHOT-admin/ews/webapp/META-INF/MANIFEST.MF' closed at '0' before the '136' bytes specified in the header were written".  This is because after commit https://github.com/apache/ranger/commit/e06abc00667b3935ad86a146be73853fed807eda, the assembly:assembly phase is no longer needed (part of package now)
> This is a trivial fix to change the README.txt to update the instructions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)