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

Luis Panadero Guardeño commented on MCOMPILER-450:
--------------------------------------------------

Sorry, for the delay. I'm don't yet crated the minimal case to reproduce it, 
but I noticed that only triggers when project have 3 levels.

ie, when you have a father pom project, that have a two or more pom type 
subprojects, and this subprojects have jar and/or war subprojects:

 

rootProject
 * subproject1
 ** lib1 -> jar
 ** weblib1 -> jar that depends on subproject1.lib
 ** web1 -> war that depends on subproject1.weblib
 * subproject2
 ** lib2 -> jar
 ** weblib2 -> jar that depends on subproject2.lib
 ** web2 -> war that depends on subproject2.weblib

> Internal compiler error: java.nio.file.ClosedFileSystemException
> ----------------------------------------------------------------
>
>                 Key: MCOMPILER-450
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-450
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.1
>            Reporter: Luis Panadero Guardeño
>            Priority: Major
>
> Trying to launch maven with -T 4  and with Java 11.0.9.1, I get this error :
> {code:java}
> ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project digiweb: Compilati
> on failure: Compilation failure:                                              
>                                                               
> [ERROR] 
> /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.java:
>   
> [ERROR] 13. ERROR in 
> /home/luis/repos/work/java/librerias/framework_rwd/digiweb/src/main/java/com/digibis/commons/web/doc/WebDocHandler.jav
> a (at line 0)
> [ERROR]         /*
> [ERROR]         ^
> [ERROR] Internal compiler error: java.nio.file.ClosedFileSystemException at 
> jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.
> java:1146)
> [ERROR] Found 1 error and 28 warnings.
> [ERROR] -> [Help 1]
> [ERROR]  
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]  
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]  
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :digiweb
> {code}
> This error, hapens with Java 11 and Java 14, when I enalbe to use multiple 
> threads. With Java 8 or with Java 11/14 on single thread mode don't throws 
> this error.
>  
> Looks, that could be related to this error of Eclipse : 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=539536
>  
>  



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

Reply via email to