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

Update plugin build and dependencies #105

Merged
merged 4 commits into from
Nov 9, 2022
Merged

Update plugin build and dependencies #105

merged 4 commits into from
Nov 9, 2022

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Nov 5, 2022

Depends on takari/takari-pom#9

High level changes:

  • updated wrapper to latest
  • uses parent v 50
  • remove/adjust prerequisites (needed only for plugin, parent POM not, etc)
  • get rid of animal sniffer as compiler use release flag
  • update plugin dependencies
  • update sources where depedendency introduced change
  • one IT changed: CompileAnnotationProcessingTest as it used source 1.6, that is unsupported by Java 17. Changed to release 7
  • update github workflow with distribution
  • styfle/cancel-workflow-action: bump

With these changes the build works okay on Java 17 as well.

Depends on takari/takari-pom#9

High level changes:
- updated wrapper to latest
- uses parent v 50
- remove/adjust prerequisites (needed only for plugin, parent POM not, etc)
- get rid of animal sniffer as compiler use `release` flag
- update plugin dependencies
- update sources where depedendency introduced change
- one IT changed: CompileAnnotationProcessingTest as it used source 1.6, that is unsupported by Java 17. Changed to `release 7`
- update github workflow with distribution
- styfle/cancel-workflow-action: bump

With these changes the build works okay on Java 17 as well.
@ajayk
Copy link

ajayk commented Nov 6, 2022

@jvanzyl SNAPSHOT needs to be released io.takari:takari:pom:50-SNAPSHOT

@cstamas
Copy link
Member Author

cstamas commented Nov 6, 2022

@ajayk asked for permission to deploy, once got, will do releases... Am currently fixing plugin IT framework that fail with mvn 3.8.6...

@cstamas
Copy link
Member Author

cstamas commented Nov 8, 2022

Parent 50 released, needs some time to sync to Maven Central, then we can continue.... @ajayk

@cstamas
Copy link
Member Author

cstamas commented Nov 8, 2022

IT framework failure reson w/ mvn 3.8.4+ is this commit:
apache/maven@05b748f

The change in DefaultMojoExecutionConfigurator.java causes NPE, as mojoExecution.getPlugin() when created by IT framework is null.

@cstamas
Copy link
Member Author

cstamas commented Nov 8, 2022

POM landed in Central, updated parent in this PR.

@cstamas cstamas requested a review from ajayk November 8, 2022 20:14
@cstamas
Copy link
Member Author

cstamas commented Nov 8, 2022

Also, I'd make this 2.1.0 instead 2.0.10... wdyt? @ajayk

@ajayk
Copy link

ajayk commented Nov 8, 2022

@

Also, I'd make this 2.1.0 instead 2.0.10... wdyt? @ajayk

sounds good @cstamas

@cstamas cstamas merged commit 6b3634d into master Nov 9, 2022
@cstamas cstamas deleted the update-plugin branch November 9, 2022 06:56
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