[ https://issues.apache.org/jira/browse/NETBEANS-5846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-5846. --------------------------------------- Fix Version/s: NB13 Resolution: Implemented > Gradle reports java-platform projects broken. > --------------------------------------------- > > Key: NETBEANS-5846 > URL: https://issues.apache.org/jira/browse/NETBEANS-5846 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Affects Versions: 12.4, 12.5 > Reporter: Svatopluk Dedic > Assignee: Laszlo Kishalmi > Priority: Major > Labels: pull-request-available > Fix For: NB13 > > Time Spent: 3h 50m > Remaining Estimate: 0h > > To reproduce: checkout the project > {{g...@github.com:micronaut-projects/micronaut-test.git}} and open its > subproject *test-bom* > The project load reports broken dependencies for: > > {code:java} > classpath > +--- org.junit:junit-bom:5.7.1 -> 5.7.1 FAILED > \--- org.spockframework:spock-bom:2.0-M3-groovy-3.0 -> 2.0-M3-groovy-3.0 > FAILED > {code} > as well as *gradle dependencies* command. But the message is: > > {quote}.... because no repositories are defined. > {quote} > But the outermost project defines *repositories* block. *gradle build* in the > -bom subproject succeeds - so perhaps it does not attempt to resolve the > entries in the _classpath_ configuration ? > The net effect is that the 'bom' project is always marked with a warning and > 'resolve project problems' action does nothing. If a project's summary state > is displayed i.e. in a LSP client, the project as a whole appears to be buggy > (but it apparently is not). > [~lkishalmi] could you please advise why Gradle is reporting 'no repositories > defined' ? Or how to filter out this type of no-errors from the retrieved > info maps ? Naturally I wouldn't like to suppress _real_ resolution errors... > -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists