Skip to content

Remove deprecated Maven 3 repository API from Jira unicode test - #702

Open
shrutimane2409 wants to merge 1 commit into
apache:masterfrom
shrutimane2409:gh-701-deprecated-maven3-api
Open

shrutimane2409 wants to merge 1 commit into
apache:masterfrom
shrutimane2409:gh-701-deprecated-maven3-api

Conversation

@shrutimane2409

Copy link
Copy Markdown

Fixes #701

JiraUnicodeTestCase sets the local repository path on the execution request and lets MavenExecutionRequestPopulator create the repository, instead of mocking an ArtifactRepository. This is the same approach as apache/maven-reporting-exec#192.

JiraUnicodeTestProjectStub, which built an ArtifactRepository with an ArtifactRepositoryPolicy, is removed because nothing uses it.

Verified: mvn -B verify -Prun-its passes.

Part of apache/maven#14157


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

Set the local repository path on the execution request and let the
request populator create the repository, instead of mocking an
ArtifactRepository. Remove JiraUnicodeTestProjectStub, which is not
used anywhere.

Fixes apache#701
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.

Move off the Maven API deprecated since Maven 3

1 participant