You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2019/12/11 19:31:00 UTC

[jira] [Closed] (MCOMPILER-406) Problem trying to use old-style JARs along with JIGSAW modules!

     [ https://issues.apache.org/jira/browse/MCOMPILER-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MCOMPILER-406.
------------------------------------
      Assignee: Robert Scholte
    Resolution: Not A Problem

I'm going to close this as it turns out it is actually a JPMS question. The modular system is not that easy to explain, but there are good books and other resources. 
My guess: you need to specify the automatic modulename of that jar to your module descriptor.
Anyway, you have more chance getting the right answer via Stack Overflow.

> Problem trying to use old-style JARs along with JIGSAW modules!
> ---------------------------------------------------------------
>
>                 Key: MCOMPILER-406
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-406
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.1
>            Reporter: Colbert Philippe
>            Assignee: Robert Scholte
>            Priority: Major
>
> I'm a senior programmer in Java.   I've used Maven for over 10 years and also used ANT before that.    I'm currently have major problems working with JIGSAW module system and the problem boils down to your maven-compiler-plugin.
> JIGSAWN designers say that both the old CLASSPATH and the new MODULEPATH concepts can be used at the same time, in the same compilation.   And it makes sense that they be used at the same time.   There is a huge amount of Java libraries out there in Maven Repository that are used throughout previous projects.   These older libraries will go in the CLASSPATH.   Newer modules with go in the MODULEPATH.
> So where it the problem?   Your plugin should also support both CLASSPATH and MODULEPATH simultaneously.   That's the solution!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)