jakartaee / platform-tck

Jakartaee-tck
Other
124 stars 103 forks source link

Include the deployment descriptors in the output artifact. #1338

Open starksm64 opened 1 week ago

starksm64 commented 1 week ago

Fixes Issue This is the pattern needed to be applied to all test modules for

1336

Describe the change Include all *.xml files under the source tree other than the build.xml files

Additional context Add any other context about the problem here.

CC @alwin-joseph @anajosep @arjantijms @cesarhernandezgt @dblevins @m0mus @edbratt @gurunrao @jansupol @jgallimore @kazumura @kwsutter @LanceAndersen @bhatpmk @RohitKumarJain @shighbar @gthoman @brideck @OndroMih @dmatej @starksm64 @scottmarlow

starksm64 commented 6 days ago

I don't see the failure running the locally.

scottmarlow commented 5 days ago

I could recreate the test failure locally:

[DEBUG] getCP iv: /home/smarlow/.m2/repository/com/sun/xml/ws/jaxws-maven-plugin/4.0.0/jaxws-maven-plugin-4.0.0.jar [DEBUG] stored classpath: /home/smarlow/.m2/repository/org/jvnet/mimepull/mimepull/1.9.15/mimepull-1.9.15.jar:/home/smarlow/.m2/repository/com/fasterxml/woodstox/woodstox-core/6.2.8/woodstox-core-6.2.8.jar:/home/smarlow/.m2/repository/org/eclipse/angus/angus-mail/1.0.0/angus-mail-1.0.0.jar:/home/smarlow/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.0/jakarta.activation-api-2.1.0.jar:/home/smarlow/.m2/repository/jakarta/xml/ws/jakarta.xml.ws-api/4.0.0/jakarta.xml.ws-api-4.0.0.jar:/home/smarlow/.m2/repository/com/sun/xml/bind/jaxb-xjc/4.0.0-M4/jaxb-xjc-4.0.0-M4.jar:/home/smarlow/.m2/repository/jakarta/annotation/jakarta.annotation-api/2.1.0/jakarta.annotation-api-2.1.0.jar:/home/smarlow/.m2/repository/org/eclipse/angus/angus-activation/1.0.0/angus-activation-1.0.0.jar:/home/smarlow/.m2/repository/org/glassfish/ha/ha-api/3.1.13/ha-api-3.1.13.jar:/home/smarlow/.m2/repository/org/glassfish/gmbal/gmbal-api-only/4.0.3/gmbal-api-only-4.0.3.jar:/home/smarlow/.m2/repository/com/sun/xml/messaging/saaj/saaj-impl/3.0.0-M2/saaj-impl-3.0.0-M2.jar:/home/smarlow/.m2/repository/org/codehaus/woodstox/stax2-api/4.2.1/stax2-api-4.2.1.jar:/home/smarlow/.m2/repository/com/sun/xml/ws/jaxws-tools/4.0.0-M4/jaxws-tools-4.0.0-M4.jar:/home/smarlow/.m2/repository/org/jvnet/staxex/stax-ex/2.1.0/stax-ex-2.1.0.jar:/home/smarlow/.m2/repository/com/sun/xml/bind/jaxb-jxc/4.0.0-M4/jaxb-jxc-4.0.0-M4.jar:/home/smarlow/.m2/repository/org/glassfish/external/management-api/3.2.3/management-api-3.2.3.jar:/home/smarlow/.m2/repository/jakarta/xml/soap/jakarta.xml.soap-api/3.0.0/jakarta.xml.soap-api-3.0.0.jar:/home/smarlow/.m2/repository/com/sun/xml/ws/jaxws-rt/4.0.0-M4/jaxws-rt-4.0.0-M4.jar:/home/smarlow/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/2.1.0/FastInfoset-2.1.0.jar:/home/smarlow/.m2/repository/com/sun/xml/bind/jaxb-impl/4.0.0-M4/jaxb-impl-4.0.0-M4.jar:/home/smarlow/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.0/jakarta.xml.bind-api-4.0.0.jar:/home/smarlow/.m2/repository/com/sun/xml/bind/jaxb-core/4.0.0-M4/jaxb-core-4.0.0-M4.jar:/home/smarlow/.m2/repository/com/sun/xml/stream/buffer/streambuffer/2.1.0/streambuffer-2.1.0.jar:/home/smarlow/.m2/repository/jakarta/mail/jakarta.mail-api/2.1.0/jakarta.mail-api-2.1.0.jar:/home/smarlow/.m2/repository/com/sun/xml/ws/jaxws-maven-plugin/4.0.0/jaxws-maven-plugin-4.0.0.jar [DEBUG] /bin/sh -c cd '/home/smarlow/tck/platformtck/jaxws' && '/usr/lib/jvm/java-17-openjdk-17.0.11.0.9-1.fc40.x86_64/bin/java' '-cp' '/home/smarlow/.m2/repository/com/sun/xml/ws/jaxws-maven-plugin/4.0.0/jaxws-maven-plugin-4.0.0.jar' 'org.jvnet.jax_ws_commons.jaxws.Invoker' 'com.sun.tools.ws.wscompile.WsimportTool' '-pathfile' '/tmp/jax-ws-mvn-plugin-cp4897222265124392917.txt' '-keep' '-s' '/home/smarlow/tck/platformtck/jaxws/target/generated-sources' '-d' '/home/smarlow/tck/platformtck/jaxws/target/classes' '-encoding' 'UTF-8' '-Xnocompile' '-b' '/home/smarlow/tck/platformtck/jaxws/target/jaxws/wsdls/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/customfile.xml' 'file:/home/smarlow/tck/platformtck/jaxws/target/jaxws/wsdls/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/AddNumbersService.wsdl' Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.jvnet.jax_ws_commons.jaxws.Invoker.main(Invoker.java:74) Caused by: com.sun.xml.ws.streaming.XMLReaderException: Unable to create StAX reader or writer at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamReaderFactory.java:148) at com.sun.tools.ws.wscompile.WsimportOptions.parseBindings(WsimportOptions.java:604) at com.sun.tools.ws.wscompile.WsimportTool.parseArguments(WsimportTool.java:352) at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:177) at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:158) ... 5 more Caused by: java.io.FileNotFoundException: /home/smarlow/tck/platformtck/jaxws/target/jaxws/wsdls/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/customfile.xml (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:216) at java.base/java.io.FileInputStream.(FileInputStream.java:157) at java.base/java.io.FileInputStream.(FileInputStream.java:111) at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86) at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:189) at java.base/java.net.URL.openStream(URL.java:1161) at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamReaderFactory.java:144) ... 9 more

build.txt has the output from mvn clean install -X on my local machine.