Sorry, the appropriate forum for this message is down, but I thought I might
be able to get some help here :)

I have just created an internal maven repository using proximity
(http://proximity.abstracthorizon.org). Everything is great, its acting as a
proxy and getting the jars from the internet and caching them - brilliant!
My only question is how do I upload my own jars created by me? 

What I have done is add this to the pom.xml in a test project:

        <distributionManagement>
                <repository>
                        <id>inhouse</id>
                        
<url>http://devserver1:9999/px-webapp/repository/inhouse</url>
                </repository>
        </distributionManagement>

And the do "mvn deploy" but I get an error with:

        HttpURLConnection returned the response code: 500

and the jetty server console says that PUT is not supported:

        org.springframework.web.HttpRequestMethodNotSupportedException: Request
method 'PUT' not supported

So, I dont know what the deal is. The proximity website that you deploy has
no way of allowing you to upload and the file structure of the repository is
a mystery. How do you upload your home grown jars?!

Is there an easier way to create an internal repository (forget proximity),
so that you can use the "mvn deploy" command and get the thing to act as a
proxy and cache to the internet jars? I tried the sample from the maven book
"Better Builds with Maven" pp. 216 where you use an instance of jetty and
then have the repository served from there. But i couldnt configure it to
get the jars from the internet if they weren't found. And it seems that you
have to manually add every jar you need via scp... It mentions
"repository-manager", is this the same as "Archiva"? The setup of this
sounds a little intrusive - in wants root access and to be able to add users
:\

How do people do this, surely it cant be all that hard - is there a simple
way of installing just one war or bundle jetty thing?

Thanks,
Owen.

-- 
View this message in context: 
http://www.nabble.com/uploading-jars-to-a-internal-repository-using-%22mvn-deploy%22-tf4533027s177.html#a12936353
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to