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://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é Boutemy <herve.bout...@free.fr> wrote: > > > > 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/version for Animal Sniffer equivalent to > > pom.xml's configuration > > https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/usage. > > html > > > > - even simpler for toolchain: just one toolchains.jdk.version value like > > https://maven.apache.org/plugins/maven-toolchains-plugin/toolchains/ > > jdk.html#sample-plugin-configuration > > > > Is there some Sisu magic for that, or do we need to add a specific extra- > > handling of this use case at goal level? > > > > Regards, > > > > Hervé > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org