Failed to copy artifact. Failed to install artifact-\target\classes (Access is denied)

Failed to copy artifact. Failed to install artifact-\target\classes (Access is denied)

 

should be put before


    org.codehaus.mojo
    appassembler-maven-plugin
    1.2.1
    
     
      
      new-start-script
      prepare-package
      
       
      

      
       assemble
      

     

    

   

先生产jar文件,再产生script,好像assembler需要先将jar装到本地仓库

The Application Assembler Plugin is a Maven plugin for generating scripts for starting java applications. All dependencies and the artifact of the project itself are placed in a generated Maven repository in a defined assemble directory. All artifacts (dependencies + the artifact from the project) are added to the classpath in the generated bin scripts.

 

你可能感兴趣的:(Maven)