Skip to content

Instantly share code, notes, and snippets.

@smferguson
Last active July 14, 2016 12:47
Show Gist options
  • Save smferguson/f5a68d726fb7c0f663bb7bac9d5ee08b to your computer and use it in GitHub Desktop.
Save smferguson/f5a68d726fb7c0f663bb7bac9d5ee08b to your computer and use it in GitHub Desktop.
maven on osx fails to install with group id too big
maven on osx fails to install with group id too big
[INFO] --- maven-assembly-plugin:2.5.3:single (make-assembly) @ maxwell ---
[INFO] Reading assembly descriptor: src/main/assembly/assembly.xml
[WARNING] The assembly descriptor contains a filesystem-root relative reference,which is not cross platform compatible /
[INFO] Building tar: /Users/sferguson/dev/maxwell/target/maxwell-1.1.2.tar.gz
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.647 s
[INFO] Finished at: 2016-07-14T08:44:20-04:00
[INFO] Final Memory: 37M/437M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (make-assembly) on project maxwell: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '701497816' is too big ( > 2097151 ) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
to fix add tarLogFileMode to the assembly conf:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment