You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/12/13 19:49:19 UTC

[jira] Moved: (MANTTASKS-130) NPE when trying to use

     [ http://jira.codehaus.org/browse/MANTTASKS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-1165 to MANTTASKS-130:
--------------------------------------------------

    Affects Version/s:     (was: 2.0-beta-3)
                       2.0-beta-3
          Component/s:     (was: Ant tasks)
                       deploy task
                  Key: MANTTASKS-130  (was: MNG-1165)
              Project: Maven 2.x Ant Tasks  (was: Maven 2)

> NPE when trying to use <deploy>
> -------------------------------
>
>                 Key: MANTTASKS-130
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-130
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: deploy task
>    Affects Versions: 2.0-beta-3
>         Environment: Ant1.7alpha; java1.5
>            Reporter: Steve Loughran
>            Assignee: Brett Porter
>            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