in src/main/java/com/mysema/maven/apt/AbstractProcessorMojo.java:
protected boolean isForTest() {
return false;
}
Causes entities in a test root to not get processed. If one has unit tests that use entities contained in the src/test/java folder, they do not get processed.
The above should check if we are being ran as tests and return true. The other logic to use the test root is already in place.
nevermind, didnt have right goal in my plugin definition. It is working, just thought it was strange that function was hard coded to always return false.
in src/main/java/com/mysema/maven/apt/AbstractProcessorMojo.java:
protected boolean isForTest() { return false; }
Causes entities in a test root to not get processed. If one has unit tests that use entities contained in the src/test/java folder, they do not get processed.
The above should check if we are being ran as tests and return true. The other logic to use the test root is already in place.