Discussion:
[jira] [Created] (MPOM-132) assembly plugin should use posix, not gnu for tarLongFileMode
Christopher Tubbs (JIRA)
2016-07-07 19:55:11 UTC
Permalink
Christopher Tubbs created MPOM-132:
--------------------------------------

Summary: assembly plugin should use posix, not gnu for tarLongFileMode
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Priority: Trivial
Fix For: ASF-19


{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.

Instead of the release profile's execution of the source-release-assembly using the above setting, that should be removed from the assembly configuration, and instead, the parent pom should add the following to the {{<properties>}}:

{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Karl Heinz Marbaise (JIRA)
2016-08-27 15:33:21 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MPOM-132.
------------------------------------
Resolution: Fixed
Assignee: Karl Heinz Marbaise

Done in [r1758050|https://svn.apache.org/r1758050]
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Hudson (JIRA)
2016-08-27 15:43:20 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15441795#comment-15441795 ]

Hudson commented on MPOM-132:
-----------------------------

SUCCESS: Integrated in Jenkins build ASF Parent Pom #156 (See [https://builds.apache.org/job/ASF%20Parent%20Pom/156/])
[MPOM-132] assembly plugin should use posix, not gnu for tarLongFileMode (khmarbaise: [http://svn.apache.org/viewvc/?view=rev&rev=1758050])
* (edit) pom.xml
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Christopher Tubbs (JIRA)
2016-08-27 16:02:21 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs reopened MPOM-132:
------------------------------------

I looked at the diff, and it adds the property, but the execution of the maven-assembly-plugin [still has gnu in its config section|http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup#l348].
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Karl Heinz Marbaise (JIRA)
2016-08-30 10:20:20 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15448663#comment-15448663 ]

Karl Heinz Marbaise commented on MPOM-132:
------------------------------------------

Hi, sure you are right...I will fix thanks for the catch.
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Karl Heinz Marbaise (JIRA)
2016-08-30 21:09:20 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MPOM-132.
------------------------------------
Resolution: Fixed

Done i [r1758470|https://svn.apache.org/r1758470]
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Karl Heinz Marbaise (JIRA)
2016-08-30 21:10:21 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450160#comment-15450160 ]

Karl Heinz Marbaise edited comment on MPOM-132 at 8/30/16 9:09 PM:
-------------------------------------------------------------------

Done in [r1758470|https://svn.apache.org/r1758470]


was (Author: khmarbaise):
Done i [r1758470|https://svn.apache.org/r1758470]
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Hudson (JIRA)
2016-08-30 21:43:20 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450232#comment-15450232 ]

Hudson commented on MPOM-132:
-----------------------------

SUCCESS: Integrated in Jenkins build ASF Parent Pom #157 (See [https://builds.apache.org/job/ASF%20Parent%20Pom/157/])
[MPOM-132] assembly plugin should use posix, not gnu for tarLongFileMode
o Followup missed to set the configuration for maven-assembly-plugin
correctly. (khmarbaise: [http://svn.apache.org/viewvc/?view=rev&rev=1758470])
* (edit) pom.xml
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Christopher Tubbs (JIRA)
2016-08-30 22:28:20 UTC
Permalink
[ https://issues.apache.org/jira/browse/MPOM-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450330#comment-15450330 ]

Christopher Tubbs commented on MPOM-132:
----------------------------------------

Cool stuffs. Thanks. Sorry to bother, but one more note. Now that the property has been set by default in the {{<properties>}} section, it could be entirely removed in the maven-assembly-plugin configuration, since that's redundant. Right now, it will always be overridden by the property anyway. :)
Post by Christopher Tubbs (JIRA)
assembly plugin should use posix, not gnu for tarLongFileMode
-------------------------------------------------------------
Key: MPOM-132
URL: https://issues.apache.org/jira/browse/MPOM-132
Project: Maven POMs
Issue Type: Task
Components: asf
Reporter: Christopher Tubbs
Assignee: Karl Heinz Marbaise
Priority: Trivial
Fix For: ASF-19
{{<tarLongFileMode>gnu</tarLongFileMode>}} causes some issues on some platforms. Most modern versions of tar support the newer {{posix}} mode, which supports all the features {{gnu}} does, plus more.
{{<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Loading...