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

Make maven sonatype plugin work also with Java 17, and publish for 17 only #58

Merged
merged 3 commits into from
Jun 28, 2023

Conversation

see-quick
Copy link
Member

@see-quick see-quick commented Jun 27, 2023

The older sonatype maven plugin (1.6.3) is failing when pushing artefacts using Java 17. This update should solve such a problem with the latest version 1.6.13.

Basically a mirror of the strimzi/strimzi-kafka-operator#7946.

Plus I have added for flaky test cases (that it well try at least 3 times if they end up failing)
Plus, publishing artefacts will done only in scope of Java 17 build

Signed-off-by: see-quick <maros.orsak159@gmail.com>
@see-quick see-quick added this to the 0.104.0 milestone Jun 27, 2023
@see-quick see-quick self-assigned this Jun 27, 2023
Signed-off-by: see-quick <maros.orsak159@gmail.com>
@see-quick see-quick requested review from scholzj and Frawless June 27, 2023 13:11
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this solves the issue with the deployment happning in all Java versions. You should solve it together with this I think to avoid it being published twice next time.

Signed-off-by: see-quick <maros.orsak159@gmail.com>
@see-quick
Copy link
Member Author

I don't think this solves the issue with the deployment happening in all Java versions. You should solve it together with this I think to avoid it being published twice next time.

Done. Publishing artefacts will be done only in the scope of the Java 17 build pipeline.

@see-quick see-quick changed the title Make maven sonatype plugin work also with Java 17 Make maven sonatype plugin work also with Java 17, and publish for 17 only Jun 28, 2023
@see-quick see-quick merged commit 72371f4 into main Jun 28, 2023
see-quick added a commit that referenced this pull request Jun 28, 2023
… only (#58)

* Make maven sonatype plugin work also with Java 17

Signed-off-by: see-quick <maros.orsak159@gmail.com>

* remove flakiness of test cases

Signed-off-by: see-quick <maros.orsak159@gmail.com>

* add conditional to push only in Java 17

Signed-off-by: see-quick <maros.orsak159@gmail.com>

---------

Signed-off-by: see-quick <maros.orsak159@gmail.com>
@see-quick see-quick deleted the fix-sona branch March 5, 2024 21:17
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.

3 participants