jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-2352

Upgrade to plexus-container-default-alpha-10

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes

Description

This is required for MNG-2201 in particular.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    MNG-2352.diff
    09/Jun/06 4:57 AM
    8 kB
    Jerome Lacoste

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. PLX-223 createChildContainer doesn't seem to send notifications anymore

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MNG-2201 Interpolation problem when using surefire

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jerome Lacoste added a comment - 09/Jun/06 4:02 AM

PLX-223 was a blocker

Show
Jerome Lacoste added a comment - 09/Jun/06 4:02 AM PLX-223 was a blocker
Hide
Permalink
Jerome Lacoste added a comment - 09/Jun/06 4:57 AM

This fixes it for me.

Note that bumping to plexus alpha 10 snapshot breaks it0043 if I don't specify a mirror !

Using a mirror and the test passes again:

FATAL ERROR: Unable to configure the Maven application
Error stacktrace:
org.apache.maven.reactor.MavenExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:699)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:372)
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)
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:364)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
... 10 more
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
... 19 more
0/1 passed

Show
Jerome Lacoste added a comment - 09/Jun/06 4:57 AM This fixes it for me. Note that bumping to plexus alpha 10 snapshot breaks it0043 if I don't specify a mirror ! Using a mirror and the test passes again: FATAL ERROR: Unable to configure the Maven application Error stacktrace: org.apache.maven.reactor.MavenExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:699) at org.apache.maven.cli.MavenCli.main(MavenCli.java:372) 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) Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:364) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) ... 10 more Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252) ... 19 more 0/1 passed
Hide
Permalink
Brett Porter added a comment - 28/Jun/06 10:58 AM

I get a component lookup problem (which applying PLX-223 doesn't seem to fix)

Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.Mave
n.
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)

Show
Brett Porter added a comment - 28/Jun/06 10:58 AM I get a component lookup problem (which applying PLX-223 doesn't seem to fix) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.Mave n. at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
Hide
Permalink
Jerome Lacoste added a comment - 30/Jun/06 4:58 AM

Brett,

Nothing else interesting in the stack trace? What does trigger this lookup ?

I created the patch on the trunk. So the problem could either be an incompatibility, or something that changed in the past 2 weeks. Will try to look at it again.

Show
Jerome Lacoste added a comment - 30/Jun/06 4:58 AM Brett, Nothing else interesting in the stack trace? What does trigger this lookup ? I created the patch on the trunk. So the problem could either be an incompatibility, or something that changed in the past 2 weeks. Will try to look at it again.
Hide
Permalink
Brett Porter added a comment - 07/Jul/06 12:21 AM

nothing else interesting in the trace. This is basically the first lookup of the app in the CLI.

Show
Brett Porter added a comment - 07/Jul/06 12:21 AM nothing else interesting in the trace. This is basically the first lookup of the app in the CLI.
Hide
Permalink
Jason van Zyl added a comment - 31/May/07 11:13 PM

We'll be sticking with the alpha-9-stable in the branch. The trunk uses the latest.

Show
Jason van Zyl added a comment - 31/May/07 11:13 PM We'll be sticking with the alpha-9-stable in the branch. The trunk uses the latest.

People

  • Assignee:
    Unassigned
    Reporter:
    Jerome Lacoste
Vote (2)
Watch (0)

Dates

  • Created:
    08/Jun/06 4:25 AM
    Updated:
    13/Jun/08 4:08 AM
    Resolved:
    31/May/07 11:13 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.