Hello All! Plz tell me can we use maven with PMD and checkstyle together? I tried using that, it uses either PMD or checkstyle. Plz reply.
thankx in advance,
posted 10 years ago
What do you mean by "it uses either ..."? My impression of Maven is that it is a souped-up Ant, so you can start your own tasks in whichever way you like. Both PMD and Checkstyle have their own Ant task, and can alternatively be started using the <java> task. Does Maven not allow you to run several tasks of your own choice in succession, or does it support neither custom Ant tasks nor the <java> task?