Skip to content

Lotzy/springboot-apache-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

springboot-apache-cli

Spring Boot 2.2.x Example project illustrating:

  • how to use command line arguments with Apache common-cli
  • how to use spring profile

Using the project:

  1. Clone project from GitHub
  2. Import in Eclipse as maven project
  3. Use JUnit test

Building

To build for a specific environment setting active one of the Spring profiles:

  • mvn clean package -P{target-profile}

Where {target-profile} can be test (by default if no -P build argument specified) or prod

About

Simple CLI Spring Boot 2.2.x with Apache commons-cli example application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages