Using antcontrib task via maven-antrun-plugin

前端 未结 4 1957
半阙折子戏
半阙折子戏 2020-12-03 21:06

My maven java project uses the maven-antrun-plugin to execute a deploy.xml ant script that deploys my app. The deploy.xml uses the task and this seem

4条回答
  •  星月不相逢
    2020-12-03 21:39

    another solution would be: keep the ant-contrib-1.0b3.jar to a path and then define it like this

    
    
        
            
        
    
    

    then

    
        
            
            
                
            
            
                
            
        
    
    

    I put full code example here which you can download https://www.surasint.com/run-ant-with-if-from-maven/

提交回复
热议问题