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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -