Maven and Exec: forking a process?

前端 未结 2 875
忘了有多久
忘了有多久 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条回答
  •  一生所求
    2020-12-06 17:29

    Try this:

    
        org.codehaus.mojo
        exec-maven-plugin
        1.1
        
            
                start-my-application
                pre-integration-test
                
                    exec
                
                
                    call
                    
                        start_application.bat
                    
                    ./path/to/application
                
            
        
    
    

提交回复
热议问题