I have this project structure:
/src
/main
/java
/resources
/test
/java
/resources
/it
/java
/resources
test for unit tests and it for integration tests. I'm using…
The latest version of the Build Helper Maven plugin (1.10 at the moment) requires Java 1.7, which broke my build. The plugin documentation page only shows Java version requirement for the latest version.
I tried to attach a source directory generated by jaxb or cxf in using the build-helper-maven plugin. Unfortunately, even though I got a success in the mvn generate-sources, my eclipse didn't add the target directory as a source folder.
…
Our java application has multiple source folders, and use build-helper-maven-plugin to read source files from all the folders,
But here when I run clover on the application it generates the clover.xml with
coveredelements = 0
coveredconditionals = 0…
trying to split my tests in a Maven build into Unit & Integration tests.
I am using the failsafe plugin to run the Integration Tests and attempting to use the build-helper-maven-plugin to add the Integration Tests from the src/it/java directory.
I…
I have a Java (11.0.7) Maven (3.0.6) multi-module project that contains the following module declarations:
jdrum-commonsjdrum-datastore-basejdrum-datastore-simple
…
We have a project and in the pom.xml we did not specify the groupId becuase we inherit it from the parent pom.
If we then run mvn -B build-helper:parse-version versions:set…
I am running my unit tests in my maven build but I am getting the below exception when I run it on GitHub Action and not locally.
I am using maven-surefire-plugin and JUnit5.
Any ideas what is going wrong here ?
2021-11-20T00:11:41.0420543Z [INFO]…
I have an Eclipse Java project for which I am trying to execute the unit tests using Maven.
I have my unit tests as below so that it respects the expected hierarchy
src/test/java/StringUtilsTests.java
However, my unit test references the source…
I have a Java Maven project with the following structure. (This is a logical structure, not necessarily the exact directory structure.)
Project
|-Submodule
| |-src/main/java
| |-src/main/resources
| |-src/test/java
| |-src/test/resources
|…
I'm trying to use the Maven plugin Failsafe to run my integration tests that are in the src/it/java directory. I was using the build-helper plugin to get my integration test resources
I setup my failsafe plugin like...
…