Skip to content

Instantly share code, notes, and snippets.

@Abhi-Codes
Last active September 30, 2022 06:39
Show Gist options
  • Save Abhi-Codes/bee91f05bcda12c8e1484f24ac5f74c0 to your computer and use it in GitHub Desktop.
Save Abhi-Codes/bee91f05bcda12c8e1484f24ac5f74c0 to your computer and use it in GitHub Desktop.
MySQL, QueryDSL dependencies
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Query DSL -->
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
</dependency>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-jpa</artifactId>
</dependency>
<build>
<plugins>
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/java</outputDirectory>
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment