Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Manually downloading Maven plugin

807580Mar 2 2010 — edited Mar 2 2010
I hate Maven

I'm trying to install Sonar alongside our Hudson. When I saw that there's no alternative to running from Maven I knew I was in trouble.

The basic conflict we have is that our web proxy doesn't allow us to download .jar files with the regular servers. I can download .jar files only on a special reserved connection on a laptop off our regular LAN. The machine I'm trying to install on is behind such a restriction. And, of course, Maven hates not being allowed to download tons of jar files.

What I need to do is to download the Sonar plugin manually, and then place it in a file system based repository where Maven can pick it up without http: access.

First I downloaded a plugin .jar file, but it's resemblance to the existing repository structure is pretty hard to see. I can't find any manual import command.

So I installed Maven on the downloads machines, hoping I could persuade maven to install the thing into it's local repository and then copy that. I found some instructions on downloading artifacts manually. here They don't work. The "plugin-plugin" doesn't appear to have a target called "download".

Can any Maven people out there help, so that I don't have to spend days learning about a product which is completely unsuited to our environment?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2010
Added on Mar 2 2010
7 comments
1,116 views