Unpack inner zips in zip with Maven

前端 未结 4 1216
广开言路
广开言路 2020-11-30 04:59

I can unpack zip file via the maven-dependency plugin, but currently I have the problem that inside that zip file other zip files are include and I need to unpack them as we

4条回答
  •  死守一世寂寞
    2020-11-30 04:59

    TrueZIP Maven Plugin also works well. Sample config:

    
        org.codehaus.mojo
        truezip-maven-plugin
        1.2
        
            
                copy-package
                
                    copy
                
                package
                
                    true
                    
                        outer.zip
                        ${project.build.directory}/outer
                    
                    
                        ${project.build.directory}/outer/inner.zip
                        ${project.build.directory}/inner
                    
                
            
        
    
    

    Official examples

提交回复
热议问题