Discussion:
[jira] (MASSEMBLY-728) Assembly plugin >= 2.5 thinks my group ID is too big
Andrew Todd (JIRA)
2014-11-05 20:38:10 UTC
Permalink
Andrew Todd created MASSEMBLY-728:
-------------------------------------

Summary: Assembly plugin >= 2.5 thinks my group ID is too big
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd


My OS X user's primary group ID is quite large, around 110075129.

Up until assembly 2.4.1, I have had no troubles. However, in 2.5, I get this error when trying to create an assembly:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]

I am using JDK 7 to build. Have not tested with 8.

I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-06 06:12:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355678#comment-355678 ]

Kristian Rosenvold commented on MASSEMBLY-728:
----------------------------------------------

You will have to switch to posix mode tar, since your GID is too large for gnu tar.

I will leave this open and treat it as a documentation issue, we should probably say something in the error message. The root issue here is https://issues.apache.org/jira/browse/COMPRESS-290
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-06 06:12:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355678#comment-355678 ]

Kristian Rosenvold edited comment on MASSEMBLY-728 at 11/6/14 12:11 AM:
------------------------------------------------------------------------

You will have to switch to posix mode tar, since your GID is too large for gnu tar.

I will leave this open and treat it as a documentation issue, we should probably say something in the error message. The root issue related to the error message is here https://issues.apache.org/jira/browse/COMPRESS-290


was (Author: krosenvold):
You will have to switch to posix mode tar, since your GID is too large for gnu tar.

I will leave this open and treat it as a documentation issue, we should probably say something in the error message. The root issue here is https://issues.apache.org/jira/browse/COMPRESS-290
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-06 06:18:11 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355678#comment-355678 ]

Kristian Rosenvold edited comment on MASSEMBLY-728 at 11/6/14 12:17 AM:
------------------------------------------------------------------------

You will have to switch to posix mode tar, since your GID is too large for gnu tar.

I will leave this open and treat it as a documentation issue, we should probably say something in the error message. The root issue related to the error message is here https://issues.apache.org/jira/browse/COMPRESS-290

I also see we have a documentation bug; tarLongFileMode=posix is what you want !


was (Author: krosenvold):
You will have to switch to posix mode tar, since your GID is too large for gnu tar.

I will leave this open and treat it as a documentation issue, we should probably say something in the error message. The root issue related to the error message is here https://issues.apache.org/jira/browse/COMPRESS-290
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Andrew Todd (JIRA)
2014-11-06 17:26:12 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355747#comment-355747 ]

Andrew Todd commented on MASSEMBLY-728:
---------------------------------------

Much appreciated, it does work when I change the mode. Thanks for continuing to improve the assembly-plugin.

Off the top of your head, do you know if there are any disadvantages to {{posix}} mode? I noticed that {{posix_warn}} is also listed in the docs. The only documentation that I could find was in another codebase, which seems to indicate it's not a problem:

https://github.com/sonatype/plexus-archiver/blob/master/src/main/java/org/codehaus/plexus/archiver/tar/TarArchiver.java#L93

Also, I assume that GNU tar can open POSIX tar archives -- again, my copy of GNU tar seems to be fine with my new POSIX archive, just wanted to double-check.
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-06 21:14:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355773#comment-355773 ]

Kristian Rosenvold commented on MASSEMBLY-728:
----------------------------------------------

I dont really know any disatvantages of posix tar,but I suppose some old platforms may not support it. I'm sure google will tell us :)
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-08 19:37:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold updated MASSEMBLY-728:
-----------------------------------------

Fix Version/s: 2.5.2
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
Fix For: 2.5.2
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-11 16:23:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed MASSEMBLY-728.
----------------------------------------

Resolution: Fixed
Assignee: Kristian Rosenvold

Added faq entry in r1638205
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
Assignee: Kristian Rosenvold
Fix For: 2.5.2
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Michael Heuer (JIRA)
2014-11-13 16:52:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356088#comment-356088 ]

Michael Heuer commented on MASSEMBLY-728:
-----------------------------------------

@krosenvold, I see the text you added in the faq entry, but it doesn't say where to set tarLongFileMode=posix. Is that a plugin configuration parameter or something that goes in the assembly descriptor?
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
Assignee: Kristian Rosenvold
Fix For: 2.5.2
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
Kristian Rosenvold (JIRA)
2014-11-13 17:02:10 UTC
Permalink
[ https://jira.codehaus.org/browse/MASSEMBLY-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356089#comment-356089 ]

Kristian Rosenvold commented on MASSEMBLY-728:
----------------------------------------------

Upped entry. It's in the plugin goal. Thanks for asking :)
Post by Andrew Todd (JIRA)
Assembly plugin >= 2.5 thinks my group ID is too big
----------------------------------------------------
Key: MASSEMBLY-728
URL: https://jira.codehaus.org/browse/MASSEMBLY-728
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Andrew Todd
Assignee: Kristian Rosenvold
Fix For: 2.5.2
My OS X user's primary group ID is quite large, around 110075129.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (assemble-command-line) on project crypto-monster: Execution assemble-command-line of goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single failed: group id '110075129' is too big ( > 2097151 ) -> [Help 1]
I am using JDK 7 to build. Have not tested with 8.
I have noticed that the error seems to be specific to assembly of a .tar.gz artifact. Assembling a .zip file does not cause this error.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Loading...