mbien commented on code in PR #3558:
URL: https://github.com/apache/netbeans/pull/3558#discussion_r853483777
##########
apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java:
##########
@@ -119,13 +119,13 @@ static List<RepositoryInfo> netbeansRepo() {
RepositoryPreferences.getInstance().getRepositoryInfoById(MAVEN_CENTRAL));
}
+ /**
+ * Returns the latest known version of the NetBeans maven plugin.
+ * This method will not wait for the index to be downloaded, it will
return a default value instead.
+ */
public static String getLatestNbmPluginVersion() {
RepositoryQueries.Result<NBVersionInfo> versionsResult =
RepositoryQueries.getVersionsResult(GROUPID_APACHE, NBM_PLUGIN, null);
- if (versionsResult.isPartial()) {
- versionsResult.waitForSkipped();
- }
Review Comment:
@matthiasblaesing lets see if this works. Its now essentially doing what you
suggested - assuming all tests are green.
--
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