-
Notifications
You must be signed in to change notification settings - Fork 216
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
Remove mvnd.builder.rule* and mvnd.builder.rules.provider.* features #264
Comments
@ppalaga so how do we plan to replace the dependencies in camel-quarkus: |
There is perhaps a couple of left-overs that we need to replace with virtual deps, that we generally use already https://github.com/apache/camel-quarkus/blob/cb66cca3e978e49cb5f55d2d63d35332a8632b59/catalog/pom.xml#L62-L75 |
@ppalaga this is still 4000 lines of dependencies even if they are automatically generated... |
I agree that it is a lot of LoC. Maven XML is verbose in general. But still, the virtual deps kind of solution being stock Maven is a huge advantage in my eyes. It also solves the problem for stock Maven parallel builds.
That's where I have it from. I think it was @famod who introduced it there, so he may want to comment on how's the agreement there.
This info belongs to the project IMO, where both people and tools can see it. |
Yes, it was me. It is not pretty by any means but better not fight or bypass the build tool you've chosen. |
@famod is the quarkus build supposed to support parallel build ?
|
@gnodet Not entirely, yet. The failure you are seeing will be fixed by quarkusio/quarkus#13218 |
Fixed via 82df39d |
By default mvnd build modules of multi-module source tree in parallel. The ordering of the modules is given by their dependencies. However, sometimes, in real world scenarios, modules may require another module to be built before itself, although there is no Maven dependency relationship between them. The properties
mvnd.builder.rules
,mvnd.builder.rule
,mvnd.builder.rules.provider.url
andmvnd.builder.rules.provider.script
were introduced as an additional mean for the users to control the build order. After some time, we found out that "virtual" dependecies like the following can be used to reach the same goal:We have no evidence that
mvnd.builder.rules
,mvnd.builder.rule
,mvnd.builder.rules.provider.url
andmvnd.builder.rules.provider.script
have found any substantial adoption and hence we would like to deprecate them now and remove them in some future release in favor of the "virtual" dependecies.The text was updated successfully, but these errors were encountered: