DATAREST-756 - Fix Querydsl test class generation.

We now configure a proper output directory for Querydsl generated test classes. Previously we used the folder that's automatically picked up by the main compilation step which breaks subsequent compile runs if they're not run with a previous clean.
This commit is contained in:
Oliver Gierke
2016-01-29 19:16:51 +01:00
parent 46df1279bf
commit 16306f6826

View File

@@ -332,12 +332,13 @@
</dependencies>
<executions>
<execution>
<id>test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>test-process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/annotations</outputDirectory>
<outputDirectory>target/generated-test-sources/test-annotations</outputDirectory>
<processor>org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor</processor>
<logOnlyOnError>true</logOnlyOnError>
<options>