maven-dependency-plugin icon indicating copy to clipboard operation
maven-dependency-plugin copied to clipboard

[MDEP-689] Fixes ignored dependency filtering in go-offline goal

Open ldhardy opened this issue 1 year ago • 3 comments

Duplicate issues MDEP-725 and MDEP-568

$ mvn -B dependency:go-offline  -DexcludeGroupIds=org.dojotoolkit -DexcludeClassifiers=distribution -DexcludeArtifactIds=org.dojotoolkit:dojo:zip:1.10.8,dojo -DexcludeTypes=zip

Results in attempted resolution of all of the excluded parameters. Looking at the GoOfflineMojo class, the filters were clearly never wired into the doExecute logic. This PR fixes that and adds some unit and integration tests.

Following this checklist to help us incorporate your contribution quickly and easily:

  • [x] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • [x] Each commit in the pull request should have a meaningful subject line and body.
  • [x] Format the pull request title like [MDEP-XXX] - Fixes bug in ApproximateQuantiles, where you replace MDEP-XXX with the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message.
  • [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • [x] You have run the integration tests successfully (mvn -Prun-its clean verify).

If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement if you are unsure please ask on the developers list.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004 you have to acknowledge this by using the following check-box.

ldhardy avatar Jun 24 '24 19:06 ldhardy

Do you know what is required to get a Jira account so I can make comments on the tickets? I've tried emailing various aliases and done the self-serve account request with no luck. It's been almost 2 months since my request.

I'll work on addressing your comments here in the next week or so.

We are working on get rid of m-artifact-trafsfer

I'm not sure how this relates to this PR, can you give me more info about what you mean?

ldhardy avatar Jul 29 '24 16:07 ldhardy

I've tried emailing various aliases and done the self-serve account request with no luck.

Apologies, that one must've slipped through. I approved your self-serve account request a minute ago.

mthmulders avatar Jul 29 '24 17:07 mthmulders

Do you know what is required to get a Jira account so I can make comments on the tickets? I've tried emailing various aliases and done the self-serve account request with no luck. It's been almost 2 months since my request.

I'll work on addressing your comments here in the next week or so.

We are working on get rid of m-artifact-trafsfer

I'm not sure how this relates to this PR, can you give me more info about what you mean?

get rid of m-artifact-transfer it is not addressed by this PR simply we add new code which use m-artifact-transfer .. but it is accepted for me now ... only please try to eliminate duplicate codes

slawekjaranowski avatar Aug 05 '24 18:08 slawekjaranowski

@slawekjaranowski Can we go ahead and merge this one?

elharo avatar Nov 16 '24 08:11 elharo

Resolve #1199

jira-importer avatar Jun 18 '25 08:06 jira-importer

any idea when this fix will be released?

mschaefers avatar Jun 26 '25 14:06 mschaefers

any idea when this fix will be released?

I hope in next week ... 😄

slawekjaranowski avatar Sep 13 '25 20:09 slawekjaranowski