Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple maven installation from Jenkins by using the reference applications maven build wrapper #38

Open
RobertNorthard opened this issue May 27, 2017 · 0 comments

Comments

@RobertNorthard
Copy link
Contributor

RobertNorthard commented May 27, 2017

The reference application (spring-petclinic) has a maven build wrapper. This enables the application to be built using mvn wrapper. E.g. ./mvnw clean install.

In my opinion, we should make use of this build wrapper because;

  • It decouples the Maven installation from Jenkins.
  • It helps ensure the build server is building/testing the application the same way as the developers.
  • Maven version stored in version control alongside the application code.
  • Easier to maintain different maven profiles/versions per application.

See #39 for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant