You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gaurav Gupta (Jira)" <ji...@apache.org> on 2019/10/24 07:11:00 UTC

[jira] [Commented] (NETBEANS-3269) Enterprise Application project type broken

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

Gaurav Gupta commented on NETBEANS-3269:
----------------------------------------

I can reproduce it and found 2 issues :

*(A).* Ideally, It should create 4 projects but after generating 5 projects are created:
# Sample (parent project)
# Sample-ear
# Sample-ejb
# Sample-war
# Sample-1.0-Snapshot (this project must not be generated, which is Java EE 8 sample)

*(B).* The packaging for the *parent* project should be *pom* but it is overridden by the *war* type that causes the failure in the creation of the project. Also the *javax:javaee-api:8.0* dependency added to the parent project.

It looks like Java EE 8 maven archetype is also executed even though it must not as Java EE 7 selected during project creation.



> Enterprise Application project type broken
> ------------------------------------------
>
>                 Key: NETBEANS-3269
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3269
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 11.1, 11.2
>            Reporter: Stephen Parry
>            Priority: Major
>         Attachments: 11.0-working.log, 11.1-broken.log
>
>
> 1. Install clean NB 11.1
> 2. Activate all modules
> 3. Tools -> Servers -> Add Server -> Payara Server
> 4. Accept defaults for Payara Server; click I have read; click download -> Payara Server 5.192
> 5. Select domain1 (Linux only, Windows not necc); Accept defaults except user name: admin -> OK
> 6. File -> New Project -> Maven Project -> Enterprise Application
> 7. Specify a name: eartest and valid location -> Next
> 8 Choose Server: Payara Server, Java EE Version: Java EE 7 -> Finish
> Expected outcome:
> BUILD SUCCESS (see attached 11.0-working.log)
> Actual outcome:
> BUILD FAILURE (see attached 11.1-broken.log)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists