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.x Toolchains Plugin
  • MTOOLCHAINS-3

PlexusConfiguration behavior in ToolchainConverter

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

Hi,

when packaging the Toolchains plugin to Fedora, I saw that the ToolchainConverter class of the Toolchains plugin depends on the old behavior of the PlexusConfiguration class, i. e. the getValue() and getName() methods throwing a PlexusConfigurationException. However, the new behavior of the PlexusConfiguration class (as found in Sonatype's Sisu, whose goal is to replace Plexus) does not throw this exception, which causes the Toolchain plugin not to compile when using the new library.

The point of this bug is to consult with you moving from plexus-container-default to sisu-inject-plexus, thus removing the try/catch block in src/main/java/org/apache/maven/plugin/toolchain/ToolchainConverter.java, line 84. A patch to perform that action is attached.

Thank you, Tomas Radej

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

Attachments

  1. Text File
    plexus-to-sisu.patch
    15/Nov/11 9:06 AM
    1 kB
    Tomas Radej

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Tomas Radej
Vote (0)
Watch (1)

Dates

  • Created:
    15/Nov/11 9:06 AM
    Updated:
    15/Nov/11 9:06 AM
  • 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.