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

Maven deploy to nexus fail. Return http status 500

by kkarad :: Rate this Message:

Reply to Author | View in Thread

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:wrapper-log.txt




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