Skip to content

Documentation: one dependency more required in Maven for mapStruct to work #3930

Description

@euasier

Hi,

Based on the documentarion the following should be enough to make mapstruct work:

...

<org.mapstruct.version>1.6.3</org.mapstruct.version>

...


org.mapstruct
mapstruct
${org.mapstruct.version}


...



org.apache.maven.plugins
maven-compiler-plugin
3.8.1

1.8
1.8


org.mapstruct
mapstruct-processor
${org.mapstruct.version}





I was unable to generate any mapper with this configuration, and I had to add:

    <dependency>
        <groupId>org.mapstruct</groupId>
        <artifactId>mapstruct-processor</artifactId>
        <version>${org.mapstruct.version}</version>
    </dependency>

This happened with Eclipse IDE eclipse-jee-2024-12-R-win32-x86_64 as well as eclipse-jee-2025-06-R-win32-x86_64

Thanks
Asier

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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