MartijnVisser commented on code in PR #69:
URL:
https://github.com/apache/flink-connector-shared-utils/pull/69#discussion_r4738203882
##########
.github/workflows/ci.yml:
##########
@@ -176,6 +176,7 @@ jobs:
set -o pipefail
mvn clean deploy ${MVN_COMMON_OPTIONS} \
+
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade.mojo.ShadeMojo=debug
\
Review Comment:
apache/flink made the same change in FLINK-38711 and FLINK-39181, might make
sense to link those on the Jira.
##########
.github/workflows/ci.yml:
##########
@@ -190,13 +191,14 @@ jobs:
# DeployParser and DependencyParser match on the artifactId spelling, so
on Maven 3.9 they
# extract 0 modules and the NOTICE half of the license check silently
degrades to a no-op
# that still exits 0. Rewrite the two affected banners back to the 3.8
spelling.
- # Remove this step once connectors depend on a flink-ci-tools release
containing the parser
- # fix from FLINK-40459.
- - name: Normalize Maven 3.9 mojo banners for the license checker
+ # Remove the two banner substitutions once connectors use the parser fix
from FLINK-40459.
+ # ShadeParser also counts skipped POMs as bundled. Drop those records
from the checker input.
+ - name: Prepare Maven build log for the license checker
run: |
sed -E \
-e 's/^(\[INFO\] --- )deploy:/\1maven-deploy-plugin:/' \
-e 's/^(\[INFO\] --- )dependency:/\1maven-dependency-plugin:/' \
+ -e '/Skipping pom dependency .* in the shaded jar/d' \
Review Comment:
This is a ShadeParser bug that also hits shade 3.5.1, I'll open a ticket for
the parser fix so this line can go once all tested Flink versions have it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]