Is it a basic authentication?
Emmanuel
chris_ a écrit :
> Hi,
>
> I am trying to add a maven 2.0.x project but have not figured out how to
> specify a username that must contain the windows domain. Below are the
> settings that I think should work:
>
> Add Maven 2.0+ Project
> POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> Username: mydomain\myusername
> Password: x
>
> The message I see in the web browser is:
>
> The specified resource cannot be accessed. Please try again later or contact
> your administrator.
>
> And the logs:
>
> jvm 1 | 2007-11-01 14:33:44,194 [SocketListener0-1] INFO
> org.codehaus.plexus.action.Action:create-projects-from-metadata - checking
> for settings auth setup
> jvm 1 | 2007-11-01 14:33:44,319 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1 | 2007-11-01 14:33:44,381 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Error adding project: Unknown error downloading from
> http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1 | java.io.IOException: Server returned HTTP response code: 403 for
> URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1 | at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
> jvm 1 | at
> org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)
>
> If I go directly to the URL in IE/Firefox I am prompted for my
> username/password. I enter my username with windows domain
> (mydomain\myusername) in the prompt and am able to view the pom file. Is
> there a special format for specifying a windows domain with the username on
> the Add Maven 2.0+ Project page?
>
> Thanks,
> Chris
>
>
|