Created
September 15, 2022 10:30
-
-
Save ducanh2110/246f783c71a3660aa60b5af4be068d80 to your computer and use it in GitHub Desktop.
Pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>vn.com.vndirect.pms</groupId> | |
<artifactId>pms-api</artifactId> | |
<packaging>jar</packaging> | |
<version>${revision}</version> | |
<name>pms-api</name> | |
<url>http://maven.apache.org</url> | |
<parent> | |
<groupId>vn.com.vndirect.pms</groupId> | |
<artifactId>pms-bom</artifactId> | |
<version>1.0.3</version> | |
<relativePath /> <!-- lookup parent from repository --> | |
</parent> | |
<properties> | |
<revision>2.9.7-${build.suffix}</revision> | |
<java.version>11</java.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<maven.compiler.source>${java.version}</maven.compiler.source> | |
<maven.compiler.target>${java.version}</maven.compiler.target> | |
<spring-cloud.version>2021.0.3</spring-cloud.version> | |
<mapstruct.version>1.4.2.Final</mapstruct.version> | |
<jwt.version>0.9.0</jwt.version> | |
<swagger.version>2.9.2</swagger.version> | |
<vndid.driver.version>1.7.2</vndid.driver.version> | |
<home-nlp.version>1.0.4</home-nlp.version> | |
<sonar.host.url>https://sonar.vndirect.com.vn</sonar.host.url> | |
<sonar.projectKey>PMS.API</sonar.projectKey> | |
<sonar.login>ea6a1ac2d3852a678ee4e0f22b7fe3eb5b2c9d5c</sonar.login> | |
<sonar.plugin.version>3.7.0.1746</sonar.plugin.version> | |
<asciidoctor.version>1.5.8</asciidoctor.version> | |
<logback.version>1.2.10</logback.version> | |
<pms.model.version>1.4.4</pms.model.version> | |
</properties> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-dependencies</artifactId> | |
<version>${spring-cloud.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.redisson</groupId> | |
<artifactId>redisson-spring-boot-starter</artifactId> | |
<version>3.16.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-data-jpa</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-actuator</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-validation</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-starter-openfeign</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.restdocs</groupId> | |
<artifactId>spring-restdocs-mockmvc</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<!-- API Docs --> | |
<dependency> | |
<groupId>io.springfox</groupId> | |
<artifactId>springfox-boot-starter</artifactId> | |
<version>3.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>31.1-jre</version> | |
</dependency> | |
<!-- <dependency>--> | |
<!-- <groupId>io.springfox</groupId>--> | |
<!-- <artifactId>springfox-swagger2</artifactId>--> | |
<!-- <version>${swagger.version}</version>--> | |
<!-- </dependency>--> | |
<!-- <dependency>--> | |
<!-- <groupId>io.springfox</groupId>--> | |
<!-- <artifactId>springfox-swagger-ui</artifactId>--> | |
<!-- <version>${swagger.version}</version>--> | |
<!-- </dependency>--> | |
<dependency> | |
<groupId>org.mapstruct</groupId> | |
<artifactId>mapstruct</artifactId> | |
<version>${mapstruct.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.github.ozlerhakan</groupId> | |
<artifactId>poiji</artifactId> | |
<version>3.0.3</version> | |
</dependency> | |
<dependency> | |
<groupId>vn.com.vndirect.vndid</groupId> | |
<artifactId>vndid-driver</artifactId> | |
<version>${vndid.driver.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-solrj</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-log4j2</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.homedirect.common</groupId> | |
<artifactId>home-nlp</artifactId> | |
<version>${home-nlp.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-solrj</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-slf4j-impl</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-log4j2</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.querydsl</groupId> | |
<artifactId>querydsl-jpa</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.querydsl</groupId> | |
<artifactId>querydsl-apt</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-tomcat</artifactId> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-test</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-test</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>vn.com.vndirect.pms</groupId> | |
<artifactId>pms-model</artifactId> | |
<version>${pms.model.version}</version> | |
<exclusions> | |
<exclusion> | |
<artifactId>spring-data-solr</artifactId> | |
<groupId>org.springframework.data</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>vn.com.vndirect.common</groupId> | |
<artifactId>pms-common</artifactId> | |
<version>1.0.2</version> | |
</dependency> | |
<!-- <dependency>--> | |
<!-- <groupId>com.github.gavlyukovskiy</groupId>--> | |
<!-- <artifactId>p6spy-spring-boot-starter</artifactId>--> | |
<!-- <version>1.7.1</version>--> | |
<!-- </dependency>--> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-thymeleaf</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.experimental</groupId> | |
<artifactId>spring-native</artifactId> | |
<version>0.12.1</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<profiles> | |
<profile> | |
<id>native</id> | |
<properties> | |
<build.suffix>SNAPSHOT</build.suffix> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.graalvm.buildtools</groupId> | |
<artifactId>native-maven-plugin</artifactId> | |
<version>0.9.0</version> | |
<executions> | |
<execution> | |
<id>build-native</id> | |
<goals> | |
<goal>build</goal> | |
</goals> | |
<phase>package</phase> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<configuration> | |
<classifier>exec</classifier> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>local</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<build.suffix>SNAPSHOT</build.suffix> | |
</properties> | |
</profile> | |
<profile> | |
<id>dev</id> | |
<properties> | |
<build.suffix>SNAPSHOT</build.suffix> | |
</properties> | |
</profile> | |
<profile> | |
<id>uat</id> | |
<properties> | |
<build.suffix>SNAPSHOT</build.suffix> | |
</properties> | |
</profile> | |
<profile> | |
<id>staging</id> | |
<properties> | |
<build.suffix>RELEASE</build.suffix> | |
</properties> | |
</profile> | |
<profile> | |
<id>prod</id> | |
<properties> | |
<build.suffix>RELEASE</build.suffix> | |
</properties> | |
</profile> | |
</profiles> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<configuration> | |
<image> | |
<builder>paketobuildpacks/builder:tiny</builder> | |
<env> | |
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE> | |
</env> | |
</image> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>build-info</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.8.1</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
<annotationProcessors> | |
<annotationProcessor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</annotationProcessor> | |
<annotationProcessor>com.querydsl.apt.jpa.JPAAnnotationProcessor</annotationProcessor> | |
<annotationProcessor>org.mapstruct.ap.MappingProcessor</annotationProcessor> | |
</annotationProcessors> | |
<annotationProcessorPaths> | |
<path> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<version>${lombok.version}</version> | |
</path> | |
<path> | |
<groupId>com.querydsl</groupId> | |
<artifactId>querydsl-core</artifactId> | |
<version>${querydsl.version}</version> | |
</path> | |
<path> | |
<groupId>com.querydsl</groupId> | |
<artifactId>querydsl-apt</artifactId> | |
<version>${querydsl.version}</version> | |
</path> | |
<path> | |
<groupId>com.mysema.codegen</groupId> | |
<artifactId>codegen</artifactId> | |
<version>0.6.8</version> | |
</path> | |
<path> | |
<groupId>org.eclipse.persistence</groupId> | |
<artifactId>javax.persistence</artifactId> | |
<version>2.1.0</version> | |
</path> | |
<path> | |
<groupId>org.mapstruct</groupId> | |
<artifactId>mapstruct-processor</artifactId> | |
<version>${mapstruct.version}</version> | |
</path> | |
<path> | |
<groupId>jakarta.annotation</groupId> | |
<artifactId>jakarta.annotation-api</artifactId> | |
<version>${jakarta-annotation.version}</version> | |
</path> | |
</annotationProcessorPaths> | |
<compilerArgs> | |
<compilerArg> | |
-Amapstruct.defaultComponentModel=spring | |
</compilerArg> | |
</compilerArgs> | |
<forceJavacCompilerUse>true</forceJavacCompilerUse> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.sonarsource.scanner.maven</groupId> | |
<artifactId>sonar-maven-plugin</artifactId> | |
<version>${sonar.plugin.version}</version> | |
</plugin> | |
<plugin> | |
<groupId>org.asciidoctor</groupId> | |
<artifactId>asciidoctor-maven-plugin</artifactId> | |
<version>${asciidoctor.version}</version> | |
<executions> | |
<execution> | |
<id>generate-docs</id> | |
<phase>prepare-package</phase> <!-- mvnw package, target/generated-docs default output dir --> | |
<goals> | |
<goal>process-asciidoc</goal> | |
</goals> | |
<configuration> | |
<backend>html</backend> | |
<doctype>book</doctype> | |
</configuration> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.restdocs</groupId> | |
<artifactId>spring-restdocs-asciidoctor</artifactId> | |
<version>${spring-restdocs.version}</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.7</version> | |
<executions> | |
<execution> | |
<id>copy-resources</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory> | |
${project.build.outputDirectory}/static/docs | |
</outputDirectory> | |
<resources> | |
<resource> | |
<directory> | |
${project.build.directory}/generated-docs | |
</directory> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.springframework.experimental</groupId> | |
<artifactId>spring-aot-maven-plugin</artifactId> | |
<version>0.12.1</version> | |
<executions> | |
<execution> | |
<id>generate</id> | |
<goals> | |
<goal>generate</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<id>spring-release</id> | |
<name>Spring release</name> | |
<url>https://repo.spring.io/release</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>spring-release</id> | |
<name>Spring release</name> | |
<url>https://repo.spring.io/release</url> | |
</pluginRepository> | |
</pluginRepositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment