Skip to content

Q files not generated in latest version #935

@anupx73

Description

@anupx73

Thank you for providing a forked version of querydsl which is being maintained.

  • I am willing to put in the work and submit a PR to resolve this issue.

Brief
Fails to generate the Q Classes while using latest version of OpenFeign/querydsl. Tested on complex production grade and test application projects built using Java 17, Maven and Springboot.

Version impacted
Likely all v6.x including latest v6.10.1. Working with v5.6.1.

Details
Pom file looks like following

<properties>
  <io.github.openfeign.querydsl.version>6.10.1</io.github.openfeign.querydsl.version>
</properties>

<dependencies>
  <dependency>
    <groupId>io.github.openfeign.querydsl</groupId>
    <artifactId>querydsl-jpa</artifactId>
    <version>${io.github.openfeign.querydsl.version}</version>
  </dependency>
  <dependency>
    <groupId>io.github.openfeign.querydsl</groupId>
    <artifactId>querydsl-apt</artifactId>
    <version>${io.github.openfeign.querydsl.version}</version>
  </dependency>
  <dependency>
    <groupId>io.github.openfeign.querydsl</groupId>
    <artifactId>querydsl-core</artifactId>
    <version>${io.github.openfeign.querydsl.version}</version>
  </dependency>
</dependencies>

<plugin>
  <groupId>com.mysema.maven</groupId>
  <artifactId>apt-maven-plugin</artifactId>
  <version>${com.mysema.maven.version}</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>

Reference
#713 was reported earlier but it not was concluded well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions