mvnw does not parse maven-wrapper.properties file properly on macos
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Tái hiện sự cố với .mvn/wrapper/maven-wrapper.properties bằng cách sử dụng khoảng trắng xung quanh các dấu bằng, sau đó chạy ./mvnw clean và theo dõi nơi wrapper đọc distributionUrl. Được coi là hoàn tất khi tệp properties đã được định dạng được chấp nhận và lệnh clean hoạt động trên thiết lập được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected version
3.9.11
Bug description
- I generated the maven wrapper by executing
mvn wrapper:wrappercommand. - Used the generated wrapper to clean the project using
./mvnw cleancommand and it worked. - I formatted my code from my IDE and as part of it, the
maven-wrapper.propertiesfile also got formatted like below.
Before formatting:
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
After formatting:
distributionType = only-script
distributionUrl = https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
- Space added before and after the
=symbol. ./mvnw cleandoes not work now sayingcannot read distributionUrl property in ./.mvn/wrapper/maven-wrapper.properties
Note:
I use macos 15.5 Sequoia.
I use maven 3.9.11.
I use JDK 21.
- Ngôn ngữ chính
- Java
- Star
- 254
- Fork
- 78
- Merge trung bình
- 9 giờ 4 phút
- Pull request đã merge (30 ngày)
- 5
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/maven-wrapper
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/maven-wrapper#442 ·
-
priority:trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/maven-wrapper#280 · 1 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
apache/maven-wrapper#441 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
apache/maven-wrapper#425 · 1 bình luận · 4 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
apache/maven-wrapper#424 ·
Tất cả issue của apache/maven-wrapper
Issue tương tự
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Đang mởarea/plugin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Add canonical URLs and a sitemap Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apache/rocketmq-dashboard#5064 ·