querydsl / apt-maven-plugin

Maven APT plugin
Apache License 2.0
79 stars 41 forks source link

RooAnnotationProcessor is not working with @RooJpaEntity #18

Closed abgalphabet closed 11 years ago

abgalphabet commented 11 years ago

I am unable to generate Q classes from my @RooJpaEntity annotated classes.

Here is my plugin configuration:

    <plugin>
        <groupId>com.mysema.maven</groupId>
        <artifactId>apt-maven-plugin</artifactId>
        <version>1.0.9</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>
timowest commented 11 years ago

This is a duplicate of this issue https://github.com/mysema/querydsl/issues/382

The latest Querydsl snapshot has the fix applied https://oss.sonatype.org/content/repositories/snapshots/