Skip to content

feat: ability to avoid CLIRR dependency resolution#959

Merged
suztomo merged 1 commit intogoogleapis:mainfrom
suztomo:clirr_profile2
Jan 7, 2025
Merged

feat: ability to avoid CLIRR dependency resolution#959
suztomo merged 1 commit intogoogleapis:mainfrom
suztomo:clirr_profile2

Conversation

@suztomo
Copy link
Member

@suztomo suztomo commented Jan 7, 2025

Fixes #956

CLIRR Maven plugin's dependencies are quite old and not available in some build environment (Airlock).

Extracting this plugin declaration as a profile "clirr-compatibility-check" enables us to disable the CLIRR dependency resolution by

mvn -P=-clirr-compatibility-check ...

Because the profile is activated by default for Java 8 and above, the CIs continue to run the CLIRR check without explicitly specifying the profile.

CLIRR Maven plugin's dependencies are quite old and not available
in some build environment (Airlock).
googleapis#956
Extracting this plugin declaration as a profile enables us to disable
the CLIRR dependency resolution by

`mvn -P=-clirr-compatibility-check ...`
@suztomo suztomo requested a review from a team January 7, 2025 14:14
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jan 7, 2025
@suztomo suztomo requested a review from a team January 7, 2025 14:32
@suztomo suztomo merged commit 50198dd into googleapis:main Jan 7, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Have the ability to disable CLIRR plugin dependency resolutions

2 participants