That would create different problems — if we’d host our own archetypes, we’d have to maintain them too and keep them in sync with their underlying technologies and best practices.
Gj On Tue, 10 Aug 2021 at 17:06, Will Hartung <willhart...@gmail.com> wrote: > The shame for this is that the reason it's broken is not, per se, "NBs" > fault. > > The issue is that the maven archetypes it originally relied on are now > gone and unsupported when the hosting site up and vanished. > > There's no real magic here, it's just a maven project. But the external > dependency rotted away and was never in NBs control in the first place. > > And I never got a clear answer on where or how NB could host maven > archetypes published to the public repository. > > Regards, > > Will Hartung > > > On Tue, Aug 10, 2021 at 5:26 AM Geertjan Wielenga > <geertjan.wiele...@googlemail.com.invalid> wrote: > >> There's a difference in having project wizards (we can simply hide them) >> and having functionality for maintaining existing applications (we can keep >> that). >> >> Gj >> >> On Tue, Aug 10, 2021 at 2:23 PM Gregor Kovač <kov...@gmail.com> wrote: >> >>> Hi! >>> >>> Please don't remove it. I have an JEE 6 app (with EARs and WARs) I still >>> have to maintain. >>> >>> Best regards, >>> >>> Gregor >>> Tom Coudyzer je 10. 08. 21 ob 13:30 napisal: >>> >>> ;-) agree >>> >>> /Tom >>> >>> On 10 Aug 2021, at 11:33, Geertjan Wielenga >>> <geertjan.wiele...@googlemail.com> <geertjan.wiele...@googlemail.com> >>> wrote: >>> >>> >>> Probably the support for Java EE applications should be removed, or made >>> available as an external plugin since, as pointed out above, the >>> applicable approach nowadays is to use WARs and REST calls. >>> >>> So, rather than it being strange that this doesn't work out of the box, >>> it is strange that it is in the box at all. :-) >>> >>> Gj >>> >>> On Tue, Aug 10, 2021 at 11:17 AM Tom Coudyzer <tcdm...@gmail.com> wrote: >>> >>>> Thanks Pieter! >>>> >>>> I agree it’s odd the not working out of the box behaviour doesn’t help >>>> to onboard people to start using Netbeans. However I don’t know if usage >>>> increase of Netbeans is one of the goals of the project. I am too new in >>>> the Netbeans world to have a valid opinion. >>>> >>>> Thanks again. >>>> >>>> /Tom >>>> >>>> Sent from my iPad >>>> >>>> On 9 Aug 2021, at 22:54, Pieter van den Hombergh < >>>> pieter.van.den.hombe...@gmail.com> wrote: >>>> >>>> >>>> I have build with maven, so independent of an IDE. >>>> I needed to change the package format of the ejb module to jar, >>>> Then building in the order ejb, web, top project and ear did result in >>>> an war file, which should be loadable in a web container like payara. >>>> >>>> steps I did (after the edit) >>>> cd .../myproject >>>> mvn install >>>> cd myproject-ejb/ >>>> mvn install >>>> cd ../myproject-web/ >>>> mvn install >>>> cd ../myproject-ear/ >>>> mvn package >>>> dir target/myproject-ear.war >>>> I would advise using a maven multimodule structure, using a parent pom. >>>> That would avoid having to do all these manual steps. >>>> >>>> But since the project is what the netbeans wizard (even the 12.4 one) >>>> produces, it is a bit odd that it does not work out of the box. >>>> >>>> >>>> >>>> On Tue, Aug 3, 2021 at 12:15 PM Tom Coudyzer <tcdm...@gmail.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> Seeking for some help on creating an Enterprise application (with >>>>> Maven) via Netbeans 11.3 and AdoptOpenJDK 8 on MacOS 11.5.1 >>>>> >>>>> I create a new Enterprise application with Maven (Jave-EE 8) and end >>>>> up with 4 projects. The wizard starts to compile the maven projects but >>>>> gives an error. >>>>> >>>>> Ignoring this error I clean an build the >>>>> >>>>> web (module) project >>>>> ejb (module) project >>>>> project >>>>> ear (module) project >>>>> >>>>> First 3 build with success however when building the EAR I get this >>>>> error >>>>> >>>>> Failed to execute goal on project myproject-ear: Could not resolve >>>>> dependencies for project com.company:myproject-ear:war:1.0-SNAPSHOT: Could >>>>> not find artifact com.company:myproject-ejb:jar:1.0-SNAPSHOT -> [Help 1] >>>>> >>>>> I manage to get it working when I change the EJB dependency and change >>>>> it from packing type EJB to WAR in the pom.xml of the EAR module/project >>>>> >>>>> Sorry if this is a "rookie" mistake or missing something from my side >>>>> but would be great to get some understanding why this "out-of-the-box" is >>>>> not working and what to do to get this fixed. >>>>> >>>>> Thank you already and any help is much appreciated! >>>>> >>>>> /Tom >>>>> >>>> >>>> >>>> -- >>>> Pieter Van den Hombergh. >>>> No software documentation is complete with out it's source code. >>>> >>>> -- >>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>> | In A World Without Fences Who Needs Gates? | >>> | Experience Linux. | >>> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ >>> >>>