Tag Archives: best practice

How to override a plugin's dependency in Maven


April 23, 2008 By
Brian Fox

Maven 2.0.9 introduced the ability to override a dependency used by a plugin. This is handy when you want to use a newer checkstyle, pmd, etc jar than is included by default in the plugin. How you go about doing this actually depends on your use case because of an oversight in the Maven 4.0.0 […]

Continue reading...

How to share resources across projects in Maven


April 17, 2008 By
Brian Fox

There are a few ways to share resources across multiple projects or modules: Cut and paste them. Use Assembly and Dependency plugins Use the maven-remote-resources-plugin In this blog I’ll show how to do the second option since in my opinion, it is currently the most stable and flexible. In the future, I’ll try out the […]

Continue reading...

Maven 2.0.9 Released and information about plugin versions.


April 10, 2008 By
Brian Fox

Maven 2.0.9 was released today. I previously blogged about the changes to the process that will hopefully lead to more stable releases in the future. Today I want to talk about some important changes in the release itself that improve the user experience a bit. Probably the biggest and most anticipated change is the shift […]

Continue reading...