Skip navigation
gwright10
Currently Being Moderated

Inspecting test tree

Aug 11, 2010 6:56 AM

When I run FlexPMD 1.1 via Maven, it only checks the main source tree (src/main/flex).  How can I get it to also check the test source tree (src/test/flex)?

 
Replies
  • Currently Being Moderated
    Aug 11, 2010 7:16 AM   in reply to gwright10

    In your POM you can add a configuration option:

     

     

    <plugin>
         <groupId>com.adobe.ac</groupId>
         <artifactId>flex-pmd-maven-plugin</artifactId>
         <version>1.1</version>
         <configuration>
              <ruleSet>${basedir}/your-flex-pmd-ruleset.xml</ruleSet>
                   <sourceDirectory>${basedir}/src</sourceDirectory>
         </configuration>
    </plugin>
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2010 10:40 AM   in reply to gwright10

    We removed the read-only flag on this parameter. It is still  defaulted to the build sourceDirectory though.

    Tom's solution would now work then.

     

    The trunk and the snapshot repository have been updated.

     

    Cheers,

     

    Xavier

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points