Skip to content

added Maven Wrapper so JitPack will use the wrapper version of Maven#77

Merged
renggli merged 1 commit into
petitparser:mainfrom
ScottiSws:jitpack-fix
Oct 26, 2024
Merged

added Maven Wrapper so JitPack will use the wrapper version of Maven#77
renggli merged 1 commit into
petitparser:mainfrom
ScottiSws:jitpack-fix

Conversation

@ScottiSws

Copy link
Copy Markdown
Contributor

The Maven Wrapper will let you set which version of Maven you want to use and will download it before building. You use ./mvnw instead of mvn now. The JitPack build log said it wanted 3.6.3 so I installed that was able to as test release with JitPack.

https://maven.apache.org/wrapper

Build using the wrapper instead of local Maven
./mvnw clean build install

Change maven version and update wrapper
./mvnw wrapper:wrapper -Dmaven=3.6.3

@renggli renggli merged commit 6a6cddc into petitparser:main Oct 26, 2024
@renggli

renggli commented Oct 26, 2024

Copy link
Copy Markdown
Member

Thank you, this looks great!

cdlm added a commit to cdlm/java-petitparser that referenced this pull request Jun 16, 2026
Probably this makes installing maven from jitpack.yml unnecessary…
See petitparser#77 and petitparser#51
renggli pushed a commit that referenced this pull request Jun 17, 2026
Probably this makes installing maven from jitpack.yml unnecessary…
See #77 and #51
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.

2 participants