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

2020-04-21 Thread Gaurav Gupta (Jira)


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

Gaurav Gupta commented on NETBEANS-3269:


Although EAR projects are outdated, plenty of customers still using them and 
it's part of Jakarta EE 8: 
[https://jakarta.ee/specifications/platform/8/platform-spec-8.html
] [https://www.eclipse.org/lists/jakarta.ee-community/msg00057.html]

We should either create the maven archetype for EAR, App client, and EJB 
project with Jakarta EE 8 dependency like 
[~javajuneau] did for Maven Web Application 
[https://github.com/juneau001/javaee8-archetype] or remove the "Java EE 8" 
version from the dropdown of these (EAR, App client, and EJB) projects.




 

 

> 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: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3269:
-

Fair enough. [~jgauravgupta], can you investigate further?

> 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: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2020-04-21 Thread Stephen Parry (Jira)


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

Stephen Parry commented on NETBEANS-3269:
-

I disagree - there are still patterns of component sharing and reuse
that EJBs are still the 'standard' way of implementing and EARs the
'standard' way of packaging them. WARs have taken a lot of that
territory, but actually the WAR archetype support is flakey in places
too. E.g. To get an enterprise type persistence unit I was having to
switch from WAR to EJB (can't remember the bug #)



> 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: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2020-04-19 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3269:
-

Yes, this functionality may need to simply be removed.

The whole EJB and EAR concept is not really current anymore, simpler approaches 
are now taken typically.

> 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: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2019-10-24 Thread Gaurav Gupta (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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