Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if not then I suggest trying the command used to build with GitHub Actions:
mvn -B -e -Papache-release -Dgpg.skip=true verify https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970 On Sun, May 26, 2024 at 12:55 PM Amit Patil <amitpatil12.a...@gmail.com> wrote: > Yes I am using jdk 17. > permission java.io.FilePermission "C:\\Program Files\\Eclipse > Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink"; > > On Mon, 27 May 2024 at 04:23, robertlazarski <robertlazar...@gmail.com> > wrote: > >> You need to compile with JDK 17. >> >> On Sun, May 26, 2024 at 12:50 PM Amit Patil <amitpatil12.a...@gmail.com> >> wrote: >> >>> Thanks for the clarification, >>> Can you please confirm a couple of things, Can I officially take the >>> master branch of the axis2 repository and compile it to use in my code? and >>> I am getting the following error while building. >>> >>>> [ERROR] Errors: >>>> [ERROR] ServiceClientTest.testWSDLWithImportsFromZIP:50 » >>>> AccessControl access denied ("java.io.FilePermission" >>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl" >>>> "read") >>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access >>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" >>>> "read") >>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access >>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" >>>> "read") >>>> [INFO] >>>> [ERROR] Tests run: 380, Failures: 0, Errors: 3, Skipped: 0 >>>> [INFO] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Reactor Summary for Apache Axis2 - Kernel 1.8.3-SNAPSHOT: >>>> [INFO] >>>> [INFO] Apache Axis2 - Kernel .............................. FAILURE [ >>>> 41.271 s] >>>> >>> >>> This is because of Java Security Manager blocking access to certain >>> resources (files and URLs) required by the tests. I will try to solve this >>> but can you tell if I am missing anything here? >>> >>> >>> Thanks, >>> Amit Patil >>> >>> On Mon, 27 May 2024 at 03:39, robertlazarski <robertlazar...@gmail.com> >>> wrote: >>> >>>> The license is open source via the Apache license at all times - the >>>> only difference with an official release of 1.8.3 is binaries that can be >>>> loaded via Maven and direct links. >>>> >>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski < >>>> robertlazar...@gmail.com> wrote: >>>> >>>>> This is the repo - only missing feature is OSGI as it may get dropped >>>>> if we don't get a volunteer. >>>>> >>>>> Beyond that, the only expected difference is httpclient4 instead of >>>>> httpclient5 ... which is going to be more stable for the next month or >>>>> two. >>>>> >>>>> https://github.com/apache/axis-axis2-java-core >>>>> >>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil < >>>>> amitpatil12.a...@gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> Thank you so much for the response. Can you please provide me with >>>>>> the link to the right branch or tag? I will try to compile from source as >>>>>> of now. But we are not authorized to use the product which has not been >>>>>> released yet with a licence. Although it will be good for testing for now >>>>>> and communicating with the customer for future roadmap. >>>>>> Also is there any other workaround for this? >>>>>> >>>>>> Thanks for the help, >>>>>> Amit Patil >>>>>> >>>>>> On Mon, 27 May 2024 at 03:06, robertlazarski < >>>>>> robertlazar...@gmail.com> wrote: >>>>>> >>>>>>> Tomcat 10 supports axis2 via the legacyAppBase folder - see the >>>>>>> Tomcat 10 docs for details. >>>>>>> >>>>>>> Axis 1.8.3 will support jakarta and the only thing holding up the >>>>>>> release is httpclient5 which isn't related to jakarta at all ... you can >>>>>>> check out the Axis2 github repo and compile from source now if you are >>>>>>> so >>>>>>> inclined. >>>>>>> >>>>>>> The httpclient5 upgrade ended up being harder than expected due to >>>>>>> some Axis2 quirks that goes deep into the architecture and the classic >>>>>>> API >>>>>>> changing more that it would appear. >>>>>>> >>>>>>> Nevertheless, progress continues. >>>>>>> >>>>>>> On Sun, May 26, 2024 at 11:21 AM Amit Patil < >>>>>>> amitpatil12.a...@gmail.com> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> I am a software developer in a MNC working on developing web >>>>>>>> applications in java. Currently I am in the middle of a task of >>>>>>>> migrating >>>>>>>> my code from javax to jakarta because we are upgrading to tomcat 10. >>>>>>>> We use *axis2 >>>>>>>> 1.8.2 *in our code which consists of some javax jars and code >>>>>>>> snippets with javax use in it. >>>>>>>> I want to know whether to upgrade the binaries used in axis2-1.8.2 >>>>>>>> manually or is there any other way of doing it? Does tomcat 10 support >>>>>>>> axis2-1.8.2? >>>>>>>> Can you please guide me what I should do in this situation? >>>>>>>> >>>>>>>> >>>>>>>> Kind regards, >>>>>>>> Amit Patil >>>>>>>> >>>>>>>