You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/06 10:58:58 UTC
[GitHub] [netbeans] OndroMih opened a new issue, #4927: Maven EAR project fails to deploy on an app server (GlassFish)
OndroMih opened a new issue, #4927:
URL: https://github.com/apache/netbeans/issues/4927
### Apache NetBeans version
Apache NetBeans 16 release candidate
### What happened
When
* A Maven EAR project contains a WAR module
* The project uses maven-ear-plugin >= 3.0.0
* Deployment to GlassFish (I think the behavior is similar to any other app server)
Then:
* Deployment fails
* The exploded EAR generated by Netbeans in `target/gfdeploy` contains both an exploded directory and original JAR/WAR
* The exploded module directories in EAR don't match the expected path defined in `META-INF/application.xml`
![image](https://user-images.githubusercontent.com/2195988/200166534-3daed36f-3e8f-49d3-a2c7-12dab4f71ddb.png)
Expected:
* Deployment is successful
* The exploded EAR contains only epxloded module directories
* The names of the exploded module directories match what's defined in `application.xml` (match the names of the original JAR/WAR files)
### How to reproduce
Reproducer:
* [ear-sample-maven-project.zip](https://github.com/apache/netbeans/files/9945637/ear-sample-maven-project.zip)
* Build the top level parent POM module
* Run the `ear-sample-ear` module with [Eclipse GlassFish 7.0.0-M9](https://github.com/eclipse-ee4j/glassfish/releases/tag/7.0.0-M9) or newer.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu Linux 22.04.1 LTS
### JDK
openjdk version "17.0.4" (Zulu17.36+13-CA)
### Apache NetBeans packaging
Apache NetBeans Snap Package
### Anything else
_No response_
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing closed issue #4927: Maven EAR project fails to deploy on an app server (GlassFish)
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #4927: Maven EAR project fails to deploy on an app server (GlassFish)
URL: https://github.com/apache/netbeans/issues/4927
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists