Thanks to everybody. I now have Maven working exactly as I want it to. Not bad, 3 pieces of advice from one request, all of them useful in combination. :-)
Final solution was: - specify the sourceDirectory - override the java:compile goal - specify checkstyle as (currently) the only report I want. JDepend was one of the default reports, and it definitely forced a compile to happen. Something I want to use eventually, but not the most immediate priority. I'll tackle more of the Ant-to-Maven conversion later so we can use other reports, but for now I'll just be happy if availability of the checkstyle reports curbs folks from littering code with bogus imports and introducing method names like setFOO_BAR and getFOO_BAR. --- David Jackman <[EMAIL PROTECTED]> wrote: > Then what I would do is list those reports you care about in the reports > section of the project.xml. Some of those reports may require that the > code gets compiled first. If you can't do the compile with maven, then > you won't be able to include those reports. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
