sdedic opened a new pull request, #5773:
URL: https://github.com/apache/netbeans/pull/5773
Consider dependency declaration as follows:
```
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation
'org.springframework.boot:spring-boot-starter-test'
}
```
there's no version specified for `spring-boot-devtools.
The
[https://github.com/apache/netbeans/blob/master/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java#L1502](code
that reports `developmentOnly_directChildren`) handles such situations using
GAV without version (as specified in the buildfile) -
`org.springframework.boot:spring-boot-devtools:`.
The issue is that when **resolved** artifacts GAVs are matched against these
direct children, the module dependency with resolved version is not matched to
the version-less child. So I have added a path that attempts to strip a version
and match again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists