Is Maven ready for JDK9?

后端 未结 6 1108
梦谈多话
梦谈多话 2020-11-27 16:58

Today I tried the latest jdk9 Build 113 and tried to compile my project with the latest Maven 3.3.9

These are the commands (found partially via twitter)



        
6条回答
  •  无人及你
    2020-11-27 17:20

    Update: should work without this workaround now.

    The problem is already fixed from the plexus archiver team, but not yet released - thanks to Michael-O for pointing me to the right place :) !

    Now there is a workaround posted from ctomc in PR 12 to use an old plexus archiver version 2.4.4.:

    
        org.apache.maven.plugins
        maven-assembly-plugin
        2.4.1                    
        
            
                org.codehaus.plexus
                plexus-archiver
                2.4.4
            
        
    
    
        org.apache.maven.plugins
        maven-jar-plugin
        2.6
        
            
                org.codehaus.plexus
                plexus-archiver
                2.4.4
            
        
    
    

提交回复
热议问题