I'm using Spring ROO and AspectJ to add ITCs to my @RooEntity classes. I'm using JPA.
I was previously using the apt-maven-plugin to generate the Q classes, but now that I've added AspectJ ITDs to my classes, it no longer seems to work (ie: nothing is generated).
I changed the plugin to use the querydsl-maven-plugin with goal jpa-export, but that too does nothing.
Is there a way to get this to work with both ROO and my own AspectJ ITDs?
Original config that no longer worked after adding my own ITDs:
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/java</outputDirectory>
For @RooEntity annotated classes
<processor>com.mysema.query.apt.roo.RooAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
</plugin>
This was changed to:
<plugin>
<groupId>com.mysema.querydsl</groupId>
<artifactId>querydsl-maven-plugin</artifactId>
<version>${querydsl.version}</version>
<executions>
<execution>
<goals>
<goal>jpa-export</goal>
</goals>
<configuration>
<processor>com.mysema.query.apt.roo.RooAnnotationProcessor</processor>
<targetFolder>target/generated-sources/java</targetFolder>
<packages>
<package>com.ia.domain</package>
</packages>
</configuration>
</execution>
</executions>
</plugin>
But still does not work. I am using QDSL 3.3.0
Am I missing something or doing something wrong?
Thanks,
Eric