dreamworker

Untitled

Apr 22nd, 2020
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.38 KB | None | 0 0
  1.     <build>
  2.         <plugins>
  3.             <plugin>
  4.                 <groupId>org.apache.maven.plugins</groupId>
  5.                 <artifactId>maven-compiler-plugin</artifactId>
  6.                 <version>3.5.1</version>
  7.                 <configuration>
  8.                     <source>1.8</source>
  9.                     <target>1.8</target>
  10.  
  11.                     <!--Если не указать зависимости (mapstruct и projectlombok) в annotationProcessorPaths-->
  12.                     <!--То не будет компилироваться-->
  13.                     <!--К lombok в Intellij Idea надо дополнительно ставить плагин -->
  14.  
  15.                     <annotationProcessorPaths>
  16.                         <path>
  17.                             <groupId>org.mapstruct</groupId>
  18.                             <artifactId>mapstruct-processor</artifactId>
  19.                             <version>${org.mapstruct.version}</version>
  20.                         </path>
  21.  
  22.                         <path>
  23.                             <groupId>org.projectlombok</groupId>
  24.                             <artifactId>lombok</artifactId>
  25.                             <version>${org.projectlombok.version}</version>
  26.                         </path>
  27.  
  28.                     </annotationProcessorPaths>
  29.                 </configuration>
  30.             </plugin>
  31.         </plugins>
  32.     </build>
Advertisement
Add Comment
Please, Sign In to add comment