Using antcontrib task via maven-antrun-plugin

前端 未结 4 1963
半阙折子戏
半阙折子戏 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:42

    I found that you need to include the ant-contrib dependency inside the plugin which will enable the taskdef tag to find antcontrib.properties

      
                org.apache.maven.plugins
                maven-antrun-plugin
                
                    
                        ant-contrib
                        ant-contrib
                        20020829
                    
                
                
                    
                        copy-and-rename-template-files
                        prepare-package
                        
                            run
                        
                        
                            
                                
                                
                                    
                                    
                                        
                                            
                                                
                                            
                                        
    
    
                                        
                                            
                                                
                                            
                                            
                                                
                                            
                                        
                                    
    
                                    
                                        src/main/resources/docker/templates does not exist, skipping processing docker templates
                                    
                                
                            
                        
                    
                
            
    

提交回复
热议问题