Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 2.0-beta-3
-
Fix Version/s: None
-
Component/s: deploy task
-
Labels:None
-
Environment:Ant1.7alpha; java1.5
-
Number of attachments :
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)
Issue Links
- duplicates
-
MANTTASKS-50
NPE when deploying to remoteRepository w/o distributionManagement set
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link | This issue duplicates MNG-1160 [ MNG-1160 ] |
| Assignee | Brett Porter [ brettporter ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Duplicate [ 3 ] |
| Workflow | Maven [ 40477 ] | Maven New [ 47623 ] |
| Project | Maven 2 [ 10500 ] | Maven 2.x Ant Tasks [ 11533 ] |
| Key | MNG-1165 |
|
| Component/s | deploy task [ 12845 ] | |
| Affects Version/s | 2.0-beta-3 [ 14797 ] | |
| Affects Version/s | 2.0-beta-3 [ 12015 ] | |
| Component/s | Ant tasks [ 11532 ] |