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

Robert Scholte closed MCOMPILER-464.
------------------------------------
      Assignee: Robert Scholte
    Resolution: Not A Bug

These are javac warnings, nothing the maven-compiler-plugin can do about it.

> Can't extract module name
> -------------------------
>
>                 Key: MCOMPILER-464
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-464
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.1
>         Environment: N/R
>            Reporter: Adrian Herscu
>            Assignee: Robert Scholte
>            Priority: Critical
>
>  While trying to upgrade to JDK 11+ I am getting this :(
> Also opened issue to one of module owners:
> [https://github.com/mrwilson/java-8-matchers/issues/20]
> (will add the rest here)
> Just thinking that the "right" solution would be to allow overriding the 
> module name via the pom.xml – perhaps there is such an option? Maybe 
> something not documented yet?
> {{[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ 
> my-module ---}}
> {{[WARNING] Can't extract module name from json-path-assert-2.5.0.jar: 
> json.path.assert: Invalid module name: 'assert' is not a Java identifier}}
> {{[WARNING] Can't extract module name from xalan-2.7.2.jar: Provider class 
> org.apache.bsf.BSFManager not in module}}
> {{[WARNING] Can't extract module name from java-8-matchers-1.9.jar: 
> java.8.matchers: Invalid module name: '8' is not a Java identifier
> [INFO] Changes detected - recompiling the module!}}
> {{[INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------}}
> {{[ERROR] module not found: org.openqa.selenium.core}}
> {{[ERROR] module not found: httpcore}}
> {{[ERROR] module not found: httpclient}}
> {{[INFO] 3 errors }}



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

Reply via email to