asbachb opened a new issue, #5474:
URL: https://github.com/apache/netbeans/issues/5474
### Apache NetBeans version
Apache NetBeans 17 release candidate
### What happened
When configure maven-surefire-plugin with version 3.0.0 and execute an
Integration test the execution fails:
```
cd /home/asbachb/dev/projects/ommi/backend;
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
/home/asbachb/dev/projects/ommi/backend/mvnw -Dtest=DummyToSkipUnitTests
-DfailIfNoTests=false -Dit.test=cloud.ommi.backend.resources.ResourceStorageIT
--no-transfer-progress pre-integration-test failsafe:integration-test
Scanning for projects...
-------------------------< cloud.ommi:backend >-------------------------
Building backend-1.0.0-SNAPSHOT 1.0.0-SNAPSHOT
from pom.xml
--------------------------------[ war ]---------------------------------
--- resources:3.3.0:resources (default-resources) @ backend ---
Copying 1 resource
--- compiler:3.10.1:compile (default-compile) @ backend ---
Nothing to compile - all classes are up to date
--- resources:3.3.0:testResources (default-testResources) @ backend ---
skip non existing resourceDirectory
/home/asbachb/dev/projects/ommi/backend/src/test/resources
--- compiler:3.10.1:testCompile (default-testCompile) @ backend ---
Nothing to compile - all classes are up to date
--- surefire:3.0.0-M8:test (default-test) @ backend ---
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1.363 s
Finished at: 2023-02-12T00:46:37+01:00
------------------------------------------------------------------------
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8:test (default-test) on
project backend: No tests matching pattern "DummyToSkipUnitTests" were
executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.)
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read
the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
```
### How to reproduce
1) Create a maven project
2) Force to use maven-surefire-plugin with version 3.0.0
```xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M8</version>
</plugin>
</plugins>
</build>
```
3) Create and add an integation test
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 22.04 LTS
### JDK
17
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists