Jetty 12.0.x fix cache issue with maven invoker (#10393)

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2023-08-25 09:34:41 +10:00 committed by GitHub
parent 4b28b9156d
commit ff2e36e239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 10 deletions

View File

@ -94,12 +94,5 @@
</plugins>
</reconcile>
</executionControl>
<output>
<exclude>
<patterns>
<pattern>.*\.zip</pattern>
</patterns>
</exclude>
</output>
</cache>

2
Jenkinsfile vendored
View File

@ -125,6 +125,8 @@ def mavenBuild(jdk, cmdline, mvnName) {
finally
{
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml', allowEmptyResults: true
// debug purpose
//sh "cat jetty-ee10/jetty-ee10-maven-plugin/target/it/jetty-start-war-distro-mojo-it/jetty-simple-webapp/target/jetty-start-war.out"
}
}
}

View File

@ -118,8 +118,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.ee9.demos</groupId>
<artifactId>jetty-ee9-demo-jndi-webapp</artifactId>
<groupId>org.eclipse.jetty.ee10.demos</groupId>
<artifactId>jetty-ee10-demo-jndi-webapp</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>

View File

@ -40,6 +40,7 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.parallel.Isolated;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.empty;
@ -47,8 +48,10 @@ import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.is;
@ExtendWith(WorkDirExtension.class)
@Isolated("Access static method of FileSystemPool")
public class MetaInfConfigurationTest
{
@BeforeEach
public void beforeEach()
{

View File

@ -2103,7 +2103,7 @@
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
<goal>javadoc-no-fork</goal>
</goals>
</execution>
</executions>