GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bug: Extra JARs and Artifacts were not subjected to filtering by cstamas · Pull Request #785 · apache/maven-shade-plugin

Conversation

@cstamas

@cstamas cstamas commented Feb 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Bug: the extraJars and extraArtifacts were added to shaded JAR as is, without subjecting them to filtering.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
Bug: Extra JARs and Artifacts were not subjected to filtering
f79df47
@cstamas

cstamas commented Feb 24, 2026

Copy link
Copy Markdown
Member Author

Related:

  • Back to Java 8 tcurdt/jdependency#388
  • Services are not handled tcurdt/jdependency#385
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cstamas added 2 commits February 24, 2026 16:03
@cstamas
Fix ITs
7e2a94d
They used Java 1.5 and around as configured output, and
it simply does not work with modern Java. Lifted all
to Java 8.
@cstamas
Remove redundant and wrong m-compiler-p
d6cb264
IT should use Maven def plugin
@cstamas
cstamas requested review from elharo, kwin, olamy and slawekjaranowski February 24, 2026 15:30
@cstamas cstamas mentioned this pull request Feb 24, 2026
Back to Java 8 tcurdt/jdependency#388
Merged
elharo
elharo reviewed Feb 24, 2026
View reviewed changes
Comment thread src/it/MSHADE-321_respectDrpFlag/pom.xml Outdated
Shade plugin starts to create DRP even if the artifact has been renamed because of the configuration
</description>

<properties>

@elharo elharo Feb 24, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

switching to Java 8 feels like a separate issue. Is there some reason it's in this PR?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@cstamas cstamas Feb 24, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

As ITs are busted without this change, at least I could not make ITs work locally (on Java 24, 21, etc).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cstamas added 2 commits February 24, 2026 22:15
@cstamas
Use latest jdependency 2.15; drop exclusion of Java 25
e600e59
@cstamas
Drop unneded bits
4911729
olamy
olamy approved these changes Feb 24, 2026
View reviewed changes

@olamy olamy left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@olamy olamy added the bug Something isn't working label Feb 24, 2026
@olamy olamy mentioned this pull request Feb 24, 2026
Update to parent POM v 47 #781
Merged
elharo
elharo requested changes Feb 24, 2026
View reviewed changes

@elharo elharo left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

If all ITs are busted then that should be fixed first in a separate PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@olamy

olamy commented Feb 25, 2026

Copy link
Copy Markdown
Member

If all ITs are busted then that should be fixed first in a separate PR.

not sure to understand the reasoning? what would be the added value of adding extra work/waste of time with a separate PR??

It has been discovered the reason of the failure with Java 25 so it's fixed now.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Bukama

Bukama commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

TBH I would like to see my "update Parent 47" draft (#781), I opend two weeks ago, to get done to work and merged, because it a) does not hide those big changes behind a "bugfix" b) sets up ITs to use parent version for lesser maintanence effort in the future (idea/request by @slawekjaranowski ). I just could not get it "green" 100% alone.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Bukama
Bukama requested changes Feb 25, 2026
View reviewed changes

@Bukama Bukama left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Replace plugin versions in ITs with parent ones (see #781)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pom.xml Outdated

@Bukama Bukama Feb 25, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Remove version. Was needed to fix Java 25 build in between, but compatible version is now part of parent

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@olamy

olamy commented Feb 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

TBH I would like to see my "update Parent 47" draft (#781), I opend two weeks ago, to get done to work and merged, because it a) does not hide those big changes behind a "bugfix" b) sets up ITs to use parent version for lesser maintanence effort in the future (idea/request by @slawekjaranowski ). I just could not get it "green" 100% alone.

no worries. if you prefer this way. I was just thinking of expedite this and have it done and dusted.
Having a separate PR or not doesn't have any effect on users so up2u (it's just internal test which users doesn't know anything about)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Bukama

Bukama commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

TBH I would like to see my "update Parent 47" draft (#781), I opend two weeks ago, to get done to work and merged, because it a) does not hide those big changes behind a "bugfix" b) sets up ITs to use parent version for lesser maintanence effort in the future (idea/request by @slawekjaranowski ). I just could not get it "green" 100% alone.

no worries. if you prefer this way. I was just thinking of expedite this and have it done and dusted. Having a separate PR or not doesn't have any effect on users so up2u (it's just internal test which users doesn't know anything about)

Sure. Splitting it, would it make change history more clearer for us - the maintainers. For users of the plugin the whole parent thing doesn't matter at all. They just consume a compiled and rleased artifact.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@elharo

elharo commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Standard best practice. PRs should be small and focused on one thing.

https://google.github.io/eng-practices/review/developer/small-cls.html
https://testing.googleblog.com/2024/07/in-praise-of-small-pull-requests.html

In the specific case of Maven, it helps a lot with code archaeology in the future. It has not escaped my notice that on another PR in surefire right now we are unable to understand why changes were made in a PR that did several things and only documented one of them, and consequently progress is blocked.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cstamas added 2 commits February 26, 2026 14:38
@cstamas
Merge master changes
ae1ce4e
@cstamas
Merge remote-tracking branch 'origin/master' into bugfix-extra-filter
9eba8ed
@cstamas

cstamas commented Feb 26, 2026

Copy link
Copy Markdown
Member Author

I am about to merge this PR as:

  • the actual bugfix was approved by @olamy
  • the change requests by @Bukama and @elharo were about things not anymore present in this PR

I consider this PR "good to go"/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas merged commit eca6398 into master Feb 26, 2026
14 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas deleted the bugfix-extra-filter branch February 26, 2026 14:12
@github-actions github-actions Bot added this to the 3.6.2 milestone Feb 26, 2026
@github-actions github-actions Bot assigned cstamas Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@elharo elharo elharo requested changes
@Bukama Bukama Bukama requested changes
@olamy olamy olamy approved these changes
@slawekjaranowski slawekjaranowski Awaiting requested review from slawekjaranowski
@kwin kwin Awaiting requested review from kwin

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

bug Something isn't working

Projects

None yet

Milestone

3.6.2

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@cstamas @olamy @Bukama @elharo
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.