Re: Building a Java9 project just using JDK9

2017-08-18 Thread Enrico Olivelli
> >> > Oracle has with NIO implementation in com.sun package > >> > propagated > >> > > > to > >> > > > > > >> > "java.util", nobody in the world care and nobody should > see > >>

Re: Building a Java9 project just using JDK9

2017-08-18 Thread Tibor Digana
t; developed >> > > > > at >> > > > > > >> > Universities would for instance implement only "java.lang" >> and >> > > > > embed >> > > > > > it >> > > > > > >> in >&g

Re: Building a Java9 project just using JDK9

2017-08-17 Thread Tibor Digana
the size of the modules. > > > > > > >> > You really did not help embedded systems and installations > of > > > > > > browsers. > > > > > > >> > > > > > > > >> > > > > > > > >

Re: Building a Java9 project just using JDK9

2017-08-17 Thread Bernd Eckenfels
, 2017 8:28:02 AM To: Maven Developers List Subject: Re: Building a Java9 project just using JDK9 Btw. Can be JRE/JDK configures after installation in terms not doing these things and so that non-modular application would have access to java.se.ee by default? And second question, which would b

Re: Building a Java9 project just using JDK9

2017-08-17 Thread Enrico Olivelli
> >> > > > > > > >> > On Thu, May 18, 2017 at 8:51 AM, Enrico Olivelli <[hidden > email] > > > > <http:///user/SendEmail.jtp?type=node=5912520=4> > > > > > > > > > > > >> > wrote: > > > > > >> > > > > > > >

Re: Building a Java9 project just using JDK9

2017-08-16 Thread Tibor Digana
Btw. Can be JRE/JDK configures after installation in terms not doing these things and so that non-modular application would have access to java.se.ee by default? And second question, which would be cool feature to have, is some script which allows me to recreate a new JRE from installed one but

Re: Building a Java9 project just using JDK9

