Hi Anders, Anders Hammar wrote:
> I strongly recommend staying away from profiles (and having multiple > artifacts being produced by one Maven project). Sooner or later it will > bit you. Also, in a true Maven build, you only do one build (including > deploying to the repository) and therefore having different profiles being > activated based on the JDK the build is being done with doesn't fit well > (IMHO). this is the whole point: You don't have different dependecies, but different version numbers, therefore the profiles don't harm here. In the end it is not different of specifying a version in the depMgmt section to select a specific version. > Go with different modules! In this special case, I cannot recommend it. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org