Thanks for the feedback Jose...let me take a look into this.  It looks like
the Java EE 8 maven archetype may need to be updated.


Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau
<https://www.apress.com/index.php/author/author/view/id/1866>



On Fri, May 31, 2019 at 1:55 PM Jose Ch <pepnes...@gmail.com> wrote:

> Hi Josh,
>
> I followed the instructions and had an error while Netbeans try to create
> a Maven Java Web JEE8 application:
>
> Scanning for projects...
>
> ------------------< org.apache.maven:standalone-pom >-------------------
> Building Maven Stub Project (No POM) 1
> --------------------------------[ pom ]---------------------------------
>
> >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @
> standalone-pom >>>
>
> <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @
> standalone-pom <<<
>
>
> --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> Downloading from webapp-javaee8-repo:
> https://repo.maven.apache.org/maven2/org/apache/netbeans/webapp-javaee8/1.0/webapp-javaee8-1.0.jar
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time:  1.797 s
> Finished at: 2019-05-31T13:27:59-05:00
> ------------------------------------------------------------------------
> Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli)
> on project standalone-pom: The desired archetype does not exist
> (org.apache.netbeans:webapp-javaee8:1.0) -> [Help 1]
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read
> the following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>
> I appended some screenshots.
>
> Jose.
>
> El jue., 30 may. 2019 a las 23:23, Josh Juneau (<juneau...@gmail.com>)
> escribió:
>
>> Thanks for all of the great feedback on the Java EE 8  support for Apache
>> NetBeans thus far.  I have updated the README to direct individuals to
>> install the "Oracle JS Parser" and "nbjavac" after building and running
>> the
>> IDE using a new userdir.  Once completed, the IDE should allow one to add
>> GlassFish 5, GlassFish 5.0.1, or GlassFish 5.1 server.  The IDE will also
>> allow one to create a new Java EE 8 project or convert an existing project
>> to Java EE 8.
>>
>> Let me know if you have any questions.  I will work on putting together a
>> PR to get these features added to Apache NetBeans proper.
>>
>> Thanks
>>
>> Josh Juneau
>> juneau...@gmail.com
>> http://jj-blogger.blogspot.com
>> https://www.apress.com/us/search?query=Juneau
>> <https://www.apress.com/index.php/author/author/view/id/1866>
>>
>>
>>
>> On Wed, May 29, 2019 at 9:46 PM Josh Juneau <juneau...@gmail.com> wrote:
>>
>> > I have completed the modifications required to add Java EE 8, GlassFish
>> 5,
>> > GlassFish 5.0.1, and Eclipse GlassFish 5.1  support to Apache NetBeans
>> > 11.0.  I have checked the sources into my own repository, located on
>> GitHub
>> > at the following URL:
>> >
>> > GitHub Repository:
>> > https://github.com/juneau001/netbeans-javaee8-inprogress
>> >
>> > Please take a look and take it for a test spin using the instructions
>> > provided on GitHub.  I have copied the instructions below as well.
>> Once we
>> > are satisfied that the Java EE 8 support is complete, then I will create
>> > the necessary PRs to add the functionality to Apache NetBeans 11.0
>> >
>> > Thanks for your testing and feedback!  Looking forward to adding this
>> > support to Apache NetBeans
>> >
>> > ------------------------------------------------------
>> >
>> > Apache NetBeans Java EE 8 Support Repository (In Progress)
>> >
>> > This repository consists of the modified modules required to enable Java
>> > EE 8 support in Apache NetBeans 11.0. The sources in this repository
>> are in
>> > progress and there may still be bugs or some missing functionality. Once
>> > approved, these sources will be used to create a pull request for the
>> > inclusion of Java EE 8 support in Apache NetBeans proper.
>> >
>> > To use these sources, follow these steps:
>> >
>> >    1.
>> >
>> >    Download the Apache NetBeans 11.0 sources, which can be found at the
>> >    following link:https://netbeans.apache.org/download/nb110/nb110.html
>> >    2.
>> >
>> >    Once the Apache NetBeans 11.0 sources have been downloaded and
>> >    extracted to a directory on your machine, clone this repository to
>> your
>> >    machine.
>> >    3.
>> >
>> >    Overwrite the "enterprise" directory of the Apache NetBeans 11.0
>> >    sources with the entire contents of the "enterprise" directory in
>> this
>> >    repository.
>> >    4.
>> >
>> >    Copy the cluster.properties file, which resides within the nbbuild
>> >    directory of this repository, into the nbbuild directory of the
>> Apache
>> >    NetBeans 11.0 sources.
>> >    5.
>> >
>> >    Build the Apache NetBeans 11.0 sources using the directions contained
>> >    in the Apache NetBeans README.
>> >    6.
>> >
>> >    Once Apache NetBeans 11.0 has been built, navigate into the
>> >    nbbuild/netbeans/etc directory and open the netbeans.conf file. Set
>> the
>> >    netbeans_jdkhome property within the file equal to the path of the
>> JDK you
>> >    plan to target for Java EE deployment.
>> >
>> > Example Using Zulu JDK 8:
>> > netbeans_jdkhome=/Java_Dev/OpenJDK/zulu8.36.0.1-ca-jdk8.0.202-macosx_x64
>> >
>> >    1. Run Apache NetBeans and use a new userdir, as follows, from within
>> >    the nbbuild/netbeans directory:
>> >
>> > ./bin/netbeans --userdir "/path/to/userdir/name"
>> >
>> >    - Note: You will be prompted to install Oracle JS Parser and nbjavac
>> >    the first time you attempt to add a server or create a new Java EE
>> project
>> >
>> > ** In this early release, you may have to kill the netbeans process
>> after
>> > installing Oracle JS Parser and nbjavac. After you have killed the
>> process,
>> > you can restart Apache NetBeans and begin to use for Java EE 8
>> development.
>> >
>> > Josh Juneau
>> > juneau...@gmail.com
>> > http://jj-blogger.blogspot.com
>> > https://www.apress.com/us/search?query=Juneau
>> > <https://www.apress.com/index.php/author/author/view/id/1866>
>> >
>> >
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to