Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>com.hellokoding.springboot</groupId>
  8.     <artifactId>springboot-mapstruct</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.  
  11.     <parent>
  12.         <groupId>org.springframework.boot</groupId>
  13.         <artifactId>spring-boot-starter-parent</artifactId>
  14.         <version>2.1.1.RELEASE</version>
  15.     </parent>
  16.  
  17.     <properties>
  18.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19.         <java.version>1.8</java.version>
  20.         <org.mapstruct.version>1.2.0.Final</org.mapstruct.version>
  21.         <org.projectlombok.version>1.18.2</org.projectlombok.version>
  22.         <org.apache.maven.plugins.version>3.6.0</org.apache.maven.plugins.version>
  23.     </properties>
  24.  
  25.     <dependencies>
  26.         <dependency>
  27.             <groupId>org.springframework.boot</groupId>
  28.             <artifactId>spring-boot-starter-web</artifactId>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>org.springframework.boot</groupId>
  32.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  33.         </dependency>
  34.        <dependency>
  35.             <groupId>org.postgresql</groupId>
  36.             <artifactId>postgresql</artifactId>
  37.             <scope>runtime</scope>
  38.         </dependency>
  39.        
  40.         <dependency>
  41.             <groupId>org.projectlombok</groupId>
  42.             <artifactId>lombok</artifactId>
  43.         </dependency>
  44.         <dependency>
  45.             <groupId>org.mapstruct</groupId>
  46.             <artifactId>mapstruct-jdk8</artifactId>
  47.             <version>${org.mapstruct.version}</version>
  48.         </dependency>
  49.     </dependencies>
  50.  
  51.     <build>
  52.         <plugins>
  53.             <plugin>
  54.                 <groupId>org.apache.maven.plugins</groupId>
  55.                 <artifactId>maven-compiler-plugin</artifactId>
  56.                 <configuration>
  57.                     <source>${java.version}</source>
  58.                     <target>${java.version}</target>
  59.                     <annotationProcessorPaths>
  60.                         <path>
  61.                             <groupId>org.projectlombok</groupId>
  62.                             <artifactId>lombok</artifactId>
  63.                             <version>${org.projectlombok.version}</version>
  64.                         </path>
  65.                         <path>
  66.                             <groupId>org.mapstruct</groupId>
  67.                             <artifactId>mapstruct-processor</artifactId>
  68.                             <version>${org.mapstruct.version}</version>
  69.                         </path>
  70.                     </annotationProcessorPaths>
  71.                     <compilerArgs>
  72.                         <arg>-Amapstruct.suppressGeneratorTimestamp=true</arg>
  73.                         <arg>-Amapstruct.defaultComponentModel=spring</arg>
  74.                     </compilerArgs>
  75.                 </configuration>
  76.             </plugin>
  77.  
  78.             <plugin>
  79.                 <groupId>org.springframework.boot</groupId>
  80.                 <artifactId>spring-boot-maven-plugin</artifactId>
  81.             </plugin>
  82.         </plugins>
  83.     </build>
  84. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement