Maven rename a file after everything else finishes

后端 未结 3 1143
花落未央
花落未央 2021-01-04 03:24

I have a project which I need to rename the final output file generated by the Maven Assembly Plugin after everything else finishes (in the compiling/building/a

3条回答
  •  孤街浪徒
    2021-01-04 04:15

    A few modifications made it work, probably the phase was wrong, but using install seems to make it work:

    
                org.apache.maven.plugins
                maven-antrun-plugin
                1.7
                
                    
                        install
    
                        
                            
                                
                            
                        
                        
                            run
                        
                    
                
            
    

提交回复
热议问题