From 5e61caa549bf8431c0a6e8b92a9239cb3258dd2a Mon Sep 17 00:00:00 2001 From: iseki Date: Tue, 9 Jul 2024 12:03:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20maven=EF=BC=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=A6=81=E6=98=AF=E8=AF=BB=E4=B8=8D=E5=87=BA=E6=9D=A5?= =?UTF-8?q?=EF=BC=8C=E5=B0=B1=E7=AE=97=E4=BA=86=EF=BC=8C=E7=B4=AF=E4=BA=86?= =?UTF-8?q?=EF=BC=8C=E8=83=BD=E7=94=A8=E5=B0=B1=E5=BE=97=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/maven/backup_scan.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/maven/backup_scan.go b/module/maven/backup_scan.go index c97bd591..29d56ffd 100644 --- a/module/maven/backup_scan.go +++ b/module/maven/backup_scan.go @@ -26,10 +26,6 @@ func BackupResolve(ctx context.Context, projectDir string) (*DepsMap, error) { } for _, pom := range poms { coordinate := pom.Coordinate() - if !coordinate.Complete() { - logger.Warn("Incomplete coordinate, skip", zap.Any("coordinate", coordinate)) - continue - } logger.Sugar().Infof("Build dependency tree: %s", pom.Coordinate()) tree := BuildDepTree(ctx, resolver, coordinate) relPath, e := filepath.Rel(projectDir, pom.Path)