Skip to content

CenturyLink/action-maven-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for the Maven CLI

The origin project creates a Maven action with only JDK 8. But I'm writing java with JDK 11 and in the short future I'll keep using JDK 11. So I have forked the origin repository and add support for JDK 11.

The GitHub Action for Maven wraps the Maven CLI to enable Maven commands to be run. This can be used to run every Maven Command.

Usage

Maven with JDK 8:

action "package" {
  uses = "xlui/action-maven-cli/jdk8@master"
  args = "clean package"
}

Maven with JDK 11:

action "package" {
  uses = "xlui/action-maven-cli/jdk11@master"
  args = "clean package"
}

Also, there is another way to use Maven with JDK 11:

action "package" {
  uses = "xlui/action-maven-cli@master"
  args = "clean package"
}

It is simply for forward-compatibility.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

About

GitHub Action for Maven with JDK 11

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 76.4%
  • Shell 23.6%