Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.0-beta-3
-
None
-
None
-
Ant1.7alpha; java1.5
Description
I cannot get <deploy> to work, it just NPEs on me. All the files exist; local install works
<m2:deploy file="${target.jar}">
<remoteRepository url="scp://eiger/www/repository">
<authentication username="slo"
privateKey="C:\\bin\\PuTTY\\.ssh
id_rsa"/>
</remoteRepository>
<pom refid="m2.pom"/>
</m2:deploy>
java.lang.NullPointerException
at org.apache.maven.artifact.ant.DeployTask.execute(DeployTask.java:69)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Attachments
Issue Links
- duplicates
-
MANTTASKS-50 NPE when deploying to remoteRepository w/o distributionManagement set
- Closed