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-1838

Plugin inter-dependencies

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.4
  • Component/s: API
  • Labels:
    None

Description

Without this feature, there is absolutely no way to share some classes definition at runtime and so to cover a language with several Sonar plugin. For instance, if we'd like to manage JAVA language as other language without this feature, it would be mandatory to merge all java plugins (checkstyle, findbugs, java-squid, ...) into only one jar.

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

Attachments

  1. GZip Archive
    sonar-deps-plugin.tar.gz
    14/Oct/10 8:07 PM
    2 kB
    Evgeny Mandrikov

Issue Links

is depended upon by

Improvement - An improvement or enhancement to an existing feature or task. SONAR-1784 sonar-surefire-plugin should be reusable

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

Task - A task that needs to be done. SONAR-1808 sonar-cobertura-plugin should be reusable

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

Improvement - An improvement or enhancement to an existing feature or task. SONAR-1858 sonar-packaging-maven-plugin : do not package dependencies with type sonar-plugin

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

Task - A task that needs to be done. SONAR-1915 Deploy core plugins to maven repository

  • Major - Major loss of function.
  • 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
Evgeny Mandrikov added a comment - 14/Oct/10 7:08 PM

Experimental implementation added in r5663. Seems that there is no side effects, but take a look on notes in JavaDocs.

Show
Evgeny Mandrikov added a comment - 14/Oct/10 7:08 PM Experimental implementation added in r5663. Seems that there is no side effects, but take a look on notes in JavaDocs.
Hide
Permalink
Evgeny Mandrikov added a comment - 14/Oct/10 8:07 PM

Added example plugin which depends on sonar-findbugs-plugin - it throws ClassNotFoundException under Sonar 2.3 and works great under 2.4-SNAPSHOT.

Show
Evgeny Mandrikov added a comment - 14/Oct/10 8:07 PM Added example plugin which depends on sonar-findbugs-plugin - it throws ClassNotFoundException under Sonar 2.3 and works great under 2.4-SNAPSHOT.
Hide
Permalink
Evgeny Mandrikov added a comment - 15/Oct/10 7:26 PM - edited

In r5666 and r5680 list of exported packages for each plugin set to :

  • org.sonar.plugins.<pluginKey>.api
  • com.sonar.plugins.<pluginKey>.api
  • com.sonarsource.plugins.<pluginKey>.api
Show
Evgeny Mandrikov added a comment - 15/Oct/10 7:26 PM - edited In r5666 and r5680 list of exported packages for each plugin set to :
  • org.sonar.plugins.<pluginKey>.api
  • com.sonar.plugins.<pluginKey>.api
  • com.sonarsource.plugins.<pluginKey>.api

People

  • Assignee:
    Evgeny Mandrikov
    Reporter:
    Freddy Mallet
Vote (0)
Watch (0)

Dates

  • Created:
    07/Oct/10 6:22 AM
    Updated:
    05/Nov/10 2:51 PM
    Resolved:
    15/Oct/10 7:26 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.