jetty-maven-plugin 7.x, when used in integration testing, dynamically finds available port, in runtime. How can I save the number of the port found and use it in Java integration tests? Maybe jetty-maven-plugin can save it into a system variable?
jetty-maven-plugin 7.x , when used in integration testing, dynamically finds available port, in runtime.
Share
This is how it works:
Then
${jetty.port}can be used for jetty plugin.