Maven corrupting binary files in src/main/resources when building jar

前端 未结 2 1083
悲哀的现实
悲哀的现实 2020-12-10 17:41

I\'ve got an issue with a maven project where I am distributing dlls from the src/main/resources/lib folder.

The project is built as a single jar with dependencies

2条回答
  •  隐瞒了意图╮
    2020-12-10 18:22

    This part:

                    
                        
                            ${basedir}/src/main/resources/lib
                            false
                        
                    
    

    Should be under under the section like this:

     
          
              
                  
                      ${basedir}/src/main/resources/lib
                      false
                  
              
              
                  ...
              
          
     
    

提交回复
热议问题