zhaijack opened a new issue #219: Exclude files under target directory from apache-rat check URL: https://github.com/apache/distributedlog/issues/219 **BUG REPORT** 1. Please describe the issue you observed: - What did you do? run distributedlog nightly build - What did you expect to see? the distributedlog nightly build should pass. - What did you see instead? the distributedlog nightly build failed due to `apache-rat`. ``` [WARNING] Files with unapproved licenses: distributedlog-client/target/cobertura/cobertura.ser distributedlog-client/target/site/cobertura/frame-summary.html distributedlog-client/target/site/cobertura/coverage.xml distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.ownership.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.resolver.html distributedlog-client/target/site/cobertura/css/help.css distributedlog-client/target/site/cobertura/css/tooltip.css distributedlog-client/target/site/cobertura/css/source-viewer.css distributedlog-client/target/site/cobertura/css/sortabletable.css distributedlog-client/target/site/cobertura/css/main.css distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.serverset.html distributedlog-client/target/site/cobertura/help.html distributedlog-client/target/site/cobertura/frame-packages.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.speculative.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.routing.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.serverset.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.proxy.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.monitor.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.ownership.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.stats.html distributedlog-client/target/site/cobertura/js/stringbuilder.js distributedlog-client/target/site/cobertura/js/sortabletable.js distributedlog-client/target/site/cobertura/js/popup.js distributedlog-client/target/site/cobertura/js/customsorttypes.js distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.monitor.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.routing.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.stats.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.speculative.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.client.resolver.html distributedlog-client/target/site/cobertura/frame-sourcefiles.html distributedlog-client/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.client.proxy.html distributedlog-client/target/site/cobertura/frame-summary-org.apache.distributedlog.service.html distributedlog-client/target/site/cobertura/index.html distributedlog-client/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst distributedlog-client/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst distributedlog-client/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst distributedlog-client/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst distributedlog-client/target/generated-classes/cobertura/cobertura.properties distributedlog-client/target/findbugsXml.xml distributedlog-client/target/checkstyle-result.xml distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.ownership.TestOwnershipCache.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogClientBuilder-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.routing.TestInetNameResolution.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.speculative.TestDefaultSpeculativeRequestExecutionPolicy.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.speculative.TestDefaultSpeculativeRequestExecutionPolicy-output.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestRegionsRoutingService-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.routing.TestRoutingService.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogClientBuilder.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestRoutingService.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.proxy.TestProxyClientManager.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.ownership.TestOwnershipCache-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.speculative.TestDefaultSpeculativeRequestExecutionPolicy.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestRegionsRoutingService.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestConsistentHashRoutingService-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.routing.TestConsistentHashRoutingService.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.TestDistributedLogMultiStreamWriter.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.proxy.TestProxyClientManager-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.service.TestDistributedLogClientBuilder.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestConsistentHashRoutingService.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestInetNameResolution-output.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.proxy.TestProxyClientManager.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestInetNameResolution.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.routing.TestRegionsRoutingService.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.routing.TestRoutingService-output.txt distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.ownership.TestOwnershipCache.txt distributedlog-client/target/surefire-reports/TEST-org.apache.distributedlog.client.TestDistributedLogMultiStreamWriter.xml distributedlog-client/target/surefire-reports/org.apache.distributedlog.client.TestDistributedLogMultiStreamWriter-output.txt distributedlog-client/target/.plxarc distributedlog-service/target/cobertura/cobertura.ser distributedlog-service/target/site/cobertura/frame-summary.html distributedlog-service/target/site/cobertura/coverage.xml distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.tools.html distributedlog-service/target/site/cobertura/css/help.css distributedlog-service/target/site/cobertura/css/tooltip.css distributedlog-service/target/site/cobertura/css/source-viewer.css distributedlog-service/target/site/cobertura/css/sortabletable.css distributedlog-service/target/site/cobertura/css/main.css distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.stream.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.bookkeeper.stats.html distributedlog-service/target/site/cobertura/help.html distributedlog-service/target/site/cobertura/frame-packages.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.config.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.bookkeeper.stats.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.config.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.utils.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.stream.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.placement.thrift.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.stream.admin.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.balancer.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.placement.thrift.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.placement.html distributedlog-service/target/site/cobertura/js/stringbuilder.js distributedlog-service/target/site/cobertura/js/sortabletable.js distributedlog-service/target/site/cobertura/js/popup.js distributedlog-service/target/site/cobertura/js/customsorttypes.js distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.stream.limiter.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.announcer.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.tools.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.stream.admin.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.balancer.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.placement.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.streamset.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.utils.html distributedlog-service/target/site/cobertura/frame-sourcefiles.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.stream.limiter.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.html distributedlog-service/target/site/cobertura/frame-summary-org.apache.distributedlog.service.announcer.html distributedlog-service/target/site/cobertura/frame-sourcefiles-org.apache.distributedlog.service.streamset.html distributedlog-service/target/site/cobertura/index.html distributedlog-service/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst distributedlog-service/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst distributedlog-service/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst distributedlog-service/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst distributedlog-service/target/generated-classes/cobertura/cobertura.properties distributedlog-service/target/findbugsXml.xml distributedlog-service/target/checkstyle-result.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.stream.limiter.TestServiceRequestLimiter.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestDelimiterStreamPartitionConverter.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.TestStreamOp.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestSimpleBalancer.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.TestStreamOp-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestZKPlacementStateManager-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestClusterBalancer.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.placement.TestServerLoad.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogService-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestLeastLoadPlacementPolicy.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.balancer.TestStreamMover.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.TestDistributedLogServerServerRouting.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.balancer.TestBalancerUtils.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestBalancerUtils.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.streamset.TestDelimiterStreamPartitionConverter.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestBalancerUtils-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.limiter.TestServiceRequestLimiter-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.utils.TestServerUtils.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.stream.TestStreamManager.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.config.TestServerConfiguration.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.TestStreamManager-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogService.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestStatsFilter.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.balancer.TestClusterBalancer.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.placement.TestZKPlacementStateManager.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.utils.TestServerUtils-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestPartitionMap-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.placement.TestStreamLoad.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.TestRegionUnavailable.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestIdentityStreamPartitionConverter-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestClusterBalancer-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestServerLoad-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestLeastLoadPlacementPolicy-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.balancer.TestSimpleBalancer.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.streamset.TestIdentityStreamPartitionConverter.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.config.TestServerConfiguration-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.placement.TestLeastLoadPlacementPolicy.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestCountBasedStreamChooser.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.balancer.TestCountBasedStreamChooser.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.TestStreamManager.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.utils.TestServerUtils.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestSimpleBalancer-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestStatsFilter-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestDelimiterStreamPartitionConverter-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestPartitionMap.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestStreamMover-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.config.TestStreamConfigProvider-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogServerClientRouting.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.TestStatsFilter.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.config.TestStreamConfigProvider.xml distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.TestDistributedLogServerClientRouting.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestCountBasedStreamChooser-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.TestDistributedLogService.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestZKPlacementStateManager.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.config.TestServerConfiguration.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestStreamLoad-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogServerClientRouting-output.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.stream.TestStreamOp.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestRegionUnavailable-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestRegionUnavailable.txt distributedlog-service/target/surefire-reports/TEST-org.apache.distributedlog.service.streamset.TestPartitionMap.xml distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.stream.limiter.TestServiceRequestLimiter.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestStreamLoad.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.config.TestStreamConfigProvider.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogServerServerRouting.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.TestDistributedLogServerServerRouting-output.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.streamset.TestIdentityStreamPartitionConverter.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.balancer.TestStreamMover.txt distributedlog-service/target/surefire-reports/org.apache.distributedlog.service.placement.TestServerLoad.txt distributedlog-service/target/.plxarc ``` https://builds.apache.org/view/D/view/DL/job/distributedlog-nightly-build/462/console The problem is `distributedlog-client` and `distributedlog-service` have been renamed to `distributedlog-proxy-client` and `distributedlog-proxy-server`. so those files don't belong to any active modules, so they are not excluded automatically. exclude them manually.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
