我无法从我的@RooJpaEntity
带注释的类中生成Q类。
这是我的插件配置:
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.0.8</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>src/main/java</outputDirectory>
<processor>com.mysema.query.apt.roo.RooAnnotationProcessor</processor>
<options>
<querydsl.packageSuffix>.querydsl</querydsl.packageSuffix>
</options>
</configuration>
</execution>
</executions>
</plugin>
以下是我从mvn -X generate-sources
获得的内容:
[DEBUG] Configuring mojo 'com.mysema.maven:apt-maven-plugin:1.0.8:process' with basic configurator -->
[DEBUG] (s) options = {querydsl.packageSuffix=.querydsl}
[DEBUG] (s) outputDirectory = /home/julien/Documents/donnees/projets/site-garde-enfants/java/bignibou/src/main/java
[DEBUG] (s) pluginArtifacts = [com.mysema.maven:apt-maven-plugin:maven-plugin:1.0.8:, org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile, org.codehaus.plexus:plexus-utils:jar:1.5.8:compile, backport-util-concurrent:backport-util-concurrent:jar:3.1:compile, org.codehaus.plexus:plexus-interpolation:jar:1.11:compile, junit:junit:jar:3.8.1:compile]
[DEBUG] (s) processor = com.mysema.query.apt.roo.RooAnnotationProcessor
[DEBUG] (s) project = MavenProject: com.bignibou:bignibou:0.1.0.BUILD-SNAPSHOT @ /home/julien/Documents/donnees/projets/site-garde-enfants/java/bignibou/pom.xml
[DEBUG] (s) sourceEncoding = UTF-8
[DEBUG] -- end configuration --
[DEBUG] Using build context: org.sonatype.plexus.build.incremental.DefaultBuildContext@383035a1
[DEBUG] There is no sources to generatate querydsl classes from (skipping)
有人可以帮忙吗?