Skip to content

krrrr38/maven-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maven-runner

Easy jar executor

Description

Install jar file from maven central and run it.

Usage

For example, if you package your Spring Boot application jar to maven repository, now you can run it like following

$ maven-runner jar -groupId com.sample -artifact spring-boot-program -version 0.1.0 -options "-Dproperty=value" -argument "foo bar"
// above command runs a following command after downloading jar from maven repository
// sh -c "java -Dproperty=value -jar spring-boot-program-0.1.0.jar foo bar"

Install

To install, use go get:

$ go get -d github.com/krrrr38/maven-runner

Contribution

  1. Fork (https://github.com/krrrr38/maven-runner/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

krrrr38

About

Easy runner for jar program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published