Maven antrun: pass maven properties to ant

前端 未结 3 1865
不知归路
不知归路 2021-01-07 23:20

I am trying to pass maven properties (defined through profiles) to a antrun execution:


    

        
3条回答
  •  既然无缘
    2021-01-07 23:47

    On the newer versions of maven you can just use:

    
    

    example:

       
    ....    
           
             ....
        
             maven-antrun-plugin
             
                
                install
                
                    run
                
                
                
                  
    
                  
    
                
            
             
           
        
             ....
          
             ....
       
    

    
    
        ant-contrib
        ant-contrib
        1.0b3
        
            
                ant
                ant
            
        
    
    
        ant
        ant-nodeps
        1.6.5
    
    
    

提交回复
热议问题