mvn assembly:single打包报错:Error reading assemblies: No assembly descriptors found.

原来的pom.xml里的plugin是这么写的:


  maven-assembly-plugin
  
    
      make-zip
      package
      
        single
      
      
        
          assemble/package.xml
        
      
     
  


 
  
 只需把描述文件配置中的configuration移到plugin下即可: 
  


  maven-assembly-plugin
  
        
          assemble/package.xml
        
  
  
    
      make-zip
      package
      
        single
      
     
  


 
  
 
  

你可能感兴趣的:(服务端开发)