fix it maven plugin
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
e589db21c2
commit
bd9ca70c51
|
@ -103,6 +103,7 @@
|
|||
<jettyStopKey>${jetty.stopKey}</jettyStopKey>
|
||||
<jettyStopPort>${jetty.stopPort}</jettyStopPort>
|
||||
<maven.surefire.version>${maven.surefire.version}</maven.surefire.version>
|
||||
<servletApiVersion>${servlet.api.version}</servletApiVersion>
|
||||
</scriptVariables>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
|
|
|
@ -21,7 +21,7 @@ assert buildLog.text.contains( 'Started Server' )
|
|||
|
||||
assert buildLog.text.contains( '(1a) >> jakarta.servlet.ServletContextListener loaded from jar:' )
|
||||
|
||||
assert buildLog.text.contains( '/org/eclipse/jetty/toolchain/jetty-jakarta-servlet-api/4.0.3/jetty-jakarta-servlet-api-4.0.3.jar!/jakarta/servlet/ServletContextListener.class << (1b)' )
|
||||
assert buildLog.text.contains( '/org/eclipse/jetty/toolchain/jetty-jakarta-servlet-api/'+servletApiVersion+'/jetty-jakarta-servlet-api-'+servletApiVersion+'.jar!/jakarta/servlet/ServletContextListener.class << (1b)' )
|
||||
|
||||
assert buildLog.text.contains( '(2a) >> mca.common.CommonService loaded from file:' )
|
||||
assert buildLog.text.contains( 'common/target/classes/mca/common/CommonService.class << (2b)' )
|
||||
|
|
|
@ -14,6 +14,12 @@
|
|||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-servlet</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty.toolchain</groupId>
|
||||
<artifactId>jetty-jakarta-servlet-api</artifactId>
|
||||
<version>@servlet.api.version@</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>test.jetty-start-mojo-multi-module-single-war-it</groupId>
|
||||
<artifactId>module-impl</artifactId>
|
||||
|
|
Loading…
Reference in New Issue