Unfortunately I don't think this exists, I receive the following error
Caused by: java.io.IOException: Server returned HTTP response code: 500 for
URL:
http://maven.nineconsulting.net/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.pom
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:814)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
LightweightHttpWagon.java:85)
... 28 more
with the following in my settings.xml
<server>
<id>maven2</id>
<username>maven</username>
<password>foo</password>
</server>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>maven2</id>
<name>Maven Nineconsulting repository</name>
<url>
http://maven.nineconsulting.net
</url>
<layout>default</layout>
</repository>
</repositories>
It looks like I'll need to submit a jira request. I think this is a bug. If
you take a look at the source for the lightweight http wagon here
http://svn.apache.org/viewvc/maven/wagon/tags/wagon-1.0-alpha-6/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java?revision=368228&view=markup
You can see that "authenticationInfo" should not be null, and it should be
used in the "openConnection" method. I'm guessing its not being set from
settings.xml.
Toodd
On 9/27/06, Bravo, Kris <[EMAIL PROTECTED]> wrote:
I think you cross reference by the <id>, although I've never done this
before. If this isn't implemented, it's definitely a good idea and
worthy of a JIRA ticket.
<mirror>
--> <id>extranet.repo</id>
<mirrorOf>snapshots</mirrorOf>
<name>Project Snapshots</name>
<url>http://...../maven2/</url>
</mirror>
<server>
--> <id>extranet.repo</id>
<username>name</username>
<password>pass</password>
</server>
kris bravo
-----Original Message-----
From: Todd Nine [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 1:43 PM
To: [email protected]
Subject: Repository configuration
Hi all,
I have a security question. I would like to set up a repository on
the net for a side project some friends and I are working on. However I
don't want the uploaded artifacts to be available to the public. Is it
possible to secure the repository with a .htaccess file, and enter the
user name and password into settings.xml?
Thanks,
Todd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]