I have created the JIRA to better track my proposal https://issues.apache.org/jira/browse/MWAR-405
2017-04-12 3:15 GMT+02:00 Hervé BOUTEMY <[email protected]>: > Robert, > > Should this war plugin be added to the Java 9 - Jigsaw Wiki page in the > plugins section? > https://cwiki.apache.org/confluence/display/MAVEN/Java+9+-+Jigsaw > > Regards, > > Hervé > > Le mardi 11 avril 2017, 10:14:12 CEST Enrico Olivelli a écrit : > > Thank you all for your quick answers > > > > @Robert > > I have checked out the code and took a deeper look: > > the implementation of MWAR-397 is complex and will take some time, on the > > mid term I agree that it will an awesome solution > > https://issues.apache.org/jira/browse/MWAR-397 > > > > @Jörg > > The option --permit-illegal-access will not work for me as it will hide > > most of the problems of Java9 fo > > > > I would like to propose a simpler patch which prevents the > maven-war-plugin > > from crashing at clinit > > https://github.com/apache/maven-plugins/pull/112 > > > > this will make it work just by disabling the cache > > I see it is a very temporary fix but lets everyone go on with Java9 > Webapps > > > > If the idea is good a can file a JIRA, clean up the code respecting the > > conventions or the project and file a clean PR > > > > Another fallback would be to use the Kryo library, which let's you > > serialize non-serializable objects, but I have not tests > > > > 2017-04-10 22:46 GMT+02:00 Jörg Schaible <[email protected]>: > > > Enrico Olivelli wrote: > > > > Il lun 10 apr 2017, 18:57 Karl Heinz Marbaise <[email protected]> ha > > > > > > > > scritto: > > > >> Hi, > > > >> > > > >> On 10/04/17 17:37, Enrico Olivelli wrote: > > > >> > Hi, > > > >> > I would like be able to build an existing project developed for > java8 > > > >> > by simple running Maven on jdk9. > > > >> > > > > >> > Actually it is not possible, I am aware of that and I am currently > > > >> > following all the news about Maven and Java9 > > > >> > > > >> What is not possible ? Do you have an error message / log file etc. > ? > > > > > > > > Actually I am blocked on the TreeMap issue with xstream and > > > > maven-war-plugin. > > > > Is there any active work on that issue? > > > > > > > > I see it is marked as an external dep problem but on xstream issue > > > > tracker > > > > > > > > it seems that it is not a priority > > > > > > You should be able to run it with MAVEN_OPTS="--permit-illegal-access" > - > > > at > > > least until a solution is available. > > > > > > Cheers, > > > Jörg > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
