The org.apache.maven.archetypes:maven-archetype-quickstart seems to be the obvious choice, as it is the preselected archetype when creating the project using mvn archetype:generate and it creates the most basic java application project with hello world example in App.java.
I am not sure about creating the PR myself, I can definitely try, but I am not very familiar with Netbeans Platform, it took me two days to figure out what was going when you create a project in Netbeans :) On 2021/04/16 09:35:54, Geertjan Wielenga <[email protected]> wrote: > Which Maven archetype should it be using, you're free to provide a pull > request that replaces the way it is done right now with a Maven archetype. > > That might be the right approach indeed. > > Gj > > On Fri, Apr 16, 2021 at 11:35 AM Atrament Black > <[email protected]> wrote: > > > Since nobody reacted, I checked the source code myself and it seems that it > > doesn't use any maven archetype at all, it just creates the folders and the > > pom.xml file itself. Is that right? > > May I ask what's the reason, and why it doesn't create the project by > > calling maven like any other template does? > > The reason why I am asking all these questions is that I am writing an > > article for beginners about Maven and it's integration in Netbeans and I > > would like to know about this as much as possible... > > > > On 2021/04/07 21:07:53, Vladimir Machat <[email protected]> wrote: > > > Hi,> > > > > > > I have been trying to figure out what maven archetype is used when > > > > creating a new project choosing Java with Maven - Java Application. I > > > > always assumed it was the > > > > org.apache.maven.archetypes:maven-archetype-quickstart,> > > > > > > but only recently I realised it's not, as it doesn't create the App.java > > > > > > file and the pom.xml looks different.> > > > > > > Can anybody tell me what archetype it is?> > > > > > > Thanks> > > > > > > Vlad> > > > > > > > > > ---------------------------------------------------------------------> > > > 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> > > > > > > > > > > > > > > > --------------------------------------------------------------------- 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
