You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2024/03/02 14:07:00 UTC

[jira] [Closed] (MTOOLCHAINS-38) Add skipToolchains parameter for ToolchainMojo

     [ https://issues.apache.org/jira/browse/MTOOLCHAINS-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold closed MTOOLCHAINS-38.
--------------------------------------------

> Add skipToolchains parameter for ToolchainMojo
> ----------------------------------------------
>
>                 Key: MTOOLCHAINS-38
>                 URL: https://issues.apache.org/jira/browse/MTOOLCHAINS-38
>             Project: Maven Toolchains Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jacky Chan
>            Priority: Minor
>
> If you use Github actions actions/setup-java@v2 to setup Java env, java version and vendor are all defined well, and it's not necessary to active maven-tools-plugin. 
> {code:java}
> - uses: actions/setup-java@v2
>   with:
>     distribution: 'temurin'
>     java-version: '11'
> {code}
> If you can not skip maven-tools-plugin, and you should create a `~/.m2/toolchains.xml` file for CI. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)