Skip to content

Issue #17487: Add UpdateMavenWrapper#18434

Closed
Pankraz76 wants to merge 2 commits into
checkstyle:masterfrom
Pankraz76:fix-EndOfLineAtEndOfFile-UpdateMavenWrapper
Closed

Issue #17487: Add UpdateMavenWrapper#18434
Pankraz76 wants to merge 2 commits into
checkstyle:masterfrom
Pankraz76:fix-EndOfLineAtEndOfFile-UpdateMavenWrapper

Conversation

@Pankraz76

@Pankraz76 Pankraz76 commented Dec 26, 2025

Copy link
Copy Markdown

Issue #17487: Add UpdateMavenWrapper

@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from afa967e to 3f7a50a Compare December 26, 2025 18:25
Comment thread config/rewrite.yml
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 3f7a50a to 9a080c5 Compare December 26, 2025 18:28

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

items:

Comment thread config/rewrite.yml
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 0822ea2 to 8b82e28 Compare December 27, 2025 11:25
@Pankraz76 Pankraz76 changed the title Issue #17487: Add UpdateMavenWrapper Fix skipMavenParsing Issue #17487: Add UpdateMavenWrapper Dec 27, 2025
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 8b82e28 to 3cc38e4 Compare December 27, 2025 11:27

@Pankraz76 Pankraz76 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2ct. please make me contributor too, or at least put me in check group. Im serving this project like no other.

Comment thread .mvn/wrapper/maven-wrapper.properties Outdated
Comment thread .mvn/wrapper/maven-wrapper.properties
Comment thread mvnw.cmd

@REM ----------------------------------------------------------------------------
@REM Apache Maven Wrapper startup batch script, version 3.3.2
@REM Apache Maven Wrapper startup batch script, version 3.3.4

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk, lets just keep it to somehow how can handle this kind of issue. Like the computer itself in the form of rewrite bump. This setup seems to be ongoing broken.

Lets fix this...

@Pankraz76 Pankraz76 marked this pull request as ready for review December 27, 2025 11:30
@Pankraz76 Pankraz76 requested a review from romani December 27, 2025 11:30
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 3cc38e4 to 248ac2b Compare December 27, 2025 11:41
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch 2 times, most recently from d54b309 to 6b9bfc4 Compare December 27, 2025 12:17
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when updating locally its outdated as well.

@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 6b9bfc4 to 52d7483 Compare December 27, 2025 12:18
Comment thread .mvn/wrapper/maven-wrapper.properties Outdated
@@ -1,3 +1,7 @@
distributionSha256Sum=305773a68d6ddfd413df58c82b3f8050e89778e777f3a745c8e5b8cbea4018ef

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putting this first. Wrapper updated mvn wrapper:wrapper breaks this if header is first. This fine this way and still quite the same, right?

@Pankraz76

Pankraz76 commented Dec 27, 2025

Copy link
Copy Markdown
Author

why is this diff? Rewrite runs fine.

diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index 614699eb9..48a56c99a 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -1,7 +1,3 @@
-distributionSha256Sum=305773a68d6ddfd413df58c82b3f8050e89778e777f3a745c8e5b8cbea4018ef
-distributionType=only-script
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.12/apache-maven-3.9.12-bin.zip
-wrapperVersion=3.3.4
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
 # distributed with this work for additional information
@@ -18,3 +14,6 @@ wrapperVersion=3.3.4
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+wrapperVersion=3.3.2
+distributionType=only-script
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip

Exited with code exit status 

Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
Pankraz76 pushed a commit to Pankraz76/checkstyle that referenced this pull request Dec 27, 2025
@Pankraz76

Copy link
Copy Markdown
Author

@Pankraz76 Pankraz76 closed this Dec 27, 2025
@Pankraz76 Pankraz76 reopened this Dec 28, 2025
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch 7 times, most recently from 0ef1c6c to da6e74d Compare December 29, 2025 11:08
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch 3 times, most recently from f613e60 to 152f9bd Compare December 29, 2025 11:26
@Pankraz76 Pankraz76 force-pushed the fix-EndOfLineAtEndOfFile-UpdateMavenWrapper branch from 152f9bd to 87d8d88 Compare December 29, 2025 11:27
@Pankraz76

Copy link
Copy Markdown
Author

why is suggestion wrong?

777 also not working so idk what to do, please suggest fix @romani.

image
Expected mode for non '.sh' files is 664.
Files that violates this rule:
./mvnw.cmd

@Pankraz76

Copy link
Copy Markdown
Author

reopen after feedback

why is suggestion wrong?

777 also not working so idk what to do, please suggest fix @romani.

image ``` Expected mode for non '.sh' files is 664. Files that violates this rule: ./mvnw.cmd ```

@Pankraz76 Pankraz76 closed this Dec 29, 2025
@romani

romani commented Dec 29, 2025

Copy link
Copy Markdown
Member

This validation for sh files, it should not target cmd files at all.

@Pankraz76

Copy link
Copy Markdown
Author

not target cmd files at all.

but it is,

why the error then?

Expected mode for non '.sh' files is 664.
Files that violates this rule:
./mvnw.cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants