I am doing a MAJOR java version upgrade to java21 and trying to upgrade this project with failsafe integration tests
I am getting the error
Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:3.3.1:integration-test(default)
on project … No tests matching pattern “classname” were executed! (Set
-Dfailsafe.failIfNoSpecifiedTests=false to ignore this error.)
I made this do nothing test to remove anything that could be complicating matters
src/test/java/com/tests/WillItRunIT.java
my test class
package com.tests;
import static org.junit.Assert.assertTrue;
import org.junit.jupiter.api.Test;
public class PushNotificationEsignEventIT {
@Test
public void test_test() throws Exception {
assertTrue(true);
}
}
and my pom setup is
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.3.1</version>
</plugin>