Re: injecting an object for plugin configuration on Maven CLI

2023-11-29 Thread Jorge Solórzano
This should be a nice feature to have, this way a configuration of a complex object could still be done using properties like: -Dmaven.toolchain.toolchains.jdk.version="11" Sisu should definitely add support to this. Thinking out loud, it would be really nice if Maven supports something like Mic

Re: injecting an object for plugin configuration on Maven CLI

2023-11-28 Thread Hervé Boutemy
thank you Konrad I feared that IIUC, I'll have to add a parameter for CLI use that will parse a specific format: I'll try and share, so we can evaluate options Regards, Hervé Le vendredi 17 novembre 2023, 10:55:55 CET Konrad Windszus a écrit : > Hi, > Only the value classes listed in > https://

Re: injecting an object for plugin configuration on Maven CLI

2023-11-17 Thread Konrad Windszus
Hi, Only the value classes listed in https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Value_Objects support conversion from string. There is nothing built in for complex classes containing multiple values of different types. Konrad > On 17. Nov 2023, at 08:51, Hervé

injecting an object for plugin configuration on Maven CLI

2023-11-16 Thread Hervé Boutemy
my use case: I want sometimes to execute maven-toolchain-plugin or animal- sniffer-maven-plugin on CLI without updating pom.xml the only issue I'm facing is how to write the -D properties to populate a few fields from Objects required in plugin configuration: - signature groupId/artifactId/versi