mbien commented on code in PR #5753:
URL: https://github.com/apache/netbeans/pull/5753#discussion_r1164823693
##########
apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/NbmWizardIterator.java:
##########
@@ -145,11 +149,11 @@ public Set<FileObject> instantiate() throws IOException {
Map<String,String> additional =
Collections.singletonMap("netbeansVersion", version); // NOI18N
if (archetype == NB_MODULE_ARCH) {
- getLatestArchetypeVersion(NB_MODULE_ARCH);
+ updateToLatestKnownArchetypeVersion(NB_MODULE_ARCH);
NBMNativeMWI.instantiate(vi, projFile, version,
Boolean.TRUE.equals(wiz.getProperty(OSGIDEPENDENCIES)), null);
} else {
- getLatestArchetypeVersion(NB_APP_ARCH);
+ updateToLatestKnownArchetypeVersion(NB_APP_ARCH);
ArchetypeWizards.createFromArchetype(projFile, vi, archetype,
additional, true);
Review Comment:
i noticed that the NBM wizard isn't even using the archetype. It builds the
pom manually, the NB-APP wizard uses the archetype.
wondering why there is this destination
--
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