maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegmann Daniel, NY" <Daniel.Siegm...@fja-us.com>
Subject [M2] Wagon FTP doesn't work in 2.0.5
Date Tue, 20 Feb 2007 16:07:10 GMT
Deploy works fine with Maven 2.0.4, but fails with the following error using
2.0.5 (wagon-ftp 1.0-beta-2). Has anyone else encountered this problem? Is
there any configuration change which might be causing this problem, or
should I file an issue on JIRA?

[INFO] Retrieving previous build number from fja-m2-repo
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.wagon.providers.ftp.FtpWagon.openConnection(FtpWagon.java:1
30)
        at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultW
agonManager.java:404)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(De
faultWagonManager.java:344)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag
er.resolveAlways(DefaultRepositoryMetadataManager.java:364)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag
er.resolveAlways(DefaultRepositoryMetadataManager.java:318)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnap
shotBuildNumber(SnapshotTransformation.java:161)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeplo
yment(SnapshotTransformation.java:100)
        at
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.tra
nsformForDeployment(DefaultArtifactTransformationManager.java:64)
        at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArt
ifactDeployer.java:71)
        at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:131)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:420)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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)

--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

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


Mime
View raw message