Skip to content

Add the Maven Wrapper#106

Open
jkutner wants to merge 1 commit intozhuowei:masterfrom
jkutner:master
Open

Add the Maven Wrapper#106
jkutner wants to merge 1 commit intozhuowei:masterfrom
jkutner:master

Conversation

@jkutner
Copy link
Copy Markdown

@jkutner jkutner commented Dec 29, 2020

This change adds the Maven Wrapper to the project, which bootstraps a Maven environment. The Maven Wrapper is a best practice, and will be included in Maven 3.7.0 by default.

I created the files in this PR by running the following command against the repo:

$ mvn -N io.takari:maven:wrapper

It works by running ./mvnw or ./mvnw.cmd instead of the mvn command. In this way, it ensures that all users are running the same version of Maven. You can read more about it on the Baeldung blog.

Accepting this change would make it significantly easier to build the plugin in an automated environment.

For context, I'm trying to add RaspberryJuice support to the Minecraft Buildpack, which must build the plugin from source (alternatively, it could download a pre-compiled version of the plugin, but I didn't know where to find one).

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

Successfully merging this pull request may close these issues.

1 participant