You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/11/07 10:18:16 UTC

[GitHub] [druid] abhishekagarwal87 commented on a diff in pull request #13270: Adds license and security vulnerabilities checks for Hadoop3 build

abhishekagarwal87 commented on code in PR #13270:
URL: https://github.com/apache/druid/pull/13270#discussion_r1015240718


##########
.travis.yml:
##########
@@ -142,27 +151,10 @@ jobs:
 
         " && false; }
 
-    - name: "analyze hadoop 3 dependencies"
-      script: |-
-        MAVEN_OPTS='-Xmx3000m' ${MVN} ${MAVEN_SKIP} dependency:analyze -DoutputXML=true -DignoreNonCompile=true -DfailOnWarning=true -Phadoop3 || { echo "
-
-        The dependency analysis has found a dependency that is either:
-
-        1) Used and undeclared: These are available as a transitive dependency but should be explicitly
-        added to the POM to ensure the dependency version. The XML to add the dependencies to the POM is
-        shown above.
-
-        2) Unused and declared: These are not needed and removing them from the POM will speed up the build
-        and reduce the artifact size. The dependencies to remove are shown above.
-
-        If there are false positive dependency analysis warnings, they can be suppressed:
-        https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#usedDependencies
-        https://maven.apache.org/plugins/maven-dependency-plugin/examples/exclude-dependencies-from-dependency-analysis.html
-
-        For more information, refer to:
-        https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html
-
-        " && false; }
+    - <<: *analyze_dependencies
+      name: "analyze hadoop 3 dependencies"

Review Comment:
   https://app.travis-ci.com/github/apache/druid/jobs/587017381 - does this work? 



-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org