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)
  • Sonar
  • SONAR-308

Error with custom maven types

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.8
  • Component/s: Maven Plugin
  • Labels:
    None
  • Environment:
    Maven 2.0.9, Sonar 1.3

Description

Email from Guillaume Boucherie on the mailing-list :

Recently I create my own maven2 packaging type.
But now I can't launch sonar goal because it fails.
I attach the log of my build to this mail.

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

Attachments

  1. Text File
    consoleText.txt
    07/Jul/08 3:03 AM
    670 kB
    Simon Brandhof
  2. Text File
    SONAR-308.patch
    20/Nov/08 9:50 AM
    4 kB
    Nicolas Rougé
  3. Text File
    SONAR-308 (for 1.6).patch
    12/Mar/09 5:03 AM
    4 kB
    Nicolas Rougé

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. SONAR-222 StackOverflowError exception when extensions are defined in the pom

  • 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
Nicolas Rougé added a comment - 20/Nov/08 9:50 AM

Had the same problem, with Sonar 1.3 & Maven 2.0.8. The problem comes from the SonarMavenEmbedder that doesn't load the plugin extensions.
Here is a patch against Sonar 1.3 that does load the ArtifactHandlers defined as plugin extensions, as Maven does in the DefaultLifecycleExecutor.findExtensions() method.

Show
Nicolas Rougé added a comment - 20/Nov/08 9:50 AM Had the same problem, with Sonar 1.3 & Maven 2.0.8. The problem comes from the SonarMavenEmbedder that doesn't load the plugin extensions. Here is a patch against Sonar 1.3 that does load the ArtifactHandlers defined as plugin extensions, as Maven does in the DefaultLifecycleExecutor.findExtensions() method.
Hide
Permalink
Simon Brandhof added a comment - 26/Nov/08 6:03 AM

Thank you very much Nicolas for the patch. We do some tests before integrating it to trunk.

Show
Simon Brandhof added a comment - 26/Nov/08 6:03 AM Thank you very much Nicolas for the patch. We do some tests before integrating it to trunk.
Hide
Permalink
Nicolas Rougé added a comment - 12/Mar/09 5:03 AM

Updated the patch for 1.6 version.

Show
Nicolas Rougé added a comment - 12/Mar/09 5:03 AM Updated the patch for 1.6 version.
Hide
Permalink
Simon Brandhof added a comment - 25/Mar/09 5:55 AM

Nicolas , thank you very much for the patch.
Unfortunatly we decided to give up using maven embedder. There are too many limitations (like SONAR-222). The good news is that a simpler mechanism has been developed on 1.8.
A milestone will be released in few days.

Show
Simon Brandhof added a comment - 25/Mar/09 5:55 AM Nicolas , thank you very much for the patch. Unfortunatly we decided to give up using maven embedder. There are too many limitations (like SONAR-222). The good news is that a simpler mechanism has been developed on 1.8. A milestone will be released in few days.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Simon Brandhof
Vote (3)
Watch (4)

Dates

  • Created:
    07/Jul/08 3:03 AM
    Updated:
    09/Apr/09 12:48 PM
    Resolved:
    27/Mar/09 5:44 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.