maven antrun ssh or scp hides the output

后端 未结 2 875
青春惊慌失措
青春惊慌失措 2021-01-16 16:52

I want to run an ssh & scp commands using antrun in mvn.
the ssh & scp commands runs correctly, and the plugins that declared inthe next phases - run. but the ou

2条回答
  •  庸人自扰
    2021-01-16 17:45

    Give it a try with newer versions of JSCH dependencies (1.8.4 for ant-jsch and 0.1.53 for jsch, each with different group ids). It fixed the problem on my side:

    
        org.apache.maven.plugins
        maven-antrun-plugin
        
            
                server-copy
                
                    run
                
                process-sources
                
                    
                        
                         
                        
                    
                
            
        
        
            
                org.apache.ant
                ant-jsch
                1.8.4
            
            
                com.jcraft
                jsch
                0.1.53
            
        
    
    

提交回复
热议问题