« Return to Thread: Maven deploy to nexus fail. Return http status 500
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@...
« Return to Thread: Maven deploy to nexus fail. Return http status 500
| Free embeddable forum powered by Nabble | Forum Help |