wangyum commented on a change in pull request #34362:
URL: https://github.com/apache/spark/pull/34362#discussion_r734238451



##########
File path: pom.xml
##########
@@ -2442,6 +2442,10 @@
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
           </exclusion>
+          <exclusion>
+            <groupId>javax.annotation</groupId>
+            <artifactId>javax.annotation-api</artifactId>
+          </exclusion>

Review comment:
       It seems we do not need it:
   ```
   LM-SHC-16508156:thrift yumwang$ grep -ER "javax.annotation" .
   ./lib/java/gradle/environment.gradle:ext.javaxAnnotationVersion = 
property('javax.annotation.version')
   ./lib/java/gradle/environment.gradle:    compile 
"javax.annotation:javax.annotation-api:${javaxAnnotationVersion}"
   Binary file ./lib/java/.gradle/5.6.4/executionHistory/executionHistory.bin 
matches
   Binary file ./lib/java/.gradle/5.6.4/javaCompile/classAnalysis.bin matches
   Binary file ./lib/java/.gradle/5.6.4/javaCompile/taskHistory.bin matches
   ./lib/java/gradle.properties:javax.annotation.version=1.3.2
   ./lib/java/build/poms/pom-default.xml:      
<groupId>javax.annotation</groupId>
   ./lib/java/build/poms/pom-default.xml:      
<artifactId>javax.annotation-api</artifactId>
   Binary file ./lib/java/build/deps/javax.annotation-api-1.3.2.jar matches
   ./lib/java/build/tmp/javadoc/javadoc.options:-classpath 
'/Users/yumwang/opensource/thrift/lib/java/build/classes/java/main:/Users/yumwang/opensource/thrift/lib/java/build/resources/main:/Users/yumwang/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.28/2cd9b264f76e3d087ee21bfc99305928e1bdb443/slf4j-api-1.7.28.jar:/Users/yumwang/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.5.10/7ca2e4276f4ef95e4db725a8cd4a1d1e7585b9e5/httpclient-4.5.10.jar:/Users/yumwang/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.12/21ebaf6d532bc350ba95bd81938fa5f0e511c132/httpcore-4.4.12.jar:/Users/yumwang/.gradle/caches/modules-2/files-2.1/javax.servlet/javax.servlet-api/4.0.1/a27082684a2ff0bf397666c3943496c44541d1ca/javax.servlet-api-4.0.1.jar:/Users/yumwang/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.3.2/934c04d3cfef185a8008e7bf34331b79730a9d43/javax.annotation-api-1.3.2.jar:/Users/yumwang/.gradle/caches/modules
 
-2/files-2.1/commons-logging/commons-logging/1.2/4bfc12adfe4842bf07b657f0369c4cb522955686/commons-logging-1.2.jar:/Users/yumwang/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.11/3acb4705652e16236558f0f4f2192cc33c3bd189/commons-codec-1.11.jar'
   ./compiler/cpp/src/thrift/generate/t_java_generator.cc:  indent(out) << 
"@javax.annotation.Generated(value = \"" << autogen_summary() << "\"";
   
   ```




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to