OndroMih opened a new pull request, #4929: URL: https://github.com/apache/netbeans/pull/4929
Fixes https://github.com/apache/netbeans/issues/4927. The strategy is to compute child module names based on the JAR and WAR files in the root directory of the exploded EAR instead of relying on the names computed from the Maven project configuration. Then the existing JAR and WAR files are not copied to the deployment package and exploded directories are created with names matching the existing JAR and WAR files. If there is any inconsistency (e.g. number of child modules detected from the exploded EAR is different to child modules detected from Maven project), the old behavior based on Maven configuration is preferred, just in case. It's also possible to force the old behavior based on Maven configuration by setting the system property `glassfish.javaee..childModuleSource=mavenProject` (e.g. by `-J-Dglassfish.javaee...childModuleSource=mavenProject` in netbeans.conf or as a command line parameter for Netbeans). Setting `glassfish.javaee..childModuleSource=archive` will force the new behavior even if inconsistencies are detected. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
