You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brandon Goodin <br...@gmail.com> on 2007/10/25 17:23:18 UTC

Strange third party source deploy exception

When trying to deploy src to my own repo I received the following output. It
looks like the source is properly uploaded. But, the exception has left me
wondering if everything is complete and what the exception is claiming
failed. Anyone have any insight? NOTE: identifying information has been
changed for security (i.e. somejar, somerepo, somedomain are not real).

mvn deploy:deploy-file -DgroupId=somejar         -DartifactId=somejar
        -Dversion=1.6         -Dpackaging=java-source
-Dfile=./src.zip         -DrepositoryId=somerepo.release
-Durl=scp://somedomain.com/home/somerepo/domains/m2.somedomain.com/public_html/repo
-DgeneratePom=false
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [deploy:deploy-file]
Uploading:
scp://somedomain.com/home/somerepo/domains/m2.somedomain.com/public_html/repo/somejar/somejar/1.6/somejar-
1.6-sources.jar
25K uploaded
[INFO] Retrieving previous metadata from somerepo.release
[INFO] Uploading repository metadata for: 'artifact somejar:somejar'
[INFO] Retrieving previous metadata from somerepo.release
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at hidden.org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java
:842)
        at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository
(ProjectArtifactMetadata.java:86)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy
(DefaultRepositoryMetadataManager.java:428)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy
(DefaultArtifactDeployer.java:86)
        at org.apache.maven.plugin.deploy.DeployFileMojo.execute(
DeployFileMojo.java:236)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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:585)
        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]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Thu Oct 25 10:01:41 CDT 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------