Open vpa1977 opened 1 month ago
This is done on purpose; the idea is to give flexibility on the version of maven/jdk that you use for building the project. As you mentioned, the solution in the general case is to include those build-packages
.
We should probably change this to behave like the rust plugin - If there's no maven-deps
we install the system maven.
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3257.
This message was autogenerated
We should probably change this to behave like the rust plugin - If there's no
maven-deps
we install the system maven.
Yes, it would be nice.
Also maven depends on default-jre-headless, so we might want to have default-jdk-headless
in build-packages too to deploy command line tools.
Alternative is to make this change rockcraft-only
Bug Description
maven plugin does not install maven build-package. In order to use maven plugin the image should have maven installed already which is inconvenient. Would it be possible to append
if the part does not contain 'build-packages'
To Reproduce
part yaml
Relevant log output