Sometimes, when one of your modules is used by different applications, but requires slight changes, you want to create different artifacts, that can be direct dependencies of those applications.
You can do this by using profiles and classifiers.
You can create your pom, the usual way, with profiles…more here, then apply classifiers to the package plugin inside […]
Archive for the ‘Java’ Category
Really!
I’ve been a Maven user since 2005, but only as a “user”, never creating build files, never really understanding the full picture.
I used to be a skeptic, but now I am fully converted. For the past 3 days I’ve been migrating the build process for a 15 module project from ant to […]