Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: FLEX-0.3
    • Fix Version/s: FLEX-1.1
    • Component/s: Flex
    • Labels:
      None
    • Environment:
      I am running on my local PC and pointing to a Sonar instance on our intranet.
    • Number of attachments :
      3

      Description

      We have a Flex Maven project and are trying to run the Sonar plugin with Maven. We are using Maven 2.2.1 and Eclipse Helios. In Eclipse we have a Maven run configuration set up to run the sonar:sonar goal. The POM file for the project has the following properties:

      <sonar.language>flex</sonar.language>
      <sonar.profile>Default Flex Profile</sonar.profile>
      <sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>
      <sonar.jdbc.url>*Point to our JDBC*</sonar.jdbc.url>
      <sonar.host.url>*Pointing to our Sonar instance host*</sonar.host.url>

      When we try to run the configuration with the sonar:sonar goal we get an "Can not execute Sonar" error. The stacktrace with debug turned on is attached.

      1. Sonar Error Output.txt
        6 kB
        Robert Lee Rhyne III
      2. Sonar Error Output From Command Line.txt
        6 kB
        Robert Lee Rhyne III

        Issue Links

          Activity

          Hide
          Evgeny Mandrikov added a comment -

          You should ask this questions or even better - report issue on FlexPMD project : https://bugs.adobe.com/jira/browse/FLEXPMD

          Show
          Evgeny Mandrikov added a comment - You should ask this questions or even better - report issue on FlexPMD project : https://bugs.adobe.com/jira/browse/FLEXPMD
          Hide
          Robert Lee Rhyne III added a comment -

          Not a bad idea. I created an issue on that site:
          https://bugs.adobe.com/jira/browse/FLEXPMD-225

          Show
          Robert Lee Rhyne III added a comment - Not a bad idea. I created an issue on that site: https://bugs.adobe.com/jira/browse/FLEXPMD-225
          Hide
          Evgeny Mandrikov added a comment -

          We was able to fix this on our side, because now we execute FlexPMD directly without maven plugin (SONARPLUGINS-959).

          Show
          Evgeny Mandrikov added a comment - We was able to fix this on our side, because now we execute FlexPMD directly without maven plugin ( SONARPLUGINS-959 ).
          Hide
          Fabrice Bellingard added a comment -

          Tested

          Show
          Fabrice Bellingard added a comment - Tested
          Hide
          Evgeny Mandrikov added a comment -

          Covered by unit test, no need for integration test.

          Show
          Evgeny Mandrikov added a comment - Covered by unit test, no need for integration test.

            People

            • Assignee:
              Evgeny Mandrikov
              Reporter:
              Robert Lee Rhyne III
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: