maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colbert Philippe (JIRA)" <>
Subject [jira] [Commented] (MNG-6390) Java9 Jigsaw ==> How to put Java library Jar files in Jigsaw "module-path"?
Date Mon, 09 Apr 2018 22:31:00 GMT


Colbert Philippe commented on MNG-6390:

Hello Robert!   I got Maven with maven-compiler-plugin 3.7.0 to work as I want.   I can
use external jar libraries, which is what everybody wants.  Furthermore, I got it to work
inside Eclipse 4.8M4 an pre-release version.   Now I am clear about what to do.

The maven-compiler-plugin 3.7.0 should ship with the latest Eclipse to avoid waste of time
and confusion.   I does not!   It's a bad reflection on Maven as a tool.   You should
push to have them use that latest version.

The document should simply mention that the Classpath inside Eclipse should have paths to
.class files (created in the project) and the module-path should have math to module and pathes
to old-style jar files.

> Java9 Jigsaw ==> How to put Java library Jar files in Jigsaw "module-path"?
> ---------------------------------------------------------------------------
>                 Key: MNG-6390
>                 URL:
>             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

View raw message