Hi Will,

Thanks for the great feedback on the Java EE 8 archetype that is being used 
with Apache NetBeans.  When I created the archetype, it was not meant to become 
a standard.  Rather, it was meant as a starting point for Java EE 8 projects 
and to get Java EE 8 project support into Apache NetBeans.  I was hoping that 
it would be built upon by the community over time, and even that a better and 
more standardized Maven archetype be put into place.

All that said, I think it would be great to have the Apache NetBeans projects 
generated by Maven archetypes that are all hosted under a standard namespace.  
We should also be updating the archetypes as time goes on, as needed.  These 
are community supported, just like Apache NetBeans, so they should continue to 
evolve.

Please feel free to fork the Java EE 8 archetype and modify it, and/or put in a 
PR to modify NetBeans so that it points to a more standard archetype.  Also 
note, I have created a Jakarta EE 9 maven archetype for Apache NetBeans use for 
a future release.  Feel free to contribute to that one as well.

https://github.com/juneau001/javaee8-archetype
https://github.com/juneau001/jakartaee9_archetype

In the meantime, I definitely agree that we should aim to place all of the 
archetypes that are in-use by Apache NetBeans into a standardized Maven Central 
namespace.

Thanks again...I appreciate your time and feedback.

  
Josh Juneau
[email protected]
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau

> On Jan 26, 2021, at 4:20 PM, Will Hartung <[email protected]> wrote:
> 
> The JEE Maven archetypes are a bit of a disaster right now, there's
> relevant issues in JIRA already.
> 
> But it brought up a question.
> 
> Historically, and currently, the archetypes used for these projects (I
> don't know about others) are not part of Netbeans. They're external
> archetypes used by Netbeans.
> 
> For example, originally, there were several from
> org.codehaus.mojo.archetypes. I don't know the original relationship
> between Sun/Oracle and codehaus.
> 
> The current ones, for JEE 8, are from io.github.juneau001.
> 
> Now, barring the detail that the JEE 8 ones are just flat out wrong given
> the structure of the JEE Maven Application Wizard (honestly, I don't know
> how these were committed -- this isn't even a subtle failure), I'm curious
> whether these should be "owned" by the Netbeans project, rather than a kind
> contributor.
> 
> By own, I simply mean they're under the netbeans.apache.org name space, and
> the archetype templates are checked in to the NB source tree and, somehow,
> they're distributed to an appropriate Maven Repo to ideally get picked up
> by Maven Central.
> 
> Does Netbeans already have a mechanism for publishing and managing
> archetypes? Any reason that NB can't or shouldn't do that?
> 
> Regards,
> 
> Will Hartung
> ]

Reply via email to