java - mvn failure on build -
i trying build 1 of project using "mvn package"
, seeing error. installed maven in ubuntu "sudo apt-get install maven"
below error getting:
[error] failed execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (create-archive) on project : execution create-archive of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: client id '11012121111423' large ( > 4013111 ) -> [help 1]
what wrong not able understand @ all.
it a known problem maven assembly plugin configuration.
since version 2.5 must specify tarlongfilemode=posix long file mode support.
just edit pom.xml , inside <configuration>
tag add:
<tarlongfilemode>posix</tarlongfilemode>
so whole tag like:
<configuration> <tarlongfilemode>posix</tarlongfilemode> <descriptor>src/main/assembly/assembly.xml</descriptor> </configuration>
Comments
Post a Comment