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)
Signup
Sonar Plugins
  • Sonar Plugins
  • SONARPLUGINS-959

Remove dependency on Maven

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: FLEX-1.1
  • Component/s: Flex
  • Labels:
    None
  • Number of attachments :
    0

Description

Currently when plugin executed from Ant task, it can just import Flex files, because depends on Maven plugins. But seem possible to execute FlexMetrics, FlexPMD and FlexCPD without Maven like was done in Sonar Groovy Plugin with CodeNarc - http://opensource.adobe.com/wiki/display/flexpmd/How+to+invoke+FlexPMD

Issue Links

depends upon

New Feature - A new feature of the product, which has yet to be developed. SONARPLUGINS-1906 Integrate Flex parser based on SSLR

  • 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. SONARPLUGINS-793 Maven Sonar goal will not execute

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

Bug - A problem which impairs or prevents the functions of the product. SONARPLUGINS-1783 Flex PMD seems to doesn't run when launched accross a ant task

  • 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
Cole Ferrier added a comment - 22/Aug/11 2:25 PM

I'd be willing to try to work on this to help make Flex be able to be analyzed without having to use Maven.

if you could help giving me some direction on how to start, i'd appreciate it.

Show
Cole Ferrier added a comment - 22/Aug/11 2:25 PM I'd be willing to try to work on this to help make Flex be able to be analyzed without having to use Maven. if you could help giving me some direction on how to start, i'd appreciate it.
Hide
Permalink
Evgeny Mandrikov added a comment - 22/Mar/12 2:37 AM

Should be noted that FlexCPD was already replaced by Sonar CPD in version 1.0 - see SONARPLUGINS-424

Show
Evgeny Mandrikov added a comment - 22/Mar/12 2:37 AM Should be noted that FlexCPD was already replaced by Sonar CPD in version 1.0 - see SONARPLUGINS-424
Hide
Permalink
Evgeny Mandrikov added a comment - 05/Jun/12 12:27 PM

FlexMetrics has been replaced by own parser based on SSLR - SONARPLUGINS-1906.

Show
Evgeny Mandrikov added a comment - 05/Jun/12 12:27 PM FlexMetrics has been replaced by own parser based on SSLR - SONARPLUGINS-1906 .
Hide
Permalink
Evgeny Mandrikov added a comment - 05/Jun/12 12:31 PM

FlexPMD executed directly without flex-pmd-maven-plugin.

Show
Evgeny Mandrikov added a comment - 05/Jun/12 12:31 PM FlexPMD executed directly without flex-pmd-maven-plugin.
Hide
Permalink
Fabrice Bellingard added a comment - 07/Jun/12 11:14 AM

Manually tested with the simple Sonar Runner! Great!

Show
Fabrice Bellingard added a comment - 07/Jun/12 11:14 AM Manually tested with the simple Sonar Runner! Great!
Hide
Permalink
Fabrice Bellingard added a comment - 08/Jun/12 8:29 AM

Actually, I hadn't noticed it yesterday but there's a problem when running an analysis with the Sonar Runner: everything works as expected (the results are pushed to the DB and they can be seen in the Web UI) but the Sonar Runner process never ends (you need to manually kill it). There's no problem with Maven.

Show
Fabrice Bellingard added a comment - 08/Jun/12 8:29 AM Actually, I hadn't noticed it yesterday but there's a problem when running an analysis with the Sonar Runner: everything works as expected (the results are pushed to the DB and they can be seen in the Web UI) but the Sonar Runner process never ends (you need to manually kill it). There's no problem with Maven.
Hide
Permalink
Evgeny Mandrikov added a comment - 08/Jun/12 2:00 PM

Indeed seems that direct execution of FlexPMD prevents termination of process - I'll dig into this.

Show
Evgeny Mandrikov added a comment - 08/Jun/12 2:00 PM Indeed seems that direct execution of FlexPMD prevents termination of process - I'll dig into this.
Hide
Permalink
Evgeny Mandrikov added a comment - 08/Jun/12 2:41 PM

Should be fixed in d054dac.

Show
Evgeny Mandrikov added a comment - 08/Jun/12 2:41 PM Should be fixed in d054dac .
Hide
Permalink
Fabrice Bellingard added a comment - 11/Jun/12 2:56 AM

Perfect Evgeny, now the process is perfectly terminated when using the Sonar Runner.

Show
Fabrice Bellingard added a comment - 11/Jun/12 2:56 AM Perfect Evgeny, now the process is perfectly terminated when using the Sonar Runner.
Hide
Permalink
Evgeny Mandrikov added a comment - 12/Jun/12 6:39 PM

In fact this solution doesn't work for multi-module projects, so reopened for investigations.

Show
Evgeny Mandrikov added a comment - 12/Jun/12 6:39 PM In fact this solution doesn't work for multi-module projects, so reopened for investigations.
Hide
Permalink
Evgeny Mandrikov added a comment - 14/Jun/12 1:21 AM

And now should be finally fixed.

Show
Evgeny Mandrikov added a comment - 14/Jun/12 1:21 AM And now should be finally fixed.
Hide
Permalink
Fabrice Bellingard added a comment - 14/Jun/12 11:49 AM

Good catch Evgeny for the issue on multi-module projects with Maven (this doesn't happen with Sonar Runner :-P): manually tested!

Show
Fabrice Bellingard added a comment - 14/Jun/12 11:49 AM Good catch Evgeny for the issue on multi-module projects with Maven (this doesn't happen with Sonar Runner :-P): manually tested!
Hide
Permalink
Evgeny Mandrikov added a comment - 15/Jun/12 1:55 AM

Covered by integration tests.

Show
Evgeny Mandrikov added a comment - 15/Jun/12 1:55 AM Covered by integration tests.

People

  • Assignee:
    Evgeny Mandrikov
    Reporter:
    Evgeny Mandrikov
Vote (4)
Watch (4)

Dates

  • Created:
    04/Feb/11 6:44 PM
    Updated:
    15/Jun/12 1:55 AM
    Resolved:
    14/Jun/12 1:21 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.