File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes issue with maven in linux box Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "issue with maven in linux box" Watch "issue with maven in linux box" New topic
Author

issue with maven in linux box

Sankarsan Padhy
Greenhorn

Joined: Aug 01, 2006
Posts: 12
I am getting the below exception while doing "mvn clean install" in my linux-64 bit box. But this code is working fine in my window PC. Kindly help.




Sankarsan padhy<br />Software Engineer
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

It appears that the file /home/sapadhy/oraclemavenrepository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jar is corrupt. I recommend deleting the file, or actually, delete the entire directory containing the file. Then run the build again, Maven should attempt to download the file again.

By the way, how did that file get there originally? Maven typically does a hashcode check to validate that a JAR file download successfully.

Also, please to not abuse the ability to use colored text. It is OK for highlighting specific words or phrases, but not acceptable for entire paragraphs or code dumps.


JBoss In Action
 
 
subject: issue with maven in linux box
 
Threads others viewed
Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin
Maven Error - Unable to find repo
Maven build error
Is there any way to roll back a release?
Tomcat - Struts app Startup Error
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture