GardOS / DevOps-Exercise

Repo for exercises in DevOps course
0 stars 0 forks source link

Try maven-wrapper #1

Open zhenik opened 6 years ago

zhenik commented 6 years ago

Hei, as a suggestion, try to use maven-wrapper. Its similar to gradle-wrapper. It provides an opportunity to have the project's tied maven inside the project. U can commit maven.jar.

Advantages:

  1. You do not need to care about installing maven on the target system to build a project. Instead of mvn <command> u call ./mvnw <command>. Do not need to install maven to jenkins.

Example

GardOS commented 6 years ago

Hei :wave: Thanks for the heads up!

I'll discuss this with my teacher next Monday and see if this something that is recommended. We are using Concourse, and not Jenkins this year, and it might not need the same infrastructure.