Hi,

have you checked in Nexus if there where errors in the logs?


Kind regards
Karl Heinz Marbaise


On 11/22/14 9:35 PM, Sartaj Hundal wrote:
You're getting an IOException (unexpected end of stream). Are you using the
right URL? Just an idea. You might have to set some property to 'false' so
that maven actually starts reading. Sorry if I couldn't be more help, it's
been awhile.. but your problem is definitely to do with IO.

On Sat, Nov 22, 2014 at 3:47 AM, John Smith <jszjsm...@googlemail.com>
wrote:

Hello,

I'm trying to distribute my war's artifact to nexus but I'm getting the
following error below. If I change the packaging in the pom.xml to jar it
will deploy fine.

Can anyone see what I am doing wrong?

thanks,
John.

[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ my-webapp
---
[INFO] Downloading:

http://nexus.lan:38080/nexus/content/repositories/snapshots/me/john/my-webapp/0.0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded:

http://nexus.lan:38080/nexus/content/repositories/snapshots/me/john/my-webapp/0.0.1-SNAPSHOT/maven-metadata.xml
(776 B at 1.9 KB/sec)
[INFO] Uploading:

http://nexus.lan:38080/nexus/content/repositories/snapshots/me/john/my-webapp/0.0.1-SNAPSHOT/my-webapp-0.0.1-20141122.103704-6.war
[INFO] Uploading:

http://nexus.lan:38080/nexus/content/repositories/snapshots/me/john/my-webapp/0.0.1-SNAPSHOT/my-webapp-0.0.1-20141122.103704-6.pom
[INFO] Uploaded:

http://nexus.lan:38080/nexus/content/repositories/snapshots/me/john/my-webapp/0.0.1-SNAPSHOT/my-webapp-0.0.1-20141122.103704-6.pom
(5 KB at 197.5 KB/sec)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.133 s
[INFO] Finished at: 2014-11-22T10:37:04+00:00
[INFO] Final Memory: 14M/244M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
on project my-webapp: Failed to deploy artifacts: Could not transfer
artifact me.john:my-webapp:war:0.0.1-20141122.103704-6 from/to My_Snapshots
(http://nexus.lan:38080/nexus/content/repositories/snapshots/): unexpected
end of stream -> [Help 1]




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to