Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven - Filename too Long on Unzip

I'm having a hell of a time installing maven 3.

I have the 3.0.4 source zip. I can't extract it, though, or I get a filename too long error on multiple jars in the zip. I'm running Windows 7.

I can't find ANYTHING about this anywhere else, and I'm starting to wonder if maybe I just have no idea how to install maven in the first place, not that there's something wrong with the zip.

like image 788
justgus Avatar asked Nov 03 '22 16:11

justgus


2 Answers

I just ran into the same problem using windows 7 and trying to unzip the source zip from their official website. To solve the problem I just followed ptyx's comment. Instead of using C:/Program Files/Apache Software Foundation (like their site suggests) I just used C:/Maven

like image 173
Darby Avatar answered Nov 08 '22 05:11

Darby


You can 'fix' this by copying the archive in the root of one of your partitions, and then unarchive it into a folder in the same location.

like image 35
Alexandra Bulearca Avatar answered Nov 08 '22 05:11

Alexandra Bulearca