Maven and Exec: forking a process?

前端 未结 2 886
忘了有多久
忘了有多久 2020-12-06 16:37

I\'m trying to use Maven to start an application prior to running some integration tests on it. I\'m on Windows. My Maven plugin configuration looks like this:



        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 17:34

    For the record, a rather hackish solution is to use maven-antrun-plugin to call Ant, which is capable of spawning separate processes:

    
        maven-antrun-plugin
        1.6
        
            
                pre-integration-test
                
                    
                        
                            
                            
                        
                    
                
                
                    run
                
           
       
    
    

提交回复
热议问题