[ 
https://issues.apache.org/jira/browse/MNG-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431038#comment-16431038
 ] 

Robert Scholte commented on MNG-6390:
-------------------------------------

The Maven version doesn't matter (it should be at least 3.0+), most important 
is the 
[maven-compiler-plugin|https://maven.apache.org/plugins/maven-compiler-plugin/],
 which should be 3.7.0 and which _you_ define in _your_ {{pom.xml}}. There's 
one example available related to the module descriptor, 
https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html
Making a project modular should be straight forward for existing Maven 
projects, just give a link to your project and let's see what's going on. If 
you want to enhance our documentation, please do so.

> Java9 Jigsaw ==> How to put Java library Jar files in Jigsaw "module-path"?
> ---------------------------------------------------------------------------
>
>                 Key: MNG-6390
>                 URL: https://issues.apache.org/jira/browse/MNG-6390
>             Project: Maven
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.5.3
>            Reporter: Colbert Philippe
>            Priority: Major
>
> I'm using Eclipse 4.8M4 (latest version at the time) with Maven used with 
> Java9.   I want to use Java9 new module feature (project Jigsaw) in my new 
> application.
> After carefully the documentation and Internet blogs, I can successfully use 
> legacy libraries with Java9.   I do this WITHOUT Maven, using the 
> command-line.   This process is now clear to me.
> However, now I want to do the same with Maven.   That's where things get 
> confusing.   I need a way to put "old style" Java libraries (jar file) in the 
> new Jigsaw concept of "module-path" (actual command-line parameter of javac). 
>   The big question is: How can I put my Java jar libraries in the 
> "module-path"?.    I should be able to do this from Maven.
> If this question is answered, the natural follow-up question is:  How can I 
> do that from Eclipse?
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to