Solved Mistype in my <servers><server> entry.
A general comment is that most of my time is wasted in trying to do things in Maven 2 due to lack of dianostic information in its output, in most cases exceptions are of the null pointer type and -X tells you nothing extra. Perhaps a drive to improve support for -X in the core and core plugins would save users a lot of time in trying to diagnose what is going wrong with here config. Tony -----Original Message----- From: Tony Steele [mailto:[EMAIL PROTECTED] Sent: 01 November 2005 11:13 To: [email protected] Subject: [m2] Cant ftp to repository I have followed the instructions as in : http://maven.apache.org/guides/mini/guide-deploy-ftp.html I have checked my ftp connection manually. I am using the released version of Maven 2, the wagonftp jar is downloading ok. But I am getting the following error (doing a -X does not give any more info): [INFO] Installing D:\Project\DISRepositoryAPI\target\DISRepositoryAPI.jar to D:\.maven\repository\DISRepository\DISRepositoryAPI\1.0.1\DISRepositoryA PI-1.0.1.ja r [INFO] [deploy:deploy] [INFO] ------------------------------------------------------------------------ ---- [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ ---- [INFO] null [INFO] ------------------------------------------------------------------------ ---- [INFO] Trace java.lang.NullPointerException at org.apache.maven.wagon.providers.ftp.FtpWagon.openConnection(FtpWagon.ja va:122) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa ultWagonManager.java:178) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Defaul tWagonManager.java:109) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:77) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:399) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ ---- Tony Steele http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
