Skip to content

Commit 3307d1d

Browse files
committed
fix(maven): Backup resolver omit version with unresolved variable ${id}
1 parent c0a2074 commit 3307d1d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

module/maven/dep_tree_builder.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ func (d *depAnalyzer) analyze(coordinate Coordinate) *Dependency {
4949
Coordinate: it.Coordinate,
5050
Children: []Dependency{},
5151
}
52+
if d.Coordinate.IsBad() {
53+
d.Coordinate.Version = ""
54+
}
5255
for _, it := range it.Children {
5356
if it == nil {
5457
continue

0 commit comments

Comments
 (0)