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

Danny Cranmer commented on FLINK-35124:
---------------------------------------

Actually I still think this is the issue, since it runs the maven commands on 
the "pristine source", which is missing the maven config directory: 
https://github.com/apache/flink-connector-shared-utils/blob/release_utils/stage_jars.sh#L54.
 

 

If it were an invalid path, it would fail on all builds, not just during the 
release. 

> 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