• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Maven phase and goals

New Here ,
Mar 02, 2010 Mar 02, 2010

Copy link to clipboard

Copied

Hi everyone.

From documentation currently FlexPMD runs in the site phase but I need it to run in the compile phase. Is this possible?

The original problem is: I want to prevent project successful building if there is any violation errors the same way as pmd works for Java.

Thanks.

TOPICS
FlexPMD

Views

662

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2010 Aug 11, 2010

Copy link to clipboard

Copied

LATEST

Yes -- put the plugin in the build plugins section with executions:

<execution>
    <id>run-flexpmd-main</id>
    <phase>process-sources</phase>
    <goals>
        <goal>check</goal>
    </goals>
</execution>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines