You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/11 06:32:11 UTC

[jira] Closed: (MNG-1165) NPE when trying to use

     [ http://jira.codehaus.org/browse/MNG-1165?page=all ]
     
Brett Porter closed MNG-1165:
-----------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

> 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
>     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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org