Easy jar executor
Install jar file from maven central and run it.
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"
To install, use go get
:
$ go get -d github.com/krrrr38/maven-runner
- Fork (https://github.com/krrrr38/maven-runner/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request