- ./mvnw.cmd clean compile -e
- ./mvnw.cmd clean test -e
- ./mvnw.cmd clean package -e
- Local: ./mvnw.cmd spring-boot:run
- Background: nohup bash mvnw.cmd spring-boot:run &
- Abrir navegador: http://localhost:8081/rest/mscovid/test?msg=testing
- ./mvnw clean compile -e
- ./mvnw clean test -e
- ./mvnw clean package -e
- Local: ./mvnw spring-boot:run
- Background: nohup bash mvnw spring-boot:run &
- curl -X GET 'http://localhost:8081/rest/mscovid/test?msg=testing'
### Compile Code
docker run -it --rm -v ${pwd}:/code --workdir /code maven mvn clean compile -e
### Test Code
docker run -it --rm -v ${pwd}:/code --workdir /code maven mvn clean test -e
### Jar Code
docker run -it --rm -v ${pwd}:/code --workdir /code maven mvn clean package -e
### Run Jar
docker run -it --rm -p 8081:8081 -v ${pwd}:/code --workdir /code maven mvn spring-boot:run
### Compile Code
docker run -it --rm -v $(pwd):/code --workdir /code maven mvn clean compile -e
### Test Code
docker run -it --rm -v $(pwd):/code --workdir /code maven mvn clean test -e
### Jar Code
docker run -it --rm -v $(pwd):/code --workdir /code maven mvn clean package -e
### Run Jar
docker run -it --rm -p 8081:8081 -v $(pwd):/code --workdir /code maven mvn spring-boot:run