querydsl / apt-maven-plugin

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

Skip configuration for querydsl-maven-plugin #48

Closed natros closed 8 years ago

natros commented 8 years ago

I'm using querydsl-maven-plugin and jetty-maven-plugin in my development environment. All files are generated into target/generated-sources/java. Some times I have to restart the jetty-maven-plugin but I don't want to wait for querydsl-maven-plugin to complete because it takes time to process (I'm using several schemas). Some plugins have the option. That would allow me to modify the value through a profile.

<groupId>com.querydsl</groupId>
<artifactId>querydsl-maven-plugin</artifactId>
<version>${querydsl.version}</version>
<configuration>
  <skip>${querydsl.skip}</skip>
</configuration>
....
 <profiles>
        <profile>
            <id>skip-querydsl-gen</id>
            <properties>
                <querydsl.skip>true</querydsl.skip>
            </properties>

Thank you!

natros commented 8 years ago

Wrong project. Sorry.