Praveen7294 commented on PR #24492: URL: https://github.com/apache/pulsar/pull/24492#issuecomment-3057066151
``` [INFO] --------------------< org.apache.pulsar:buildtools >-------------------- [INFO] Building Pulsar Build Tools 4.1.0-SNAPSHOT [1/132] [INFO] from buildtools\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven-version) @ buildtools --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-java-version) @ buildtools --- [INFO] [INFO] --- remote-resources:1.7.0:process (process-resource-bundles) @ buildtools --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ buildtools --- [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ buildtools --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ buildtools --- [INFO] skip non existing resourceDirectory F:\GitHub\pulsar\buildtools\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ buildtools --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- surefire:3.1.0:test (default-test) @ buildtools --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ buildtools --- [INFO] [INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ buildtools --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- shade:3.4.1:shade (default) @ buildtools --- [INFO] Including org.apache.commons:commons-lang3:jar:3.17.0 in the shaded jar. [INFO] Excluding org.yaml:snakeyaml:jar:2.0 from the shaded jar. [INFO] Excluding org.apache.ant:ant:jar:1.10.12 from the shaded jar. [INFO] Excluding org.apache.ant:ant-launcher:jar:1.10.12 from the shaded jar. [INFO] Excluding com.google.guava:guava:jar:32.1.2-jre from the shaded jar. [INFO] Excluding com.google.guava:failureaccess:jar:1.0.1 from the shaded jar. [INFO] Excluding com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava from the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.checkerframework:checker-qual:jar:3.33.0 from the shaded jar. [INFO] Excluding com.google.errorprone:error_prone_annotations:jar:2.18.0 from the shaded jar. [INFO] Excluding com.google.j2objc:j2objc-annotations:jar:2.8 from the shaded jar. [INFO] Excluding com.google.inject:guice:jar:4.2.3 from the shaded jar. [INFO] Excluding javax.inject:javax.inject:jar:1 from the shaded jar. [INFO] Excluding aopalliance:aopalliance:jar:1.0 from the shaded jar. [INFO] Excluding org.testng:testng:jar:7.7.1 from the shaded jar. [INFO] Excluding com.beust:jcommander:jar:1.82 from the shaded jar. [INFO] Excluding org.webjars:jquery:jar:3.6.1 from the shaded jar. [INFO] Excluding org.apache.logging.log4j:log4j-api:jar:2.23.1 from the shaded jar. [INFO] Excluding org.apache.logging.log4j:log4j-core:jar:2.23.1 from the shaded jar. [INFO] Excluding org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.23.1 from the shaded jar. [INFO] Excluding org.slf4j:slf4j-api:jar:2.0.13 from the shaded jar. [INFO] Excluding org.slf4j:jcl-over-slf4j:jar:2.0.13 from the shaded jar. [INFO] Excluding org.mockito:mockito-core:jar:5.17.0 from the shaded jar. [INFO] Excluding net.bytebuddy:byte-buddy:jar:1.15.11 from the shaded jar. [INFO] Excluding net.bytebuddy:byte-buddy-agent:jar:1.15.11 from the shaded jar. [INFO] Excluding org.objenesis:objenesis:jar:3.3 from the shaded jar. [INFO] Dependency-reduced POM written at: F:\GitHub\pulsar\buildtools\dependency-reduced-pom.xml [WARNING] buildtools-4.1.0-SNAPSHOT.jar, commons-lang3-3.17.0.jar define 5 overlapping classes and resources: [WARNING] - META-INF.versions.9.module-info [WARNING] - META-INF/LICENSE.txt [WARNING] - META-INF/NOTICE.txt [WARNING] - META-INF/maven/org.apache.commons/commons-lang3/pom.properties [WARNING] - META-INF/maven/org.apache.commons/commons-lang3/pom.xml [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing F:\GitHub\pulsar\buildtools\target\buildtools-4.1.0-SNAPSHOT.jar with F:\GitHub\pulsar\buildtools\target\buildtools-4.1.0-SNAPSHOT-shaded.jar [INFO] [INFO] --- install:3.1.0:install (default-install) @ buildtools --- [INFO] Installing F:\GitHub\pulsar\buildtools\dependency-reduced-pom.xml to C:\Users\praveen kumar\.m2\repository\org\apache\pulsar\buildtools\4.1.0-SNAPSHOT\buildtools-4.1.0-SNAPSHOT.pom [INFO] Installing F:\GitHub\pulsar\buildtools\target\buildtools-4.1.0-SNAPSHOT.jar to C:\Users\praveen kumar\.m2\repository\org\apache\pulsar\buildtools\4.1.0-SNAPSHOT\buildtools-4.1.0-SNAPSHOT.jar [INFO] [INFO] ----------------------< org.apache.pulsar:pulsar >---------------------- [INFO] Building Pulsar 4.1.0-SNAPSHOT [2/132] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- ``` In this module, Checkstyle doesn't enforce the rules when I build the project locally, but it does check them in the CI workflows. There are some other modules that behave the same way. -- 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]
