Fix matching of SNAPSHOT artifacts when customizing layers
Previously the artifact's version was used. In an artifact's version, SNAPSHOT is replaced with the timestamped version number of a specific snapshot. As a result, it no longer matches the *:*:*SNAPSHOT pattern. This commit replaces switches to using the artifact's base version. This preserves the SNAPSHOT in the version number. For non-snapshot artifacts, the version and base version are identical. Fixes gh-23533
Showing
Please register or sign in to comment