Skip to content

Instantly share code, notes, and snippets.

@nelreina
Created May 11, 2019 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelreina/71726c91f0e7ef2dcf47aac021d97e22 to your computer and use it in GitHub Desktop.
Save nelreina/71726c91f0e7ef2dcf47aac021d97e22 to your computer and use it in GitHub Desktop.
...<properties> <org.mapstruct.version>1.3.0.Final</org.mapstruct.version></properties>...<dependencies> <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> <version>${org.mapstruct.version}</version> </dependency></dependencies>...<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <!-- or newer version --> <configuration> <source>1.8</source> <!-- depending on your project --> <target>1.8</target> <!-- depending on your project --> <annotationProcessorPaths> <path> <groupId>org.mapstruct</groupId> <artifactId>mapstruct-processor</artifactId> <version>${org.mapstruct.version}</version> </path> <!-- other annotation processors --> </annotationProcessorPaths> </configuration> </plugin> </plugins></build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment