dapr / dapr/java-sdk

Fix mvn deploy

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

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

area/release-eng good first issue kind/bug P1 size/S triaged/resolved
主要言語
Java
スター
300
フォーク
230
平均マージ
5日 1時間
マージ済み PR(30日)
5

説明

Expected Behavior

mvn deploy does not show warnings:

Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-autogen:jar:1.1.0
Warning:  'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.grpc:grpc-stub:jar -> version (?) vs 1.33.1 @ line 50, column 17
Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-springboot:jar:1.1.0
Warning:  'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> duplicate declaration of version 5.2.10.RELEASE @ line 92, column 17
Warning:  
Warning:  Some problems were encountered while building the effective model for io.dapr:dapr-sdk-examples:jar:1.1.0
Warning:  'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 100, column 16
Warning:  'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 175, column 15
Warning:  'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 190, column 15
Warning:  
Warning:  It is highly recommended to fix these problems because they threaten the stability of your build.
Warning:  
Warning:  For this reason, future Maven versions might no longer support building such malformed projects.
Warning:  

Actual Behavior

Warnings are shown.

Steps to Reproduce the Problem

mvn -V -B -Dgpg.skip=false -s settings.xml deploy -pl !examples

Release Note

RELEASE NOTE:

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

dapr-sdk-autogen、dapr-sdk-springboot、dapr-sdk-examples の報告された行番号にある Maven POM 宣言を、重複した依存関係と欠落しているプラグインバージョンを含めて確認します。mvn -V -B -Dgpg.skip=false -s settings.xml deploy -pl \!examples を実行します。完了とは、この deploy コマンドが列挙されたモデル警告なしで完了することを意味します。

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

評価

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

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

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