Maven:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources

后端 未结 10 738
渐次进展
渐次进展 2020-12-05 06:34

I am building my project using Maven. My maven version is apache-maven-3.0.4. I am using Eclipse Luna. When I try to build my project I get the following error

10条回答
  •  渐次进展
    2020-12-05 06:46

    I had this issue too because I was filtering /src/main/resources and forgot I had added a keystore (*.jks) binary to this directory.

    Add a "resource" block with exclusions for binary files and your problem may be resolved.

    
      somename
      
        
          src/test/resources
          false
        
      
      
        
          src/main/resources
          true
          
            *.jks
            *.png
                  
        
      
    ...
    

提交回复
热议问题