This is an automated email from the ASF dual-hosted git repository. pepness pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit ed40dbb8b759a21b62bd2c88fa4f1eb6a4494504 Merge: eb8afbebc8d 57c8c9a225b Author: José Contreras <[email protected]> AuthorDate: Sun May 31 10:12:53 2026 -0600 Merge pull request #8228 from pepness/fix-8087 Fix #8087-Unable to add new web service client -Add missing EJB version support -Add missing Servlet version support -Add missing AppClient descriptor for Jakarta EE 11 -Add missing AppClient resolvers Java EE 7 to Jakarta EE 11 -Replace usage of deprecated methods from codehaus -Add missing support for Client Applications -Add a new module dependency in order to get the source level of a java file -Add module 'maven.jaxws' as a friend -Implement missing interface and its methods -Move method 'getProfileFromPOM' to 'MavenProjectSupport' class and use it when computing the profile in all implementations. -Add new method 'getSourceLevel' -Add 'getSourceLevel' method to 'MavenProjectSupport', useful with JSE maven projects -Add new method 'getProfile' that compute the profile in the classes that create the WS Client; 'JaxWsClientCreator' and 'JaxWsServiceCreator' -Change logic in 'getJ2eeProfile' and use the new method 'getProfile' -Generate new code for 'equals' and 'hashCode' methods -Remove version model when calling 'addJaxWSPlugin', the default version will vary for the computed 'Profile', Java EE 8 will use model 2.2, Jakarta EE 9/10/11 will use 3.0. -Add support for creating web services for EJB, CAR and Java SE maven projects. -Simplify logic that compute whether a project is Web, Car, Jar, EJB -Add support for Car and Jar projects to 'isJakartaEENameSpace' -Fix wrong artifact and update GlassFish 7/8 version -Update maven coordinates inside test -Fix mismatch when using 'MavenProjectSupport.getProfileFromPOM' to retrieve the correct 'Profile'. -'equals' and 'hashCode' methods should cover the same fields -Remove the redundant Xpp3Dom variable -Bump 'jaxws-maven-plugin' version to 4.0.4 -Bump 'webservices-api' & 'webservices-rt' version to 4.0.6 -Bump 'maven-war-plugin' version to 3.5.1 Cleaning/Refactoring: -Bump javac to version 17 and use: -Pattern Matching for instanceof -Switch Expressions -Use try-with-resources -Add @Override annotation -Remove unused imports -Use diamond operator -Use parseBoolean over valueOf -Use Multi-catch -Add Logger and use it -Replace usage of deprecated methods from codehaus -Add useful comment for debugging -Add useful variable for debugging -Use constants where makes sense .../eecommon/api/config/EjbJarVersion.java | 2 + .../eecommon/api/config/ServletVersion.java | 3 + .../j2ee/clientproject/ui/resources/layer.xml | 1 + .../j2ee/common/J2eeProjectCapabilities.java | 8 +- .../j2ee/dd/impl/client/ClientParseUtils.java | 31 +-- enterprise/maven.j2ee/nbproject/project.properties | 2 +- enterprise/maven.j2ee/nbproject/project.xml | 10 + .../modules/maven/j2ee/ProjectHookImpl.java | 23 +- .../maven/j2ee/appclient/AppClientImpl.java | 15 +- .../appclient/AppClientModuleProviderImpl.java | 71 +++++- .../netbeans/modules/maven/j2ee/ear/EarImpl.java | 160 +++++++------ .../maven/j2ee/ear/EarModuleProviderImpl.java | 32 +-- .../modules/maven/j2ee/ejb/EjbJarImpl.java | 36 +-- .../maven/j2ee/ejb/EjbModuleProviderImpl.java | 26 ++- .../maven/j2ee/ui/SelectAppServerPanel.java | 24 +- .../j2ee/ui/customizer/impl/CustomizerRunEjb.java | 3 +- .../maven/j2ee/ui/wizard/EAVisualPanel.java | 2 +- .../ui/wizard/archetype/J2eeArchetypeFactory.java | 2 +- .../maven/j2ee/utils/MavenProjectSupport.java | 224 +++++++++++++++++- .../modules/maven/j2ee/web/WebModuleImpl.java | 259 +++------------------ .../maven/j2ee/web/WebModuleProviderImpl.java | 2 +- .../modules/maven/j2ee/web/WebModuleImplTest.java | 12 +- .../maven.jaxws/nbproject/project.properties | 2 +- enterprise/maven.jaxws/nbproject/project.xml | 9 + .../modules/maven/jaxws/MavenModelUtils.java | 172 ++++++++++---- .../org/netbeans/modules/maven/jaxws/WSUtils.java | 201 ++++++++-------- .../maven/jaxws/wizards/JaxWsClientCreator.java | 32 +-- .../maven/jaxws/wizards/JaxWsServiceCreator.java | 120 ++++++---- .../websvc/core/client/wizard/ClientInfo.java | 1 + .../netbeans/modules/maven/model/Utilities.java | 5 +- 30 files changed, 895 insertions(+), 595 deletions(-) --------------------------------------------------------------------- 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
