Closed ghost closed 9 years ago
With version 2.5.1 of the maven-assembly-plugin, building on OSX results in the following error
$ mvn install ... INFO] <<< maven-assembly-plugin:2.5.1:assembly (default) < package @ ngs-tools <<< [INFO] [INFO] --- maven-assembly-plugin:2.5.1:assembly (default) @ ngs-tools --- [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml [INFO] Building tar: ngs/tools/target/ngs-tools-1.5-SNAPSHOT-bin.tar.gz [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ngs-multimodule .................................... SUCCESS [ 3.126 s] [INFO] ngs-align .......................................... SUCCESS [ 11.713 s] [INFO] ngs-variant ........................................ SUCCESS [ 1.935 s] [INFO] ngs-feature ........................................ SUCCESS [ 3.248 s] [INFO] ngs-gtr ............................................ SUCCESS [ 9.387 s] [INFO] ngs-hml ............................................ SUCCESS [ 2.234 s] [INFO] ngs-range .......................................... SUCCESS [ 3.639 s] [INFO] ngs-reads .......................................... SUCCESS [ 1.092 s] [INFO] ngs-xjc-plugins .................................... SUCCESS [ 0.357 s] [INFO] ngs-sra ............................................ SUCCESS [ 6.662 s] [INFO] ngs-tools .......................................... FAILURE [ 11.730 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 55.648 s [INFO] Finished at: 2014-11-13T10:37:46-06:00 [INFO] Final Memory: 52M/379M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.1:assembly (default) on project ngs-tools: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.1:assembly failed: group id '827464065' is too big ( > 2097151 ) -> [Help 1]
This is a known issue with maven-assembly-plugin
Assembly plugin >= 2.5 thinks my group ID is too big http://jira.codehaus.org/browse/MASSEMBLY-728
The workaround is to use posix mode tar extensions (tarLongFileMode=posix); I don't know what effect that will have on our assemblies if any.
tarLongFileMode=posix
This fix prevents the bin directory from being included in the tar.gz assembly.
bin
With version 2.5.1 of the maven-assembly-plugin, building on OSX results in the following error
This is a known issue with maven-assembly-plugin
Assembly plugin >= 2.5 thinks my group ID is too big http://jira.codehaus.org/browse/MASSEMBLY-728
The workaround is to use posix mode tar extensions (
tarLongFileMode=posix
); I don't know what effect that will have on our assemblies if any.