Re: Java 9 - Java Modules aka Jigsaw
thanks Rory! that's the info I was searching for. As replied to Paul, I was hoping for a better approach. I will implement it just to be able to get experience with modules, but once I have a complete picture of the impacts I'll inform the jigsaw team and hopefully we can think of a more efficient way to handle modules. thanks, Robert Op Thu, 19 Nov 2015 11:09:12 +0100 schreef Rory O'Donnell : Hi Robert, JEP 261 helps explains -modulepath, otherwise jigsaw-dev should be able to help. Rgds,Rory On 18/11/2015 22:03, Robert Scholte wrote: Hi, I've started patching the plexus-compiler so we can start compiling projects with module-info See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea However, I can't find detailed info about the -modulepath argument. Usage: javac where possible options include: ... -classpath Specify where to find user class files and annotation processors ... -modulepath Specify where to find user module class files However, I can't simply add a range of jar files like I can with classpath, or could this be a Windows issue? error: illegal argument for -modulepath: F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar thanks, Robert Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier : Hi all, This week I was at Devoxx conférence where there were various talks about the incoming JDK 9 and the new Java Modules. If this is a subject that you are interested in and want to know more (and especially how it will break maven) I recommend you to watch the recording of the following sessions Keynote by Mark Reinhold https://www.youtube.com/watch?v=l1s7R85GF1A Introduction to Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=qr4O4SbzihQ Prepare for JDK 9! by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=KZfbRuvv5qc Modular Development with JDK 9 by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=V6ycn1-QQV0 Advanced Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=SU1WFX8yeKM Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=UKC0uC7QUkI Ask the JDK Architects https://www.youtube.com/watch?v=7vvx505mu3s Form now all Devoxx sessions are freely available on Youtube at D+1 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg As Jason is in the expert group I imagine that he already started to think about how to adapt maven to be able to easily consume/produce classical jar files and J9+ Java Modules. Cheers, - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Java 9 - Java Modules aka Jigsaw
Hi Robert, JEP 261 helps explains -modulepath, otherwise jigsaw-dev should be able to help. Rgds,Rory On 18/11/2015 22:03, Robert Scholte wrote: Hi, I've started patching the plexus-compiler so we can start compiling projects with module-info See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea However, I can't find detailed info about the -modulepath argument. Usage: javac where possible options include: ... -classpath Specify where to find user class files and annotation processors ... -modulepath Specify where to find user module class files However, I can't simply add a range of jar files like I can with classpath, or could this be a Windows issue? error: illegal argument for -modulepath: F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar thanks, Robert Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier : Hi all, This week I was at Devoxx conférence where there were various talks about the incoming JDK 9 and the new Java Modules. If this is a subject that you are interested in and want to know more (and especially how it will break maven) I recommend you to watch the recording of the following sessions Keynote by Mark Reinhold https://www.youtube.com/watch?v=l1s7R85GF1A Introduction to Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=qr4O4SbzihQ Prepare for JDK 9! by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=KZfbRuvv5qc Modular Development with JDK 9 by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=V6ycn1-QQV0 Advanced Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=SU1WFX8yeKM Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=UKC0uC7QUkI Ask the JDK Architects https://www.youtube.com/watch?v=7vvx505mu3s Form now all Devoxx sessions are freely available on Youtube at D+1 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg As Jason is in the expert group I imagine that he already started to think about how to adapt maven to be able to easily consume/produce classical jar files and J9+ Java Modules. Cheers, -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Java 9 - Java Modules aka Jigsaw
Hi Tibor,that's exactly the reason why I added tests for it to verify that the plugin handles there cases as expected. The class is NOT used in the runtime code. Thanks, Robert Verzonden vanaf Samsung Mobile. Oorspronkelijk bericht Van: Tibor Digana Datum:19-11-2015 00:21 (GMT+01:00) Aan: Maven Developers List Onderwerp: Re: Java 9 - Java Modules aka Jigsaw Robert, I was watching the video and the message is important. They want the devs using standard Java API. It's a little paranoea around to replace Base64. Yes it's used a lot but easy to replace with standard API. On Wed, Nov 18, 2015 at 9:12 PM, Robert Scholte wrote: > Hi Tibor, > > "Whatever critical or non-critical, the JDK dependency appears." > > Just wondering how you collected these information. I don't recognize all > packages as being marked as JDK Internal. The list is described as JEP 260: > Encapsulate Most Internal APIs[1] > > thanks, > Robert > > [1] http://openjdk.java.net/jeps/260 > > Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana < > tibordig...@apache.org>: > > > Our plugins are dependent on internal Sun JDK packages. >> This is the list of plugins:Java classes and JDK classes. >> Whatever critical or non-critical, the JDK dependency appears. >> >> maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder >> maven-changes-plugin:ProjectJavamailMailSender >> com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? >> maven-changes-plugin:FeedGenerator com.sun.syndication.* >> maven-javadoc-plugin:AbstractJavadocMojo Javadoc: >> com.sun.tools.javadoc.*, com.sun.tools.doclets.*, >> com.sun.tools.doclets.ToDoTaglet >> maven-javadoc-plugin:JavadocUtil Javadoc: >> com.sun.tools.doclets.Taglet, >> maven-ant-plugin:AntBuildWriterUtilorg.w3c.* >> maven-site-plugin:WebXmlTest org.w3c.* >> maven-pdm-plugin:CpdReportTest org.w3c.* >> >> >> On 11/16/15, Tibor Digana wrote: >> >>> @Arno What it means for you to "how it will break maven". >>> Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not >>> it? >>> >>> On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < >>> ml-node+s40175n5851980...@n5.nabble.com> wrote: >>> >>> Hi all, >>>> >>>> This week I was at Devoxx conférence where there were various talks >>>> about >>>> the incoming JDK 9 and the new Java Modules. If this is a subject that >>>> you >>>> are interested in and want to know more (and especially how it will >>>> break >>>> maven) I recommend you to watch the recording of the following sessions >>>> >>>> Keynote by Mark Reinhold >>>> https://www.youtube.com/watch?v=l1s7R85GF1A >>>> >>>> Introduction to Modular Development by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=qr4O4SbzihQ >>>> >>>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=KZfbRuvv5qc >>>> >>>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=V6ycn1-QQV0 >>>> >>>> Advanced Modular Development by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=SU1WFX8yeKM >>>> >>>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=UKC0uC7QUkI >>>> >>>> Ask the JDK Architects >>>> https://www.youtube.com/watch?v=7vvx505mu3s >>>> >>>> Form now all Devoxx sessions are freely available on Youtube at D+1 >>>> >>>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >>>> >>>> As Jason is in the expert group I imagine that he already started to >>>> think >>>> about how to adapt maven to be able to easily consume/produce classical >>>> jar >>>> files and J9+ Java Modules. >>>> >>>> Cheers, >>>> >>>> -- >>>> - >>>> Arnaud Héritier >>>> http://aheritier.net >>>> Mail/GTalk: aheritier AT gmail DOT com >>>> Twitter/Skype : aheritier >>>> >>>> >>>> -- >>>> If you reply to this email, your message will be added to the discussion >>>> be
Re: Java 9 - Java Modules aka Jigsaw
Hi Paul, I know about the directory based example,but I really hope there are more options. Directory would mean copying jars per module. IO is slow and we're back to those days where you have dozens of copies of jars all over your system. Thanks, Robert Verzonden vanaf Samsung Mobile. Oorspronkelijk bericht Van: Paul Benedict Datum:18-11-2015 23:34 (GMT+01:00) Aan: Maven Developers List Cc: "Rory O'Donnell Oracle, Dublin Ireland" , Dalibor Topic Onderwerp: Re: Java 9 - Java Modules aka Jigsaw Robert, also see the "Greetings World" example here. The page has good examples of how to use the command line options: http://openjdk.java.net/projects/jigsaw/quick-start And again from this presentation: http://openjdk.java.net/projects/jigsaw/j1/intro-modular-dev-j1-2015.pdf Cheers, Paul On Wed, Nov 18, 2015 at 4:23 PM, Paul Benedict wrote: > I believe the -modulepath option is for specifying a directory, not a jar. > Do something like this: > javac -modulepath mods YourClass.java > > > Cheers, > Paul > > On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte > wrote: > >> Hi, >> >> I've started patching the plexus-compiler so we can start compiling >> projects with module-info >> >> See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea >> >> However, I can't find detailed info about the -modulepath argument. >> >> Usage: javac >> where possible options include: >> ... >> -classpath Specify where to find user class files and >> annotation processors >> ... >> -modulepath Specify where to find user module class files >> >> However, I can't simply add a range of jar files like I can with >> classpath, or could this be a Windows issue? >> >> error: illegal argument for -modulepath: >> F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar >> >> thanks, >> Robert >> >> Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier < >> aherit...@gmail.com>: >> >> >> Hi all, >>> >>> This week I was at Devoxx conférence where there were various talks >>> about >>> the incoming JDK 9 and the new Java Modules. If this is a subject that >>> you >>> are interested in and want to know more (and especially how it will break >>> maven) I recommend you to watch the recording of the following sessions >>> >>> Keynote by Mark Reinhold >>> https://www.youtube.com/watch?v=l1s7R85GF1A >>> >>> Introduction to Modular Development by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=qr4O4SbzihQ >>> >>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=KZfbRuvv5qc >>> >>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=V6ycn1-QQV0 >>> >>> Advanced Modular Development by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=SU1WFX8yeKM >>> >>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=UKC0uC7QUkI >>> >>> Ask the JDK Architects >>> https://www.youtube.com/watch?v=7vvx505mu3s >>> >>> Form now all Devoxx sessions are freely available on Youtube at D+1 >>> >>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >>> >>> As Jason is in the expert group I imagine that he already started to >>> think >>> about how to adapt maven to be able to easily consume/produce classical >>> jar >>> files and J9+ Java Modules. >>> >>> Cheers, >>> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> >> >
Re: Java 9 - Java Modules aka Jigsaw
Robert, I was watching the video and the message is important. They want the devs using standard Java API. It's a little paranoea around to replace Base64. Yes it's used a lot but easy to replace with standard API. On Wed, Nov 18, 2015 at 9:12 PM, Robert Scholte wrote: > Hi Tibor, > > "Whatever critical or non-critical, the JDK dependency appears." > > Just wondering how you collected these information. I don't recognize all > packages as being marked as JDK Internal. The list is described as JEP 260: > Encapsulate Most Internal APIs[1] > > thanks, > Robert > > [1] http://openjdk.java.net/jeps/260 > > Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana < > tibordig...@apache.org>: > > > Our plugins are dependent on internal Sun JDK packages. >> This is the list of plugins:Java classes and JDK classes. >> Whatever critical or non-critical, the JDK dependency appears. >> >> maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder >> maven-changes-plugin:ProjectJavamailMailSender >> com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? >> maven-changes-plugin:FeedGenerator com.sun.syndication.* >> maven-javadoc-plugin:AbstractJavadocMojo Javadoc: >> com.sun.tools.javadoc.*, com.sun.tools.doclets.*, >> com.sun.tools.doclets.ToDoTaglet >> maven-javadoc-plugin:JavadocUtil Javadoc: >> com.sun.tools.doclets.Taglet, >> maven-ant-plugin:AntBuildWriterUtilorg.w3c.* >> maven-site-plugin:WebXmlTest org.w3c.* >> maven-pdm-plugin:CpdReportTest org.w3c.* >> >> >> On 11/16/15, Tibor Digana wrote: >> >>> @Arno What it means for you to "how it will break maven". >>> Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not >>> it? >>> >>> On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < >>> ml-node+s40175n5851980...@n5.nabble.com> wrote: >>> >>> Hi all, >>>> >>>> This week I was at Devoxx conférence where there were various talks >>>> about >>>> the incoming JDK 9 and the new Java Modules. If this is a subject that >>>> you >>>> are interested in and want to know more (and especially how it will >>>> break >>>> maven) I recommend you to watch the recording of the following sessions >>>> >>>> Keynote by Mark Reinhold >>>> https://www.youtube.com/watch?v=l1s7R85GF1A >>>> >>>> Introduction to Modular Development by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=qr4O4SbzihQ >>>> >>>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=KZfbRuvv5qc >>>> >>>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=V6ycn1-QQV0 >>>> >>>> Advanced Modular Development by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=SU1WFX8yeKM >>>> >>>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >>>> https://www.youtube.com/watch?v=UKC0uC7QUkI >>>> >>>> Ask the JDK Architects >>>> https://www.youtube.com/watch?v=7vvx505mu3s >>>> >>>> Form now all Devoxx sessions are freely available on Youtube at D+1 >>>> >>>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >>>> >>>> As Jason is in the expert group I imagine that he already started to >>>> think >>>> about how to adapt maven to be able to easily consume/produce classical >>>> jar >>>> files and J9+ Java Modules. >>>> >>>> Cheers, >>>> >>>> -- >>>> - >>>> Arnaud Héritier >>>> http://aheritier.net >>>> Mail/GTalk: aheritier AT gmail DOT com >>>> Twitter/Skype : aheritier >>>> >>>> >>>> -- >>>> If you reply to this email, your message will be added to the discussion >>>> below: >>>> >>>> >>>> http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html >>>> To start a new topic under Maven Developers, email >>>> ml-node+s40175n142166...@n5.nabble.com >>>> To unsubscribe from Maven Developers, click here >>>> < >>>> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg== >>>> > >>>> . >>>> NAML >>>> < >>>> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml >>>> > >>>> >>>> >>> >> > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > -- Cheers Tibor
Re: Java 9 - Java Modules aka Jigsaw
Java 8 is not needed if you want to remove com.sun.* packages from your code. Long time I am using JAXB 1.0 from Java 5: import javax.xml.bind.DatatypeConverter; DatatypeConverter.printBase64Binary() On Mon, Nov 16, 2015 at 6:37 PM, Gary Gregory wrote: > Java 8 has a java.util.Base64 class so that one is easy. > > Gary > > On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana > wrote: > > > Our plugins are dependent on internal Sun JDK packages. > > This is the list of plugins:Java classes and JDK classes. > > Whatever critical or non-critical, the JDK dependency appears. > > > > maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder > > maven-changes-plugin:ProjectJavamailMailSender > > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? > > maven-changes-plugin:FeedGenerator com.sun.syndication.* > > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: > > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, > > com.sun.tools.doclets.ToDoTaglet > > maven-javadoc-plugin:JavadocUtil Javadoc: > > com.sun.tools.doclets.Taglet, > > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* > > maven-site-plugin:WebXmlTest org.w3c.* > > maven-pdm-plugin:CpdReportTest org.w3c.* > > > > > > On 11/16/15, Tibor Digana wrote: > > > @Arno What it means for you to "how it will break maven". > > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is > not > > > it? > > > > > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < > > > ml-node+s40175n5851980...@n5.nabble.com> wrote: > > > > > >> Hi all, > > >> > > >> This week I was at Devoxx conférence where there were various talks > > >> about > > >> the incoming JDK 9 and the new Java Modules. If this is a subject that > > >> you > > >> are interested in and want to know more (and especially how it will > > break > > >> maven) I recommend you to watch the recording of the following > sessions > > >> > > >> Keynote by Mark Reinhold > > >> https://www.youtube.com/watch?v=l1s7R85GF1A > > >> > > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=qr4O4SbzihQ > > >> > > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=KZfbRuvv5qc > > >> > > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 > > >> > > >> Advanced Modular Development by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=SU1WFX8yeKM > > >> > > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=UKC0uC7QUkI > > >> > > >> Ask the JDK Architects > > >> https://www.youtube.com/watch?v=7vvx505mu3s > > >> > > >> Form now all Devoxx sessions are freely available on Youtube at D+1 > > >> > > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg > > >> > > >> As Jason is in the expert group I imagine that he already started to > > >> think > > >> about how to adapt maven to be able to easily consume/produce > classical > > >> jar > > >> files and J9+ Java Modules. > > >> > > >> Cheers, > > >> > > >> -- > > >> - > > >> Arnaud Héritier > > >> http://aheritier.net > > >> Mail/GTalk: aheritier AT gmail DOT com > > >> Twitter/Skype : aheritier > > >> > > >> > > >> -- > > >> If you reply to this email, your message will be added to the > discussion > > >> below: > > >> > > >> > > > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html > > >> To start a new topic under Maven Developers, email > > >> ml-node+s40175n142166...@n5.nabble.com > > >> To unsubscribe from Maven Developers, click here > > >> < > > > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg== > > > > > >> . > > >> NAML > > >> &
Re: Java 9 - Java Modules aka Jigsaw
Robert, also see the "Greetings World" example here. The page has good examples of how to use the command line options: http://openjdk.java.net/projects/jigsaw/quick-start And again from this presentation: http://openjdk.java.net/projects/jigsaw/j1/intro-modular-dev-j1-2015.pdf Cheers, Paul On Wed, Nov 18, 2015 at 4:23 PM, Paul Benedict wrote: > I believe the -modulepath option is for specifying a directory, not a jar. > Do something like this: > javac -modulepath mods YourClass.java > > > Cheers, > Paul > > On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte > wrote: > >> Hi, >> >> I've started patching the plexus-compiler so we can start compiling >> projects with module-info >> >> See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea >> >> However, I can't find detailed info about the -modulepath argument. >> >> Usage: javac >> where possible options include: >> ... >> -classpath Specify where to find user class files and >> annotation processors >> ... >> -modulepath Specify where to find user module class files >> >> However, I can't simply add a range of jar files like I can with >> classpath, or could this be a Windows issue? >> >> error: illegal argument for -modulepath: >> F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar >> >> thanks, >> Robert >> >> Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier < >> aherit...@gmail.com>: >> >> >> Hi all, >>> >>> This week I was at Devoxx conférence where there were various talks >>> about >>> the incoming JDK 9 and the new Java Modules. If this is a subject that >>> you >>> are interested in and want to know more (and especially how it will break >>> maven) I recommend you to watch the recording of the following sessions >>> >>> Keynote by Mark Reinhold >>> https://www.youtube.com/watch?v=l1s7R85GF1A >>> >>> Introduction to Modular Development by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=qr4O4SbzihQ >>> >>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=KZfbRuvv5qc >>> >>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=V6ycn1-QQV0 >>> >>> Advanced Modular Development by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=SU1WFX8yeKM >>> >>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >>> https://www.youtube.com/watch?v=UKC0uC7QUkI >>> >>> Ask the JDK Architects >>> https://www.youtube.com/watch?v=7vvx505mu3s >>> >>> Form now all Devoxx sessions are freely available on Youtube at D+1 >>> >>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >>> >>> As Jason is in the expert group I imagine that he already started to >>> think >>> about how to adapt maven to be able to easily consume/produce classical >>> jar >>> files and J9+ Java Modules. >>> >>> Cheers, >>> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> >> >
Re: Java 9 - Java Modules aka Jigsaw
I believe the -modulepath option is for specifying a directory, not a jar. Do something like this: javac -modulepath mods YourClass.java Cheers, Paul On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte wrote: > Hi, > > I've started patching the plexus-compiler so we can start compiling > projects with module-info > > See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea > > However, I can't find detailed info about the -modulepath argument. > > Usage: javac > where possible options include: > ... > -classpath Specify where to find user class files and > annotation processors > ... > -modulepath Specify where to find user module class files > > However, I can't simply add a range of jar files like I can with > classpath, or could this be a Windows issue? > > error: illegal argument for -modulepath: > F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar > > thanks, > Robert > > Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier < > aherit...@gmail.com>: > > > Hi all, >> >> This week I was at Devoxx conférence where there were various talks >> about >> the incoming JDK 9 and the new Java Modules. If this is a subject that you >> are interested in and want to know more (and especially how it will break >> maven) I recommend you to watch the recording of the following sessions >> >> Keynote by Mark Reinhold >> https://www.youtube.com/watch?v=l1s7R85GF1A >> >> Introduction to Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=qr4O4SbzihQ >> >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=KZfbRuvv5qc >> >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=V6ycn1-QQV0 >> >> Advanced Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=SU1WFX8yeKM >> >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=UKC0uC7QUkI >> >> Ask the JDK Architects >> https://www.youtube.com/watch?v=7vvx505mu3s >> >> Form now all Devoxx sessions are freely available on Youtube at D+1 >> >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >> >> As Jason is in the expert group I imagine that he already started to think >> about how to adapt maven to be able to easily consume/produce classical >> jar >> files and J9+ Java Modules. >> >> Cheers, >> > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >
Re: Java 9 - Java Modules aka Jigsaw
Hi, I've started patching the plexus-compiler so we can start compiling projects with module-info See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea However, I can't find detailed info about the -modulepath argument. Usage: javac where possible options include: ... -classpath Specify where to find user class files and annotation processors ... -modulepath Specify where to find user module class files However, I can't simply add a range of jar files like I can with classpath, or could this be a Windows issue? error: illegal argument for -modulepath: F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar thanks, Robert Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier : Hi all, This week I was at Devoxx conférence where there were various talks about the incoming JDK 9 and the new Java Modules. If this is a subject that you are interested in and want to know more (and especially how it will break maven) I recommend you to watch the recording of the following sessions Keynote by Mark Reinhold https://www.youtube.com/watch?v=l1s7R85GF1A Introduction to Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=qr4O4SbzihQ Prepare for JDK 9! by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=KZfbRuvv5qc Modular Development with JDK 9 by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=V6ycn1-QQV0 Advanced Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=SU1WFX8yeKM Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=UKC0uC7QUkI Ask the JDK Architects https://www.youtube.com/watch?v=7vvx505mu3s Form now all Devoxx sessions are freely available on Youtube at D+1 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg As Jason is in the expert group I imagine that he already started to think about how to adapt maven to be able to easily consume/produce classical jar files and J9+ Java Modules. Cheers, - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Java 9 - Java Modules aka Jigsaw
Hi Tibor, "Whatever critical or non-critical, the JDK dependency appears." Just wondering how you collected these information. I don't recognize all packages as being marked as JDK Internal. The list is described as JEP 260: Encapsulate Most Internal APIs[1] thanks, Robert [1] http://openjdk.java.net/jeps/260 Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana : Our plugins are dependent on internal Sun JDK packages. This is the list of plugins:Java classes and JDK classes. Whatever critical or non-critical, the JDK dependency appears. maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder maven-changes-plugin:ProjectJavamailMailSender com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? maven-changes-plugin:FeedGenerator com.sun.syndication.* maven-javadoc-plugin:AbstractJavadocMojo Javadoc: com.sun.tools.javadoc.*, com.sun.tools.doclets.*, com.sun.tools.doclets.ToDoTaglet maven-javadoc-plugin:JavadocUtil Javadoc: com.sun.tools.doclets.Taglet, maven-ant-plugin:AntBuildWriterUtilorg.w3c.* maven-site-plugin:WebXmlTest org.w3c.* maven-pdm-plugin:CpdReportTest org.w3c.* On 11/16/15, Tibor Digana wrote: @Arno What it means for you to "how it will break maven". Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not it? On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < ml-node+s40175n5851980...@n5.nabble.com> wrote: Hi all, This week I was at Devoxx conférence where there were various talks about the incoming JDK 9 and the new Java Modules. If this is a subject that you are interested in and want to know more (and especially how it will break maven) I recommend you to watch the recording of the following sessions Keynote by Mark Reinhold https://www.youtube.com/watch?v=l1s7R85GF1A Introduction to Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=qr4O4SbzihQ Prepare for JDK 9! by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=KZfbRuvv5qc Modular Development with JDK 9 by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=V6ycn1-QQV0 Advanced Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=SU1WFX8yeKM Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=UKC0uC7QUkI Ask the JDK Architects https://www.youtube.com/watch?v=7vvx505mu3s Form now all Devoxx sessions are freely available on Youtube at D+1 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg As Jason is in the expert group I imagine that he already started to think about how to adapt maven to be able to easily consume/produce classical jar files and J9+ Java Modules. Cheers, -- - Arnaud Héritier http://aheritier.net Mail/GTalk: aheritier AT gmail DOT com Twitter/Skype : aheritier -- If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html To start a new topic under Maven Developers, email ml-node+s40175n142166...@n5.nabble.com To unsubscribe from Maven Developers, click here <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==> . NAML <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Java 9 - Java Modules aka Jigsaw
Hi, The maven-jdeps-plugin uses this class with the integration-tests and to verify these kind of violations. The plugin has a parameter called failOnWarning to break the build when using a JDK Internal API. So it is intended and can be considered as false positive. Robert Op Mon, 16 Nov 2015 18:41:14 +0100 schreef Paul Benedict : Sorry for a third email But it totally slipped my mind that Java 8 now includes a Base64 equivalent: https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html Cheers, Paul On Mon, Nov 16, 2015 at 11:39 AM, Paul Benedict wrote: Typo. I meant Commons Codec. Cheers, Paul On Mon, Nov 16, 2015 at 11:38 AM, Paul Benedict wrote: But Commons Code has a Base64 equivalent. Why rely on the Sun version when you can use Apache's? Cheers, Paul On Mon, Nov 16, 2015 at 11:37 AM, Gary Gregory wrote: Java 8 has a java.util.Base64 class so that one is easy. Gary On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana wrote: > Our plugins are dependent on internal Sun JDK packages. > This is the list of plugins:Java classes and JDK classes. > Whatever critical or non-critical, the JDK dependency appears. > > maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder > maven-changes-plugin:ProjectJavamailMailSender > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? > maven-changes-plugin:FeedGenerator com.sun.syndication.* > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, > com.sun.tools.doclets.ToDoTaglet > maven-javadoc-plugin:JavadocUtil Javadoc: > com.sun.tools.doclets.Taglet, > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* > maven-site-plugin:WebXmlTest org.w3c.* > maven-pdm-plugin:CpdReportTest org.w3c.* > > > On 11/16/15, Tibor Digana wrote: > > @Arno What it means for you to "how it will break maven". > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not > > it? > > > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < > > ml-node+s40175n5851980...@n5.nabble.com> wrote: > > > >> Hi all, > >> > >> This week I was at Devoxx conférence where there were various talks > >> about > >> the incoming JDK 9 and the new Java Modules. If this is a subject that > >> you > >> are interested in and want to know more (and especially how it will > break > >> maven) I recommend you to watch the recording of the following sessions > >> > >> Keynote by Mark Reinhold > >> https://www.youtube.com/watch?v=l1s7R85GF1A > >> > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=qr4O4SbzihQ > >> > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=KZfbRuvv5qc > >> > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 > >> > >> Advanced Modular Development by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=SU1WFX8yeKM > >> > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=UKC0uC7QUkI > >> > >> Ask the JDK Architects > >> https://www.youtube.com/watch?v=7vvx505mu3s > >> > >> Form now all Devoxx sessions are freely available on Youtube at D+1 > >> > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg > >> > >> As Jason is in the expert group I imagine that he already started to > >> think > >> about how to adapt maven to be able to easily consume/produce classical > >> jar > >> files and J9+ Java Modules. > >> > >> Cheers, > >> > >> -- > >> - > >> Arnaud Héritier > >> http://aheritier.net > >> Mail/GTalk: aheritier AT gmail DOT com > >> Twitter/Skype : aheritier > >> > >> > >> -- > >> If you reply to this email, your message will be added to the discussion > >> below: > >> > >> > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html > >> To start a new topic under Maven Developers, email > >> ml-node+s40175n142166...@n5.nabble.com > >> To unsubscribe from Maven Developers, click here > >> < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjE
Re: Java 9 - Java Modules aka Jigsaw
Sorry for a third email But it totally slipped my mind that Java 8 now includes a Base64 equivalent: https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html Cheers, Paul On Mon, Nov 16, 2015 at 11:39 AM, Paul Benedict wrote: > Typo. I meant Commons Codec. > > > Cheers, > Paul > > On Mon, Nov 16, 2015 at 11:38 AM, Paul Benedict > wrote: > >> But Commons Code has a Base64 equivalent. Why rely on the Sun version >> when you can use Apache's? >> >> >> Cheers, >> Paul >> >> On Mon, Nov 16, 2015 at 11:37 AM, Gary Gregory >> wrote: >> >>> Java 8 has a java.util.Base64 class so that one is easy. >>> >>> Gary >>> >>> On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana >>> wrote: >>> >>> > Our plugins are dependent on internal Sun JDK packages. >>> > This is the list of plugins:Java classes and JDK classes. >>> > Whatever critical or non-critical, the JDK dependency appears. >>> > >>> > maven-jdeps-plugin:Base64Codec >>> sun.misc.BASE64Decoder >>> > maven-changes-plugin:ProjectJavamailMailSender >>> > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? >>> > maven-changes-plugin:FeedGenerator >>> com.sun.syndication.* >>> > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: >>> > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, >>> > com.sun.tools.doclets.ToDoTaglet >>> > maven-javadoc-plugin:JavadocUtil Javadoc: >>> > com.sun.tools.doclets.Taglet, >>> > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* >>> > maven-site-plugin:WebXmlTest org.w3c.* >>> > maven-pdm-plugin:CpdReportTest org.w3c.* >>> > >>> > >>> > On 11/16/15, Tibor Digana wrote: >>> > > @Arno What it means for you to "how it will break maven". >>> > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is >>> not >>> > > it? >>> > > >>> > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < >>> > > ml-node+s40175n5851980...@n5.nabble.com> wrote: >>> > > >>> > >> Hi all, >>> > >> >>> > >> This week I was at Devoxx conférence where there were various >>> talks >>> > >> about >>> > >> the incoming JDK 9 and the new Java Modules. If this is a subject >>> that >>> > >> you >>> > >> are interested in and want to know more (and especially how it will >>> > break >>> > >> maven) I recommend you to watch the recording of the following >>> sessions >>> > >> >>> > >> Keynote by Mark Reinhold >>> > >> https://www.youtube.com/watch?v=l1s7R85GF1A >>> > >> >>> > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman >>> > >> https://www.youtube.com/watch?v=qr4O4SbzihQ >>> > >> >>> > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >>> > >> https://www.youtube.com/watch?v=KZfbRuvv5qc >>> > >> >>> > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >>> > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 >>> > >> >>> > >> Advanced Modular Development by Mark Reinhold/Alan Bateman >>> > >> https://www.youtube.com/watch?v=SU1WFX8yeKM >>> > >> >>> > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >>> > >> https://www.youtube.com/watch?v=UKC0uC7QUkI >>> > >> >>> > >> Ask the JDK Architects >>> > >> https://www.youtube.com/watch?v=7vvx505mu3s >>> > >> >>> > >> Form now all Devoxx sessions are freely available on Youtube at D+1 >>> > >> >>> > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >>> > >> >>> > >> As Jason is in the expert group I imagine that he already started to >>> > >> think >>> > >> about how to adapt maven to be able to easily consume/produce >>> classical >>> > >> jar >>> > >> files and J9+ Java Modules. >>> > >> >>> > >> Cheers, >>> > >> >
Re: Java 9 - Java Modules aka Jigsaw
Typo. I meant Commons Codec. Cheers, Paul On Mon, Nov 16, 2015 at 11:38 AM, Paul Benedict wrote: > But Commons Code has a Base64 equivalent. Why rely on the Sun version when > you can use Apache's? > > > Cheers, > Paul > > On Mon, Nov 16, 2015 at 11:37 AM, Gary Gregory > wrote: > >> Java 8 has a java.util.Base64 class so that one is easy. >> >> Gary >> >> On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana >> wrote: >> >> > Our plugins are dependent on internal Sun JDK packages. >> > This is the list of plugins:Java classes and JDK classes. >> > Whatever critical or non-critical, the JDK dependency appears. >> > >> > maven-jdeps-plugin:Base64Codec >> sun.misc.BASE64Decoder >> > maven-changes-plugin:ProjectJavamailMailSender >> > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? >> > maven-changes-plugin:FeedGenerator com.sun.syndication.* >> > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: >> > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, >> > com.sun.tools.doclets.ToDoTaglet >> > maven-javadoc-plugin:JavadocUtil Javadoc: >> > com.sun.tools.doclets.Taglet, >> > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* >> > maven-site-plugin:WebXmlTest org.w3c.* >> > maven-pdm-plugin:CpdReportTest org.w3c.* >> > >> > >> > On 11/16/15, Tibor Digana wrote: >> > > @Arno What it means for you to "how it will break maven". >> > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is >> not >> > > it? >> > > >> > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < >> > > ml-node+s40175n5851980...@n5.nabble.com> wrote: >> > > >> > >> Hi all, >> > >> >> > >> This week I was at Devoxx conférence where there were various talks >> > >> about >> > >> the incoming JDK 9 and the new Java Modules. If this is a subject >> that >> > >> you >> > >> are interested in and want to know more (and especially how it will >> > break >> > >> maven) I recommend you to watch the recording of the following >> sessions >> > >> >> > >> Keynote by Mark Reinhold >> > >> https://www.youtube.com/watch?v=l1s7R85GF1A >> > >> >> > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman >> > >> https://www.youtube.com/watch?v=qr4O4SbzihQ >> > >> >> > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >> > >> https://www.youtube.com/watch?v=KZfbRuvv5qc >> > >> >> > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >> > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 >> > >> >> > >> Advanced Modular Development by Mark Reinhold/Alan Bateman >> > >> https://www.youtube.com/watch?v=SU1WFX8yeKM >> > >> >> > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >> > >> https://www.youtube.com/watch?v=UKC0uC7QUkI >> > >> >> > >> Ask the JDK Architects >> > >> https://www.youtube.com/watch?v=7vvx505mu3s >> > >> >> > >> Form now all Devoxx sessions are freely available on Youtube at D+1 >> > >> >> > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >> > >> >> > >> As Jason is in the expert group I imagine that he already started to >> > >> think >> > >> about how to adapt maven to be able to easily consume/produce >> classical >> > >> jar >> > >> files and J9+ Java Modules. >> > >> >> > >> Cheers, >> > >> >> > >> -- >> > >> - >> > >> Arnaud Héritier >> > >> http://aheritier.net >> > >> Mail/GTalk: aheritier AT gmail DOT com >> > >> Twitter/Skype : aheritier >> > >> >> > >> >> > >> -------------- >> > >> If you reply to this email, your message will be added to the >> discussion >> > >> below: >> > >> >> > >> >> > >> http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html >> > >> To start a n
Re: Java 9 - Java Modules aka Jigsaw
But Commons Code has a Base64 equivalent. Why rely on the Sun version when you can use Apache's? Cheers, Paul On Mon, Nov 16, 2015 at 11:37 AM, Gary Gregory wrote: > Java 8 has a java.util.Base64 class so that one is easy. > > Gary > > On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana > wrote: > > > Our plugins are dependent on internal Sun JDK packages. > > This is the list of plugins:Java classes and JDK classes. > > Whatever critical or non-critical, the JDK dependency appears. > > > > maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder > > maven-changes-plugin:ProjectJavamailMailSender > > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? > > maven-changes-plugin:FeedGenerator com.sun.syndication.* > > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: > > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, > > com.sun.tools.doclets.ToDoTaglet > > maven-javadoc-plugin:JavadocUtil Javadoc: > > com.sun.tools.doclets.Taglet, > > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* > > maven-site-plugin:WebXmlTest org.w3c.* > > maven-pdm-plugin:CpdReportTest org.w3c.* > > > > > > On 11/16/15, Tibor Digana wrote: > > > @Arno What it means for you to "how it will break maven". > > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is > not > > > it? > > > > > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < > > > ml-node+s40175n5851980...@n5.nabble.com> wrote: > > > > > >> Hi all, > > >> > > >> This week I was at Devoxx conférence where there were various talks > > >> about > > >> the incoming JDK 9 and the new Java Modules. If this is a subject that > > >> you > > >> are interested in and want to know more (and especially how it will > > break > > >> maven) I recommend you to watch the recording of the following > sessions > > >> > > >> Keynote by Mark Reinhold > > >> https://www.youtube.com/watch?v=l1s7R85GF1A > > >> > > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=qr4O4SbzihQ > > >> > > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=KZfbRuvv5qc > > >> > > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 > > >> > > >> Advanced Modular Development by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=SU1WFX8yeKM > > >> > > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman > > >> https://www.youtube.com/watch?v=UKC0uC7QUkI > > >> > > >> Ask the JDK Architects > > >> https://www.youtube.com/watch?v=7vvx505mu3s > > >> > > >> Form now all Devoxx sessions are freely available on Youtube at D+1 > > >> > > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg > > >> > > >> As Jason is in the expert group I imagine that he already started to > > >> think > > >> about how to adapt maven to be able to easily consume/produce > classical > > >> jar > > >> files and J9+ Java Modules. > > >> > > >> Cheers, > > >> > > >> -- > > >> - > > >> Arnaud Héritier > > >> http://aheritier.net > > >> Mail/GTalk: aheritier AT gmail DOT com > > >> Twitter/Skype : aheritier > > >> > > >> > > >> -- > > >> If you reply to this email, your message will be added to the > discussion > > >> below: > > >> > > >> > > > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html > > >> To start a new topic under Maven Developers, email > > >> ml-node+s40175n142166...@n5.nabble.com > > >> To unsubscribe from Maven Developers, click here > > >> < > > > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg== > > > > > >> . > > >> NAML > > >> < > > > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > >> > > > > > > > > > -- > > Cheers > > Tibor > > > > > > > > > > -- > > View this message in context: > > > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980p5852234.html > > Sent from the Maven Developers mailing list archive at Nabble.com. > > > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory >
Re: Java 9 - Java Modules aka Jigsaw
Java 8 has a java.util.Base64 class so that one is easy. Gary On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana wrote: > Our plugins are dependent on internal Sun JDK packages. > This is the list of plugins:Java classes and JDK classes. > Whatever critical or non-critical, the JDK dependency appears. > > maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder > maven-changes-plugin:ProjectJavamailMailSender > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? > maven-changes-plugin:FeedGenerator com.sun.syndication.* > maven-javadoc-plugin:AbstractJavadocMojo Javadoc: > com.sun.tools.javadoc.*, com.sun.tools.doclets.*, > com.sun.tools.doclets.ToDoTaglet > maven-javadoc-plugin:JavadocUtil Javadoc: > com.sun.tools.doclets.Taglet, > maven-ant-plugin:AntBuildWriterUtilorg.w3c.* > maven-site-plugin:WebXmlTest org.w3c.* > maven-pdm-plugin:CpdReportTest org.w3c.* > > > On 11/16/15, Tibor Digana wrote: > > @Arno What it means for you to "how it will break maven". > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not > > it? > > > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < > > ml-node+s40175n5851980...@n5.nabble.com> wrote: > > > >> Hi all, > >> > >> This week I was at Devoxx conférence where there were various talks > >> about > >> the incoming JDK 9 and the new Java Modules. If this is a subject that > >> you > >> are interested in and want to know more (and especially how it will > break > >> maven) I recommend you to watch the recording of the following sessions > >> > >> Keynote by Mark Reinhold > >> https://www.youtube.com/watch?v=l1s7R85GF1A > >> > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=qr4O4SbzihQ > >> > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=KZfbRuvv5qc > >> > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=V6ycn1-QQV0 > >> > >> Advanced Modular Development by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=SU1WFX8yeKM > >> > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman > >> https://www.youtube.com/watch?v=UKC0uC7QUkI > >> > >> Ask the JDK Architects > >> https://www.youtube.com/watch?v=7vvx505mu3s > >> > >> Form now all Devoxx sessions are freely available on Youtube at D+1 > >> > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg > >> > >> As Jason is in the expert group I imagine that he already started to > >> think > >> about how to adapt maven to be able to easily consume/produce classical > >> jar > >> files and J9+ Java Modules. > >> > >> Cheers, > >> > >> -- > >> - > >> Arnaud Héritier > >> http://aheritier.net > >> Mail/GTalk: aheritier AT gmail DOT com > >> Twitter/Skype : aheritier > >> > >> > >> -- > >> If you reply to this email, your message will be added to the discussion > >> below: > >> > >> > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html > >> To start a new topic under Maven Developers, email > >> ml-node+s40175n142166...@n5.nabble.com > >> To unsubscribe from Maven Developers, click here > >> < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg== > > > >> . > >> NAML > >> < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > >> > > > > > -- > Cheers > Tibor > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980p5852234.html > Sent from the Maven Developers mailing list archive at Nabble.com. -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
Re: Java 9 - Java Modules aka Jigsaw
Our plugins are dependent on internal Sun JDK packages. This is the list of plugins:Java classes and JDK classes. Whatever critical or non-critical, the JDK dependency appears. maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder maven-changes-plugin:ProjectJavamailMailSender com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory? maven-changes-plugin:FeedGenerator com.sun.syndication.* maven-javadoc-plugin:AbstractJavadocMojo Javadoc: com.sun.tools.javadoc.*, com.sun.tools.doclets.*, com.sun.tools.doclets.ToDoTaglet maven-javadoc-plugin:JavadocUtil Javadoc: com.sun.tools.doclets.Taglet, maven-ant-plugin:AntBuildWriterUtilorg.w3c.* maven-site-plugin:WebXmlTest org.w3c.* maven-pdm-plugin:CpdReportTest org.w3c.* On 11/16/15, Tibor Digana wrote: > @Arno What it means for you to "how it will break maven". > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not > it? > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] < > ml-node+s40175n5851980...@n5.nabble.com> wrote: > >> Hi all, >> >> This week I was at Devoxx conférence where there were various talks >> about >> the incoming JDK 9 and the new Java Modules. If this is a subject that >> you >> are interested in and want to know more (and especially how it will break >> maven) I recommend you to watch the recording of the following sessions >> >> Keynote by Mark Reinhold >> https://www.youtube.com/watch?v=l1s7R85GF1A >> >> Introduction to Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=qr4O4SbzihQ >> >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=KZfbRuvv5qc >> >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=V6ycn1-QQV0 >> >> Advanced Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=SU1WFX8yeKM >> >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=UKC0uC7QUkI >> >> Ask the JDK Architects >> https://www.youtube.com/watch?v=7vvx505mu3s >> >> Form now all Devoxx sessions are freely available on Youtube at D+1 >> >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >> >> As Jason is in the expert group I imagine that he already started to >> think >> about how to adapt maven to be able to easily consume/produce classical >> jar >> files and J9+ Java Modules. >> >> Cheers, >> >> -- >> ----- >> Arnaud Héritier >> http://aheritier.net >> Mail/GTalk: aheritier AT gmail DOT com >> Twitter/Skype : aheritier >> >> >> -- >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html >> To start a new topic under Maven Developers, email >> ml-node+s40175n142166...@n5.nabble.com >> To unsubscribe from Maven Developers, click here >> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==> >> . >> NAML >> <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > -- Cheers Tibor -- View this message in context: http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980p5852234.html Sent from the Maven Developers mailing list archive at Nabble.com.
Java 9 - Java Modules aka Jigsaw
Hi all, This week I was at Devoxx conférence where there were various talks about the incoming JDK 9 and the new Java Modules. If this is a subject that you are interested in and want to know more (and especially how it will break maven) I recommend you to watch the recording of the following sessions Keynote by Mark Reinhold https://www.youtube.com/watch?v=l1s7R85GF1A Introduction to Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=qr4O4SbzihQ Prepare for JDK 9! by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=KZfbRuvv5qc Modular Development with JDK 9 by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=V6ycn1-QQV0 Advanced Modular Development by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=SU1WFX8yeKM Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman https://www.youtube.com/watch?v=UKC0uC7QUkI Ask the JDK Architects https://www.youtube.com/watch?v=7vvx505mu3s Form now all Devoxx sessions are freely available on Youtube at D+1 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg As Jason is in the expert group I imagine that he already started to think about how to adapt maven to be able to easily consume/produce classical jar files and J9+ Java Modules. Cheers, -- - Arnaud Héritier http://aheritier.net Mail/GTalk: aheritier AT gmail DOT com Twitter/Skype : aheritier