[ 
https://issues.apache.org/jira/browse/FLINK-35124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838195#comment-17838195
 ] 

Etienne Chauchot edited comment on FLINK-35124 at 4/17/24 1:42 PM:
-------------------------------------------------------------------

To be more precise, I meant: before function create_pristine_source had 
_--exclude "tools/releasing/shared"_ which was to avoid having the submodule 
release utils scripts inside the source release. But it lead to having the 
_tools_ directory in the release. In the case of regular connectors it was 
containing ci and maven subdirs and in case of connector-parent, the tools 
directory ended up empty. So it was better to remove the whole tools directory 
from the release. 

 

I'm currently checking on the cassandra connector for the checkstyle error you 
mentioned. I'll get back to you in that thread

 


was (Author: echauchot):
To be more precise, I meant: before function create_pristine_source had 
_--exclude "tools/releasing/shared"_ which was to avoid having the submodule 
release utils scripts inside the source release. But it lead to having the 
_tools_ directory in the release. In the case of regular connectors it was 
containing ci and maven subdirs and in case of connector-parent, the tools 
directory ended up empty.

> Connector Release Fails to run Checkstyle
> -----------------------------------------
>
>                 Key: FLINK-35124
>                 URL: https://issues.apache.org/jira/browse/FLINK-35124
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Danny Cranmer
>            Priority: Major
>
> During a release of the AWS connectors the build was failing at the 
> \{{./tools/releasing/shared/stage_jars.sh}} step due to a checkstyle error.
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (validate) on 
> project flink-connector-aws: Failed during checkstyle execution: Unable to 
> find suppressions file at location: /tools/maven/suppressions.xml: Could not 
> find resource '/tools/maven/suppressions.xml'. -> [Help 1] {code}
>  
> Looks like it is caused by this 
> [https://github.com/apache/flink-connector-shared-utils/commit/a75b89ee3f8c9a03e97ead2d0bd9d5b7bb02b51a]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to