question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow to customize Maven version

See original GitHub issue

It should be possible to set a specific Maven version to use with mvn. For that it should be optionally possible to download also Maven from some Apache mirror (https://maven.apache.org/download.cgi) after downloading Java and then use that mvn version.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:20
  • Comments:30 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
maxim-lobanovcommented, Feb 12, 2021

Hello @cesarhernandezgt , we don’t have plans to include Maven support to this action. We would like to keep functionality of this action limited to Java installation / switching. The another reason is that we don’t have enough experience with Maven to maintain and support action for this tool.

Ideally, we would expect Maven team to develop official action for GitHub Actions to support Maven. In this case, customers will get expert support of their builds. Just an examples: Ruby, Setup Terraform, Azure CLI Action.

As for the verifying actions - https://github.community/t/how-to-become-verified-creator-of-a-github-action/116009. As far as I know, tool owner can get verified label on own actions.

4reactions
obfischercommented, Dec 21, 2021

I would like to bring this issue up again, as this is a feature I would like to use in my setup. I don’t want just to have build with different JDK versions, but also with more than one Maven version.

Please consider again to allow users of this action to choose the Maven version to use for the build. This feature will be required at least with the release of Maven 4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Versions Maven Plugin – versions:set - MojoHaus
versions :set ... Description: Sets the current project's version and based on that change propagates that change onto any child modules as necessary....
Read more >
How to customise maven dependency version resolution?
I don't think it is sensible to write your own version range resolver. What you can do: If you really want every minor...
Read more >
Setting the Java Version in Maven | Baeldung
Learn about different ways to set the Java version for your Maven project.
Read more >
Guide to Configuring Plug-ins - Apache Maven
Maven plugins (build and reporting) are configured by specifying a <configuration> element where the child elements of the <configuration> ...
Read more >
Maven | IntelliJ IDEA Documentation - JetBrains
Change the JDK version in a Maven project ; Change the JDK version in the Project Structure · From the main menu, select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found