« Return to Thread: Maven deploy to nexus fail. Return http status 500

Re: Maven deploy to nexus fail. Return http status 500

by Juven Xu :: Rate this Message:

Reply to Author | View in Thread

Tamas:

He had the log here:

>> > The nexus logs (wrapper.log) dont show any upload activity:
>> > http://www.nabble.com/file/p24311690/wrapper-log.txt wrapper-log.txt

But I don't see anything related to the 500 error.

2009/7/3 Tamás Cservenák <tamas@...>
Hi there,

please send us the nexus logs about this deployment. HTTP 500 means
some internal or IO error on server side.

~t~

On Thu, Jul 2, 2009 at 9:18 PM, Juven Xu<juven@...> wrote:
> if the credential is incorrect, he should have got 401.
>
> On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@...> wrote:
>>
>> Have you configured credentials that have upload permission (the one
>> you use when upload via the the web UI)? You do that in settings.xml
>> like this:
>>
>>  <servers>
>>    <server>
>>      <id>releases</id>
>>      <username>xxxx<username/>
>>      <password>yyyy<password/>
>>    </server>
>>  </servers>
>>
>> /Anders
>>
>> On Thu, Jul 2, 2009 at 20:19, kkarad<kkarad@...> wrote:
>> >
>> > Hi,
>> >
>> > I just intalled nexus to my build machine. when I run mvn clean deploy
>> > locally and maven tries to upload the file to nexus I get the following
>> > error message?
>> >
>> > [install:install]
>> > Installing
>> >
>> > C:\Development\workspace\gcdit\STP\middletier\branch-4.8\project-broker-services\target\pom-transformed.xml
>> > to
>> >
>> > C:\Development\maven-repository\com\barcap\gcd\ebroker\ebroker\1.1.0\ebroker-1.1.0.pom
>> > [deploy:deploy]
>> > Uploading:
>> >
>> > http://rmcpsm020000136:9003/nexus/content/repositories/releases/com/xxxx/yyy/zzzz/ebroker/1.1.0/ebroker-1.1.0.pom
>> > ------------------------------------------------------------------------
>> > [ERROR]BUILD ERROR
>> > ------------------------------------------------------------------------
>> > Error deploying artifact: Failed to transfer file:
>> >
>> > http://rmcpsm020000136:9003/nexus/content/repositories/releases/com/xxxx/yyy/zzzz/ebroker/1.1.0/ebroker-1.1.0.pom.
>> > Return code is: 500
>> >
>> > Do you have a clue of what it could be wrong?
>> >
>> > When I upload artifacts from nexus web ui it works fine.
>> >
>> > My maven pom settings are:
>> >    <distributionManagement>
>> >        <repository>
>> >            <id>releases</id>
>> >            <name>Releases</name>
>> >
>> >
>> > <url>http://rmcpsm020000136:9003/nexus/content/repositories/releases</url>
>> >        </repository>
>> >    </distributionManagement>
>> >
>> > The nexus logs (wrapper.log) dont show any upload activity:
>> > http://www.nabble.com/file/p24311690/wrapper-log.txt wrapper-log.txt
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://www.nabble.com/Maven-deploy-to-nexus-fail.-Return-http-status-500-tp24311690p24311690.html
>> > Sent from the Nexus Maven Repository Manager Users List mailing list
>> > archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> > For additional commands, e-mail: nexus-user-help@...
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>
>
>
> --
> - juven
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...




--
- juven

 « Return to Thread: Maven deploy to nexus fail. Return http status 500