Copying files from my project in Maven

后端 未结 3 1804
走了就别回头了
走了就别回头了 2020-12-09 16:31

Is it possible to copy folders from my project to a certain location during some Maven phase? Does anybody know how?

3条回答
  •  一整个雨季
    2020-12-09 16:56

    A solution similar to @mort's one with maven-antrun-plugin 1.8:

    
      maven-antrun-plugin
      1.8
      
        
          copy
          compile
          
            
              
            
          
          
            run
          
         
      
    
    

    Note that node is deprecated in favor of node as of maven-antrun-plugin 1.5.

提交回复
热议问题