On Thu, Feb 25, 2021 at 3:37 PM robertlazarski <[email protected]> wrote:
> Axis2 1.7.9 will not build on JDK 11 for a few reasons such as the removal > of XDoclet. > > The latest Axis2 trunk from our git repo does build on JDK 11 ... maybe > later too, I haven't got to that yet. > > git clone https://github.com/apache/axis-axis2-java-core.git > > Currently in git the Javac source is set to 1.7, I tried setting it to 1.8 > and it built fine for me on JDK 11. > > I can't think of a good reason not to bump the source requirement up to > 1.8 so if there are no objections on this list I suggest we do that. > Done: https://github.com/apache/axis-axis2-java-core/commit/5b694fdc874fc0a98a57b66f3d4f953401c610f2 . > > > > On Thu, Feb 25, 2021 at 4:12 AM Andrew Marlow <[email protected]> > wrote: > >> Hello everyone, >> >> I just tried to build axis2 1.7.9 on linux with openJDK11. I am running >> into some problems and need a little help/guidance please. >> >> First, I saw that in the top level pom we have: >> >> <plugin> >> <artifactId>maven-compiler-plugin</artifactId> >> <inherited>true</inherited> >> <configuration> >> <source>1.5</source> >> <target>1.5</target> >> </configuration> >> </plugin> >> >> I had to change the 1.5 to 1.8. Then I got the error: >> >> [ERROR] >> /home/marlowa/mystuff/axis2-build/axis2-1.7.9/modules/adb/src/org/apache/axis2/rpc/receivers/ejb/EJBUtil.java:[161,37] >> package javax.rmi does not exist >> >> I note that rmi is removed in JDK11. Does this mean that axis2 must be >> built in older versions, e.g. 1.8? >> >> -- >> Regards, >> >> Andrew Marlow >> http://www.andrewpetermarlow.co.uk >> >>
