diff options
author | Vitaly Takmazov | 2024-07-01 01:30:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-07-01 01:30:01 +0300 |
commit | 0c00333a7dc86a079182db1578bd0d845cca2b6c (patch) | |
tree | b4be23cd67dbd70f7c4d0f9ad0d1b27031273d89 | |
parent | d69cd3ab7f90a72cd1db32cdd8b67975861cff4b (diff) |
`Mapstruct` configuration
-rw-r--r-- | pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -22,6 +22,7 @@ <commonmark.version>0.22.0</commonmark.version> <jjwt.version>0.12.6</jjwt.version> <rome.version>2.1.0</rome.version> + <org.mapstruct.version>1.5.5.Final</org.mapstruct.version> </properties> <dependencies> <dependency> @@ -51,6 +52,11 @@ <artifactId>hibernate-community-dialects</artifactId> </dependency> <dependency> + <groupId>org.mapstruct</groupId> + <artifactId>mapstruct</artifactId> + <version>${org.mapstruct.version}</version> + </dependency> + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> @@ -313,6 +319,22 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.13.0</version> + <configuration> + <source>17</source> + <target>17</target> + <annotationProcessorPaths> + <path> + <groupId>org.mapstruct</groupId> + <artifactId>mapstruct-processor</artifactId> + <version>${org.mapstruct.version}</version> + </path> + </annotationProcessorPaths> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.3.0</version> |