Migrate to ApacheHttpClient 5.x recipe updates org.apache.httpcomponents.core5: httpcore5 to version 5.3.x
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java
- 領域
- build-system
調査の方向性
Issue にある Maven コマンドと pom.xml のサンプル依存関係から始め、httpcore から httpcore5 への移行における ApacheHttpClient_5 レシピの動作を調べます。解決されない 5.3.x の結果を再現し、レシピが 5.3-beta1 のような解決可能な httpcore5 のバージョンを生成することを確認します。
索引モデルが issue の本文から書いたものです。
説明
What version of OpenRewrite are you using?
I am using
- Maven plugin v5.35.0
How are you running OpenRewrite?
mvn -U org.openrewrite.maven:rewrite-maven-plugin:5.35.0:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-apache:1.4.2 -Drewrite.activeRecipes=org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5 -Drewrite.exportDatatables=true
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.16</version>
</dependency>
What did you expect to see?
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>5.3-beta1</version>
</dependency>
What did you see instead?
5.3.x could not be resolved from maven central https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>5.3.x</version>
</dependency>
What is the full stack trace of any errors you encountered?
stacktrace output here
Are you interested in contributing a fix to OpenRewrite?
- 主要言語
- Java
- スター
- 6
- フォーク
- 18
- 平均マージ
- 9分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openrewrite/rewrite-apache のほかの issue
-
recipe
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openrewrite/rewrite-apache#37 · コメント 1 件 ·
-
recipe
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
openrewrite/rewrite-apache#98 · コメント 2 件 ·
-
recipe
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
openrewrite/rewrite-apache#68 · コメント 1 件 ·
-
Apache HttpClient 4 to 5 does not yet migrate `StringEntity.setContentEncoding()` to constructor argument再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug recipe
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
openrewrite/rewrite-apache#54 · コメント 3 件 ·
-
bug enhancement good first issue recipe
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
openrewrite/rewrite-apache#35 · コメント 5 件 ·
openrewrite/rewrite-apache の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jenkinsci/ec2-plugin#2041 ·
-
L: github:actions L: php:composer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
dependabot/dependabot-core#16493 ·
メンテナーはふだん 1 日以内に返信
-
SHOW EDIT of a subclass for an object of its superclass: the form fails to open with AssertionErrorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
FlashyReese/sodium-extra#608 ·