NPE when trying to use <deploy>
-------------------------------

         Key: MNG-1165
         URL: http://jira.codehaus.org/browse/MNG-1165
     Project: Maven 2
        Type: Bug
  Components: maven-artifact-ant  
    Versions: 2.0-beta-3    
 Environment: Ant1.7alpha; java1.5
 Reporter: Steve Loughran
    Priority: Critical


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to