[
https://jira.codehaus.org/browse/MTOOLCHAINS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359125#comment-359125
]
Robert Scholte commented on MTOOLCHAINS-14:
-------------------------------------------
This is actually already supported. What happens is that the
{{maven-toolchain-plugin}} searches for a match based on the
configuration-elements. Right now it does String matching for all elements,
except for {{<version/>}} (so it can decide which is the closest matching
version).
So you can add your own elements if you like for the matching.
However, if the {{arch}}-value should be used depends on the plugin using
toolchains, e.g. the {{maven-compiler-plugin}}.
> Toolchains should support architecture definition
> -------------------------------------------------
>
> Key: MTOOLCHAINS-14
> URL: https://jira.codehaus.org/browse/MTOOLCHAINS-14
> Project: Maven Toolchains Plugin
> Issue Type: Improvement
> Reporter: Gordon Pettey
> Priority: Minor
>
> Toolchains should support an <arch> element in <provides> to allow defining
> multiple architecture JVMs of the same version. This would help support
> simple testing of native library code that needs a matching JVM. Possible
> workaround is to specify a different version for each additional arch, but
> the extra element would be nicer.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)