2017-08-16 Thread Tibor Digana
gt; > --add-modules > > > > >> > > ALL-SYSTEM > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > org.apache.maven.plugins > > > > > > > >> > > maven-surefire-pl > > > > >> ugin > > > > >> > > 2.20 > > > > >> > > > > > > >> > > --add-modules > > > > >> ALL-SYSTEM > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > -- Enrico > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > 2017-04-24 19:08 GMT+02:00 Karl Heinz Marbaise <[hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=5>>: > > > > >> > > > Hi, > > > > >> > > > > > > > >> > > > yes I will do within this week... > > > > >> > > > > > > > >> > > > Kind regards > > > > >> > > > Karl Heinz Marbaise > > > > >> > > > On 23/04/17 21:37, Enrico Olivelli wrote: > > > > >> > > >> > > > > >> > > >> Thank you Robert, > > > > >> > > >> I saw that you have merged my patch. > > > > >> > > >> > > > > >> > > >> Is there any plan to release the new version of the war > > > plugin? > > > > >> > > >> > > > > >> > > >> Enrico > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> Il gio 13 apr 2017, 12:21 Paul Hammant <[hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=6>> ha > > > > >> scritto: > > > > >> > > >> > > > > >> > > >>>> > > > > >> > > >>>> > > > > >> > > >>>>> I don't see any activity either, so my idea is to > replace > > > > >> XStream, > > > > >> > > see > > > > >> > > >>>> > > > > >> > > >>>> MWAR-397[1] > > > > >> > > >>>> > > > > >> > > >>> > > > > >> > > >>> Just for the record, Jörg is working through the Java9 > > issues > > > > for > > > > >> > > XStream > > > > >> > > >>> presently - https://github.com/x-stream/ > > > xstream/commits/master > > > > >> > > >>> > > > > >> > > >>> - Paul > > > > >> > > > > > > > >> > > > > > > > >> > > > -- > -- > > > > >> - > > > > >> > > > To unsubscribe, e-mail: [hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=7> > > > > >> > > > For additional commands, e-mail: [hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=8> > > > > >> > > > > > > > >> > > > > > > >> > > > > > > > - > > > > >> > > To unsubscribe, e-mail: [hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=9> > > > > >> > > For additional commands, e-mail: [hidden email] > > > <http:///user/SendEmail.jtp?type=node=5912520=10> > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > Cheers > > > > > Tibor > > > > > > > > > > > > > > > > > > > > > -- > > > > Cheers > > > > Tibor > > > > > > > -- > > > > > > > > > -- Enrico Olivelli > > > > > > > > > -- > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > http://maven.40175.n5.nabble.com/Building-a-Java9-project- > just-using-JDK9- > > > tp5905517p5912520.html > > > To start a new topic under Maven Developers, email > > > ml+s40175n142166...@n5.nabble.com > > > To unsubscribe from Maven Developers, click here > > > < > > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp? > macro=unsubscribe_by_code=142166=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3 > wxNDIxNjZ8LTI4OTQ5MjEwMg== > > > > > > . > > > NAML > > > < > > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp? > macro=macro_viewer=instant_html%21nabble%3Aemail.naml& > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > web.template.NabbleNamespace-nabble.view.web.template. > NodeNamespace=notify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > instant_email%21nabble%3Aemail.naml > > > > > > > > > > > > > > > > -- > > View this message in context: > > http://maven.40175.n5.nabble.com/Building-a-Java9-project- > just-using-JDK9-tp5905517p5912569.html > > Sent from the Maven Developers mailing list archive at Nabble.com. > > -- > > > -- Enrico Olivelli > -- Cheers Tibor

Re: Building a Java9 project just using JDK9

2017-08-16 Thread Enrico Olivelli
>> > > > > > >> > > > > > >> > > > > > >> > > > org.apache.maven.plugins > > > > > >> > > > > > maven-javadoc-plugin > > &g

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Tibor Digana
> > > > > >> > > > > >> > > > > >> > > org.apache.maven.plugins > > > >> > > maven-surefire-pl

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Karl Heinz Marbaise
Hi Gary, as Robert already pointed out Maven can run fine on JDK 9...for a very long time.. I'm working on support for jlink, jmod to support creation of run time images with Maven simple (currently in its alpha states if this is appropriate) ...which can be looked at the currenty example

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Robert Scholte
On Tue, 15 Aug 2017 19:57:37 +0200, Gary Gregory wrote: I'm guessing that all the pain of doing this will not be fully known until Maven is Java 9-ified. Not sure what you mean by this. Maven itself can run on Java 9, most plugins work with Java 9, most Java 9

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Gary Gregory
I'm guessing that all the pain of doing this will not be fully known until Maven is Java 9-ified. Gary On Tue, Aug 15, 2017 at 10:16 AM, Enrico Olivelli wrote: > Il mar 15 ago 2017, 17:51 Gary Gregory ha > scritto: > > > You will need the same

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Enrico Olivelli
Il mar 15 ago 2017, 17:51 Gary Gregory ha scritto: > You will need the same tricks at runtime for the command line that Maven > might hide at build time... :-( I guess hacks like --add-modules ALL-SYSTEM > will become part of our daily grind... > Gary, I think you are

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Enrico Olivelli
Il dom 13 ago 2017, 17:31 Tibor Digana ha scritto: > I found an issue. JDK printed this on std/out: > WARNING: Using incubator modules: jdk.incubator.httpclient > IMHO This is because we are importing all system modules. Maybe importing only java.se.ee would cover

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Gary Gregory
You will need the same tricks at runtime for the command line that Maven might hide at build time... :-( I guess hacks like --add-modules ALL-SYSTEM will become part of our daily grind... Gary On Tue, Aug 15, 2017 at 9:07 AM, Enrico Olivelli wrote: > Il mar 15 ago 2017,

Re: Building a Java9 project just using JDK9

2017-08-15 Thread Enrico Olivelli
Il mar 15 ago 2017, 00:03 Tibor Digana ha scritto: > I do not want to be too pessimistic but the inheritance of modules is > crucial for all the world. > > The common sense tells me that I should not release Java 9 on September, > 2017 unless Java EE application

Re: Building a Java9 project just using JDK9

2017-08-14 Thread Tibor Digana
I do not want to be too pessimistic but the inheritance of modules is crucial for all the world. The common sense tells me that I should not release Java 9 on September, 2017 unless Java EE application servers work properly. This would mean that JDBC is crucial as well as JAXB for JAX-WS/RS and

Re: Building a Java9 project just using JDK9

2017-08-14 Thread Enrico Olivelli
Il lun 14 ago 2017, 11:46 Tibor Digana ha scritto: > Hello Enrico, > > I fixed SUREFIRE-1403 and now Surefire works with Java 9. > I need an approval for the Jira SUREFIRE-1403 for you and Robert. Thx in > advance. > I will check as soon as I wil be back from

Re: Building a Java9 project just using JDK9

2017-08-14 Thread Tibor Digana
Hello Enrico, I fixed SUREFIRE-1403 and now Surefire works with Java 9. I need an approval for the Jira SUREFIRE-1403 for you and Robert. Thx in advance. I have added integration tests for Failsafe plugin, added documentation " java9.md" and removed JAXB which is located in module

Re: Building a Java9 project just using JDK9

2017-08-14 Thread Enrico Olivelli
Il dom 13 ago 2017, 17:31 Tibor Digana ha scritto: > I found an issue. JDK printed this on std/out: > WARNING: Using incubator modules: jdk.incubator.httpclient > > It hapens after my test: > > import org.junit.Test; > > public class J9Test > { > @Test >

Re: Building a Java9 project just using JDK9

2017-08-13 Thread Fred Cooke
I'll throw my 2c in here, too: Java 9 runtime forces me to rewrite parts of my application because non-root thread priority control is no longer available. Plenty of people have relied on lines like this to achieve their desired behaviour: java -jar -Xms128m -Xmx1024m

Re: Building a Java9 project just using JDK9

2017-08-13 Thread Tibor Digana
I found an issue. JDK printed this on std/out: WARNING: Using incubator modules: jdk.incubator.httpclient It hapens after my test: import org.junit.Test; public class J9Test { @Test public void testMiscellaneousAPI() throws java.sql.SQLException { System.out.println( "loaded

Re: Building a Java9 project just using JDK9

2017-08-13 Thread Tibor Digana
But why to add it? It's a hack. I do not use module-info.java and so there is no reason to break the backwards compatibility. This is no more about Maven. It is about entire Java world. If we in Maven do it then everybody has to. And I am sure that the voices says that Kotlin is better and Scala

Re: Building a Java9 project just using JDK9

2017-08-13 Thread Gary Gregory
Is there a Maven way to add ALL-SYSTEM to everything? Using plugin specific tags like below is going to be painful. Gary On Aug 13, 2017 07:30, "Tibor Digana" wrote: > Hi @Enrico, > > I am very unhappy with Java 9 status and very afraid. > I do not like the style how

Re: Building a Java9 project just using JDK9

2017-08-13 Thread Tibor Digana
Hi @Enrico, I am very unhappy with Java 9 status and very afraid. I do not like the style how Oracle has changed Java to Java 9 and forced all the world to use additional effort to adapt to Oracle activities. I am facing more unhappy Java development teams with Java 9 in the future. For instance

Re: Building a Java9 project just using JDK9

2017-05-18 Thread Enrico Olivelli
I would like to share my current pom configuration which lets me to build and test java8 apps on latest and greatest jdk9 This profile is activated when using jdk9. This is based on a suggestion of Robert, its suggestion for the javadoc plugin is working great with surefire too

Re: Building a Java9 project just using JDK9

2017-04-24 Thread Karl Heinz Marbaise
Hi, yes I will do within this week... Kind regards Karl Heinz Marbaise On 23/04/17 21:37, Enrico Olivelli wrote: Thank you Robert, I saw that you have merged my patch. Is there any plan to release the new version of the war plugin? Enrico Il gio 13 apr 2017, 12:21 Paul Hammant

Re: Building a Java9 project just using JDK9

2017-04-24 Thread Enrico Olivelli
Thank you Robert, I saw that you have merged my patch. Is there any plan to release the new version of the war plugin? Enrico Il gio 13 apr 2017, 12:21 Paul Hammant ha scritto: > > > > > >> I don't see any activity either, so my idea is to replace XStream, see > >

Re: Building a Java9 project just using JDK9

2017-04-13 Thread Paul Hammant
> > >> I don't see any activity either, so my idea is to replace XStream, see > MWAR-397[1] > Just for the record, Jörg is working through the Java9 issues for XStream presently - https://github.com/x-stream/xstream/commits/master - Paul

Re: Building a Java9 project just using JDK9

2017-04-12 Thread Robert Scholte
Yes, I think that makes sense. Will do so. Robert On Wed, 12 Apr 2017 03:15:41 +0200, Hervé BOUTEMY wrote: Robert, Should this war plugin be added to the Java 9 - Jigsaw Wiki page in the plugins section?

Re: Building a Java9 project just using JDK9

2017-04-12 Thread Enrico Olivelli
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 : > Robert, > > Should this war plugin be added to the Java 9 - Jigsaw Wiki page in the > plugins section? >

Re: Building a Java9 project just using JDK9

2017-04-11 Thread Hervé BOUTEMY
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

Re: Building a Java9 project just using JDK9

2017-04-11 Thread Enrico Olivelli
@Jörg I have updated the PR with your proposal of registering only a bunch of converters. https://github.com/apache/maven-plugins/pull/112 It is working very well (with a very simple webapp) ! I think it is the most simple solution for the Java9 problem actually. It does not require invasive

Re: Building a Java9 project just using JDK9

2017-04-11 Thread Jörg Schaible
Hi Enrico, Enrico Olivelli wrote: > 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 >

Re: Building a Java9 project just using JDK9

2017-04-11 Thread Enrico Olivelli
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

Re: Building a Java9 project just using JDK9

2017-04-10 Thread Jörg Schaible
Enrico Olivelli wrote: > Il lun 10 apr 2017, 18:57 Karl Heinz Marbaise 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. >> > >> >

Re: Building a Java9 project just using JDK9

2017-04-10 Thread Enrico Olivelli
Il lun 10 apr 2017, 22:32 Robert Scholte ha scritto: > On Mon, 10 Apr 2017 22:23:27 +0200, Enrico Olivelli > wrote: > > > Il lun 10 apr 2017, 18:57 Karl Heinz Marbaise ha > > scritto: > > > >> Hi, > >> > >> On 10/04/17 17:37, Enrico

Re: Building a Java9 project just using JDK9

2017-04-10 Thread Robert Scholte
On Mon, 10 Apr 2017 22:23:27 +0200, Enrico Olivelli wrote: Il lun 10 apr 2017, 18:57 Karl Heinz Marbaise 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 >

Re: Building a Java9 project just using JDK9

2017-04-10 Thread Enrico Olivelli
Il lun 10 apr 2017, 18:57 Karl Heinz Marbaise 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

Re: Building a Java9 project just using JDK9

2017-04-10 Thread Karl Heinz Marbaise
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

Building a Java9 project just using JDK9

2017-04-10 Thread Enrico Olivelli
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 So I would like to "help" in order to "get things working" as Java9 now