[ 
https://issues.apache.org/jira/browse/NETBEANS-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467747#comment-17467747
 ] 

Thomas Schapitz commented on NETBEANS-5179:
-------------------------------------------

Holds up to scrutiny in V12.6. Obviously, selecting "EJB Module" results in the 
following maven invokation:
{noformat}
mvn -DarchetypeGroupId=io.github.juneau001 -DarchetypeArtifactId=webapp-javaee8 
-DarchetypeVersion=1.3 
-DarchetypeRepository=https://repo.maven.apache.org/maven2 
-DgroupId=com.mycompany -DartifactId=mavenproject4 -Dversion=1.0-SNAPSHOT 
-Dpackage=com.mycompany.mavenproject4 
-Dbasedir=C:\\Users\\Freshco\\Documents\\NetBeansProjects 
-Darchetype.interactive=false -DarchetypeCatalog=local 
-Dmaven.ext.class.path=C:\\Users\\Freshco\\tool\\apache.org\\netbeans\\12.6\\java\\maven-nblib\\netbeans-eventspy.jar
 --batch-mode 
org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate"{noformat}
Unfortunately, in group id io.github.juneau001, there is no artifact for plain 
ejbs.

So we need to look for one elsewhere. Using the generic archetype wizard, there 
are a couple of offers:

!image-2022-01-03-02-49-06-610.png!

[~Cistox] You might use this approach as a workaround, which might also have 
the advantage, that you can pick the variant that fits your application server 
the best.

Given this workaround, I downgraded the Issue to Minor.

 

 

 

 

> Wrong archeotype while creating a new EJB Module project with maven
> -------------------------------------------------------------------
>
>                 Key: NETBEANS-5179
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5179
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven
>    Affects Versions: 12.0, 12.6
>            Reporter: Roberto Cisternino
>            Priority: Minor
>         Attachments: image-2022-01-03-02-49-06-610.png
>
>
> Hello,
> if I create a new maven "EJB Module" project I obtain unexpectedly a Web 
> application.
> It looks the used archeotype is wrong: webapp-javaee8:1.3



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
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

Reply via email to