Skip to content

Known issue: Mapstruct won't generate the Impl #54

@nirodg

Description

@nirodg

At an early stage MapStruct would generate the implementation for our generated mapper classes. At the moment this is not happening, is not a critical error however must be fixed.

The goal, to add our dependency only once, in the section, that's all.

Temporary fix:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.13.0</version>
        <configuration>
          <source>21</source>
          <target>21</target>
          <annotationProcessorPaths>
            <path>
              <groupId>com.eorghe</groupId>
              <artifactId>hyperapi</artifactId>
              <version>${hyperapi.version}</version>
            </path>
            <path>
              <groupId>org.mapstruct</groupId>
              <artifactId>mapstruct-processor</artifactId>
              <version>1.6.3</version>
            </path>
          </annotationProcessorPaths>
        </configuration>
      </plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions