问题

[INFO] 
[INFO] --- maven-assembly-plugin:2.6:single (app) @ api ---
[INFO] Reading assembly descriptor: src/assembly/assembly.xml
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /bin
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /lib
[INFO] Building tar: F:\project\workspace\com\api\target\com-app.tar.gz
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /bin
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /lib
[INFO] Building zip: F:\project\workspace\com\api\target\com-app.zip

 

 

 

 

解决加    ${project.build.directory}/conf

 

 


    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"  
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> 
    package
    
        tar.gz
        zip
    

    
    
        
            true
            lib
        

    

    
        
            target
            ${project.build.directory}/lib
            
                *.jar
            

            
                *sources.jar
           

        

        
            src/main/scripts
            ${project.build.directory}/bin
            775
            
                *.sh
            

        

        
            src/main/resources
            ${project.build.directory}/conf
            
                *.*
            

        

    

你可能感兴趣的:(Spring,boot)