On Thu, Aug 23, 2012 at 4:30 PM, Thomas Scheffler
<[email protected]> wrote:
> Am 23.08.2012 12:38, schrieb Nord, James:
>> Hi all,
>>
>> In Maven 3.0.4 and am seeing the following error when I try to release a 
>> project.
>>
>>
>>     [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ 
>> rpm-maven-plugin ---
>>
>>     Uploading: 
>> http://myrepo/service/local/staging/deploy/maven2/org/codehaus/mojo/rpm-maven-plugin/2.1-alpha-2_NDS1/rpm-maven-plugin-2.1-alpha-2_NDS1.jar
>>
>>     Uploading: 
>> http://myrepo/service/local/staging/deploy/maven2/org/codehaus/mojo/rpm-maven-plugin/2.1-alpha-2_NDS1/rpm-maven-plugin-2.1-alpha-2_NDS1.pom
>>
>>     Aug 23, 2012 10:40:47 AM 
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>>  handleResponse
>>
>>     WARNING: Authentication error: basic authorization challenge expected, 
>> but not found
>
> Hi,
>
> usually one would not allow basic authentication over unencrypted
> channels like http. This provides no security and every hop in the
> internet can gather login and passwords really simple.
>
> So probably you just change the "http:" to "https:" - if the server is
> well configured or speak to the administrator of the repository on how
> to transmit artifacts there.

That's not the issue, as someone else has been having this same error
with an https:// URL:
http://java.net/jira/browse/MAVEN2_REPOSITORY-119

Are the username and password configured in settings.xml for the
distributionManagement server?
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html

-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to