I'm having some problems installing a particular pom into our internal
repo, I keep getting this exception - can anyone shed a little light on
this?
This would be the first version up here (as it is a fresh snapshot) so
there won't be any metadata.
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy-file' -->
[DEBUG] (f) artifactId = app
[DEBUG] (f) file = E:\work\up-svcs\lty\proj\M2RES\pom.xml
[DEBUG] (f) generatePom = false
[DEBUG] (f) groupId = lty
[DEBUG] (s) localRepository = [local] -> file://E:/work/m2/Repository
[DEBUG] (f) packaging = pom
[DEBUG] (f) repositoryId = central
[DEBUG] (f) repositoryLayout = default
[DEBUG] (f) uniqueVersion = false
[DEBUG] (f) url = file:\\build.corp.upromise.com\maven2
<file:///\\build.corp.upromise.com\maven2>
[DEBUG] (f) version = 53.0-SNAPSHOT
[DEBUG] -- end configuration --
[INFO] [deploy:deploy-file]
[INFO] Retrieving previous build number from central
[DEBUG] repository metadata for: 'snapshot lty:app:53.0-SNAPSHOT' could
not be found on repository: central
[DEBUG] not adding permissions to wagon connection
Uploading:
file:\\build.corp.upromise.com\maven2/lty/app/53.0-SNAPSHOT/app-53.0-SNA
PSHOT.pom
<file:///\\build.corp.upromise.com\maven2/lty/app/53.0-SNAPSHOT/app-53.0
-SNAPSHOT.pom>
96K uploaded
[INFO] Retrieving previous metadata from central
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
at
org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:795)
at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRe
pository(ProjectArtifactMetadata.java:92)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.deploy(DefaultRepositoryMetadataManager.java:428)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
tArtifactDeployer.java:86)
at
org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.jav
a:239)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.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.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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: 8 seconds
[INFO] Finished at: Mon Aug 27 17:22:12 EDT 2007
[INFO] Final Memory: 10M/254M
[INFO]
------------------------------------------------------------------------