Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[MWRAPPER-107] Windows script fails to process userinfo

オープン
#299 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
build-system

調査の方向性

mvnw.cmd から始め、distributionUrl userinfo の処理を Linux の mvnw スクリプトと比較します。文書化されている basic-authentication の設定を使って .\mvnw.cmd clean -N で問題を再現します。Windows ラッパーが 401 エラーなしでディストリビューションをダウンロードし、Maven を起動すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug priority:major

Delany opened MWRAPPER-107 and commented

The build fail when the userinfo field is set in the distributionUrl for type only-script, but only for mvnw.cmd. The mvnw scripts runs without error on Linux.

C:\git\tester [tester ≡]> .\mvnw.cmd clean -N
icm : Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (401) Unauthorized."
At line:1 char:53
+ ... 'mvnw.cmd'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-Command], MethodInvocationException
    + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.InvokeCommandCommand
ECHO is on.
Cannot start maven from wrapper
C:\git\tester [tester ≡]>

https://maven.apache.org/wrapper/index.html#using-basic-authentication-for-distribution-download


Affects: 3.2.0

主要言語
Java
スター
253
フォーク
78
平均マージ
23時間 36分
マージ済み PR(30日)
8

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/maven-wrapper のほかの issue

apache/maven-wrapper の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。