Nexus gives timeout when uploading artifacts using mvn deploy

View: New views
3 Messages — Rating Filter:   Alert me  

Nexus gives timeout when uploading artifacts using mvn deploy

by Zainab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am using Nexus 1.4.0 and Maven 2.1.0
My Nexus and Maven both are on a Linux machine.
When I am running mvn deploy command to upload the generated artifacts on Nexus, it gives an error

Error deploying artifact: Failed to transfer file: http://10.192.27.65:8081/nexus/content/repositories/releases......Return code is: 504

I have made the necessary configuration in settings.xml and pom.xml

Settings.xml

<mirror>
      <id>nexus-public-snapshots</id>
      <mirrorOf>public-snapshots</mirrorOf>
      <name>Nexus.</name>
      <url>http://10.192.27.65:8081/nexus/content/groups/public-snapshots</url>
</mirror>
<mirror>
        <id>nexus</id>
        <mirrorOf>public</mirrorOf>
        <url>http://10.192.27.65:8081/nexus/content/groups/public</url>
</mirror>


pom.xml

<distributionManagement>
            <repository>
                  <id>myreleases</id>
              <name>Internal Releases</name>
                  <url>http://10.192.27.65:8081/nexus/content/repositories/releases</url>
            </repository>
</distributionManagement>


I have defined the default admin password in <server> tag

I am still not able to upload the artifacts in Nexus

Can someone please help.

Thanks
Zainab

Re: Nexus gives timeout when uploading artifacts using mvn deploy

by hgomez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any proxy settings on your workstation ?



2009/11/6 Zainab <zainab.madawala@...>:

>
> Hi,
>
> I am using Nexus 1.4.0 and Maven 2.1.0
> My Nexus and Maven both are on a Linux machine.
> When I am running mvn deploy command to upload the generated artifacts on
> Nexus, it gives an error
>
> Error deploying artifact: Failed to transfer file:
> http://10.192.27.65:8081/nexus/content/repositories/releases......Return
> code is: 504
>
> I have made the necessary configuration in settings.xml and pom.xml
>
> Settings.xml
>
> <mirror>
>      <id>nexus-public-snapshots</id>
>      <mirrorOf>public-snapshots</mirrorOf>
>      <name>Nexus.</name>
>
> <url>http://10.192.27.65:8081/nexus/content/groups/public-snapshots</url>
> </mirror>
> <mirror>
>        <id>nexus</id>
>        <mirrorOf>public</mirrorOf>
>        <url>http://10.192.27.65:8081/nexus/content/groups/public</url>
> </mirror>
>
> pom.xml
>
> <distributionManagement>
>            <repository>
>                  <id>myreleases</id>
>              <name>Internal Releases</name>
>                  <url>http://10.192.27.65:8081/nexus/content/repositories/releases</url>
>            </repository>
> </distributionManagement>
>
> I have defined the default admin password in <server> tag
>
> I am still not able to upload the artifacts in Nexus
>
> Can someone please help.
>
> Thanks
> Zainab
>
> --
> View this message in context: http://old.nabble.com/Nexus-gives-timeout-when-uploading-artifacts-using-mvn-deploy-tp26230527p26230527.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@...


Re: Nexus gives timeout when uploading artifacts using mvn deploy

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First, upgrade to Maven 2.2.1. 2.1.0 had some significant wagon
issues, which could cause deploy problems.

On Fri, Nov 6, 2009 at 6:17 AM, Henri Gomez <henri.gomez@...> wrote:

> Any proxy settings on your workstation ?
>
>
>
> 2009/11/6 Zainab <zainab.madawala@...>:
>>
>> Hi,
>>
>> I am using Nexus 1.4.0 and Maven 2.1.0
>> My Nexus and Maven both are on a Linux machine.
>> When I am running mvn deploy command to upload the generated artifacts on
>> Nexus, it gives an error
>>
>> Error deploying artifact: Failed to transfer file:
>> http://10.192.27.65:8081/nexus/content/repositories/releases......Return
>> code is: 504
>>
>> I have made the necessary configuration in settings.xml and pom.xml
>>
>> Settings.xml
>>
>> <mirror>
>>      <id>nexus-public-snapshots</id>
>>      <mirrorOf>public-snapshots</mirrorOf>
>>      <name>Nexus.</name>
>>
>> <url>http://10.192.27.65:8081/nexus/content/groups/public-snapshots</url>
>> </mirror>
>> <mirror>
>>        <id>nexus</id>
>>        <mirrorOf>public</mirrorOf>
>>        <url>http://10.192.27.65:8081/nexus/content/groups/public</url>
>> </mirror>
>>
>> pom.xml
>>
>> <distributionManagement>
>>            <repository>
>>                  <id>myreleases</id>
>>              <name>Internal Releases</name>
>>                  <url>http://10.192.27.65:8081/nexus/content/repositories/releases</url>
>>            </repository>
>> </distributionManagement>
>>
>> I have defined the default admin password in <server> tag
>>
>> I am still not able to upload the artifacts in Nexus
>>
>> Can someone please help.
>>
>> Thanks
>> Zainab
>>
>> --
>> View this message in context: http://old.nabble.com/Nexus-gives-timeout-when-uploading-artifacts-using-mvn-deploy-tp26230527p26230527.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@...
>
>

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