You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Anthony Kong <an...@bisinfo.com.au> on 2005/07/11 04:28:51 UTC
Cannot execute the pregoal
Hi, all,
In my project.xml, I have this pregoal definition:
<project>
<!--
======================================================
Goals
======================================================
-->
<preGoal name="java:compile">
<attainGoal name="checkstyle:run" />
</preGoal>
</project>
However, the checkstyle never get run before java:compile. How can I solve
this problem?
If I run "maven checkstyle:run", it runs as expected.
Cheers,
AK