-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should this use case supported ? #605
Comments
My mistake, I wanted to use the parent pom as shared config and not add it as child of my aggregator. But it seems that this is not really what I am supposed to do with maven, I just discover that all parent pom should be deliver too. So I should I add my parent A, B and super parent as child module of aggregator. I still don't get what is the clean way to factorize maven build configuration 🤷 , I feel maybe inheritance chosen by Maven was not the best choice. So my question does not make sense. |
Finally, my use case is maybe not that stupid.
This ☝️ is not so true, see : https://stackoverflow.com/questions/58521838/how-to-deploy-child-module-without-also-deploying-parent-module/72830959#72830959 And I finally find a solution to use I need to use this profile only when I want to update version : |
I recently change my project maven structure to something like this. (eclipse-leshan/leshan#1271)
(done with https://asciiflow.com)
Difference between Aggegation and inheritance.
All my maven workflow seems to work as I expected, except that now I'm not able anymore to change version easily with
version-maven-plugin
When I launch the
versions:set
goal on the agregator this only change versions of the aggregator this doesn't change child modules or parents one.(groupid is the same for all module)
Is it supposed to be supported ?
(Eventually my project is available at https://github.com/eclipse/leshan/tree/build_config , be sure you are using the
build_config
branch, If needed I can create a more simple project to reproduce)The text was updated successfully, but these errors were encountered: