maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chaffee" <jchaf...@ebates.com>
Subject maven-deploy-plugin differences between 2.4 and 2.5
Date Tue, 08 Jun 2010 18:03:38 GMT
I tried to upgrade to version 2.5 and I started to get the following
error all projects that we using the assembly to attach artifacts.  It
works correctly on my "jar", "war" and "pom" only projects though.  Does
anyone have any idea why this happening?

 

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy': Unable to
find the mojo 'deploy' (or one of its required components) in the plugin
'org.apache.maven.plugins:maven-deploy-plugin'

Component descriptor cannot be found in the component repository:
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayoutflat
.

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in the plugin manager executing goal
'org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy': Unable to
find the mojo 'deploy' (or one of its required components) in the plugin
'org.apache.maven.plugins:maven-deploy-plugin'

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:698)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:556)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:535)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:387)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:348)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:180)

                at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)

                at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)

                at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)

                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:597)

                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)

Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
find the mojo 'deploy' (or one of its required components) in the plugin
'org.apache.maven.plugins:maven-deploy-plugin'

                at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl
uginManager.java:674)

                at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:468)

                at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:694)

                ... 17 more

Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExcept
ion: Unable to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-deploy-plugi
n:2.5:deploy', it could not be started

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:339)

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:440)

                at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl
uginManager.java:652)

                ... 19 more

Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleExc
eption: Error starting component

                at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComp
onentLifecycle(AbstractComponentManager.java:109)

                at
org.codehaus.plexus.component.manager.AbstractComponentManager.createCom
ponentInstance(AbstractComponentManager.java:95)

                at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getCompo
nent(PerLookupComponentManager.java:48)

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:331)

                ... 21 more

Caused by:
org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionExc
eption: Error composing component

                at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.
execute(CompositionPhase.java:33)

                at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLif
ecycleHandler.java:101)

                at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComp
onentLifecycle(AbstractComponentManager.java:105)

                ... 24 more

Caused by:
org.codehaus.plexus.component.composition.CompositionException:
Composition failed of field repositoryLayouts in object of type
org.apache.maven.plugin.deploy.DeployMojo because the requirement
ComponentRequirement{role='org.apache.maven.artifact.repository.layout.A
rtifactRepositoryLayout', roleHint='null',
fieldName='repositoryLayouts'} was missing

                at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignR
equirementToField(FieldComponentComposer.java:154)

                at
org.codehaus.plexus.component.composition.FieldComponentComposer.assembl
eComponent(FieldComponentComposer.java:73)

                at
org.codehaus.plexus.component.composition.DefaultComponentComposerManage
r.assembleComponent(DefaultComponentComposerManager.java:68)

                at
org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexu
sContainer.java:1486)

                at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.
execute(CompositionPhase.java:29)

                ... 26 more

Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExcept
ion: Component descriptor cannot be found in the component repository:
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayoutflat
.

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:323)

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:312)

                at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:440)

                at
org.codehaus.plexus.DefaultPlexusContainer.lookupMap(DefaultPlexusContai
ner.java:390)

                at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignR
equirementToField(FieldComponentComposer.java:103)

                ... 30 more

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message