Using Maven for deployment

前端 未结 5 1452
小蘑菇
小蘑菇 2020-12-01 10:40

I have this task for the project with 4 nested subprojects using Maven:

  1. For each child: jar-up resource directory including project dependencies
  2. Move
5条回答
  •  有刺的猬
    2020-12-01 11:18

    Does not work without passphrase.

        
            publish
            
                
                    
                        maven-antrun-plugin
                        
                            
                                scp
                                deploy
                                
                                    
                                        
                                            
                                                
                                            
                                        
                                    
                                
                                
                                    run
                                
                            
                        
                        
                            
                                org.apache.ant
                                ant-jsch
                                1.9.4
                            
                        
                    
                
            
        
    

    However, my favourite is

        
            upload-devel
            
                
                    
                        maven-antrun-plugin
                        
                            
                                upload-devel
                                deploy
                                
                                    
                                        
                                            
                                            
                                            
                                        
                                    
                                
                                
                                    run
                                
                            
                        
                    
                
            
        
    

    though I don't know how compatible that is over different platforms.

提交回复
热议问题