XComp commented on code in PR #136:
URL: https://github.com/apache/flink-shaded/pull/136#discussion_r1467771500


##########
.github/workflows/ci.yml:
##########
@@ -51,6 +52,14 @@ jobs:
 
       - name: Check licensing
         run: |
-          mvn ${MVN_COMMON_OPTIONS} exec:java@check-licensing -N \
+          mvn ${MVN_COMMON_OPTIONS} exec:java@check-license -N \
             -Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ 
env.MVN_VALIDATION_DIR }}" \
-            -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
\ No newline at end of file
+            -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
+
+      - name: Check shade optional dependencies
+        run: |
+            mvn ${MVN_COMMON_OPTIONS} dependency:tree -Plicense-check | tee 
${{ env.MVN_DEPENDENCY_PLUGIN_OUTPUT_FILE }}

Review Comment:
   btw. the `exec-maven-plugin` allows to set System properties (see 
[docs](https://www.mojohaus.org/exec-maven-plugin/usage.html#pom-configuration-1))
 which could be used to enable profiles implicitly (see 
[docs](https://maven.apache.org/guides/introduction/introduction-to-profiles.html#property)).
 :innocent: 



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to