2021-01-25 10:27:58 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2022-09-12 12:55:22 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2023-01-19 13:33:13 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2024-03-19 07:56:12 +00:00
|
|
|
<version>3.2.3</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
</parent>
|
2021-12-29 10:29:51 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<groupId>dev.vality</groupId>
|
|
|
|
<artifactId>service-parent-pom</artifactId>
|
2024-03-19 07:56:12 +00:00
|
|
|
<version>3.0.0</version>
|
2023-01-19 13:33:13 +00:00
|
|
|
<packaging>pom</packaging>
|
2021-12-29 10:29:51 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<name>Vality parent</name>
|
|
|
|
<description>Vality library parent pom</description>
|
|
|
|
<url>https://github.com/valitydev/service-parent-pom</url>
|
2021-01-25 10:27:58 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2021-01-25 10:27:58 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<scm>
|
|
|
|
<url>https://github.com/valitydev/service-parent-pom</url>
|
|
|
|
<developerConnection>scm:git:ssh://github.com/valitydev/service-parent-pom.git</developerConnection>
|
|
|
|
<connection>scm:git:git://github.com/valitydev/service-parent-pom.git</connection>
|
|
|
|
</scm>
|
2021-12-29 10:29:51 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<email>devs@vality.dev</email>
|
|
|
|
<organization>Vality</organization>
|
|
|
|
<organizationUrl>https://vality.dev</organizationUrl>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
2021-01-25 10:27:58 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-03-19 07:56:12 +00:00
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
2022-09-12 12:55:22 +00:00
|
|
|
<pubRepoId>ossrh</pubRepoId>
|
|
|
|
<pubRepo>https://s01.oss.sonatype.org/content/repositories/releases</pubRepo>
|
|
|
|
<pubSnapRepoId>ossrh</pubSnapRepoId>
|
|
|
|
<pubSnapRepo>https://s01.oss.sonatype.org/content/repositories/snapshots</pubSnapRepo>
|
|
|
|
<pubStagingRepoId>ossrh</pubStagingRepoId>
|
|
|
|
<pubStagingRepo>https://s01.oss.sonatype.org/</pubStagingRepo>
|
|
|
|
<checkstyle.config.path>
|
|
|
|
https://raw.githubusercontent.com/valitydev/java-checkstyle-config/master/conf/valitydev_google_checkstyle.xml
|
|
|
|
</checkstyle.config.path>
|
|
|
|
<checkstyle.config.suppressions.path>
|
|
|
|
https://raw.githubusercontent.com/valitydev/java-checkstyle-config/master/conf/checkstyle-suppressions.xml
|
|
|
|
</checkstyle.config.suppressions.path>
|
|
|
|
<dockerfile.base.service.tag>c0612d6052ac049496b72a23a04acb142035f249</dockerfile.base.service.tag>
|
2024-03-14 14:00:03 +00:00
|
|
|
<shared-resources.version>2.1.0</shared-resources.version>
|
2024-03-19 07:56:12 +00:00
|
|
|
<woody.version>2.0.0</woody.version>
|
2023-01-13 12:22:58 +00:00
|
|
|
<resource.delimiter>${*}</resource.delimiter>
|
2022-09-12 12:55:22 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.vality</groupId>
|
|
|
|
<artifactId>java-service-dependencies</artifactId>
|
2023-10-12 07:12:24 +00:00
|
|
|
<version>1.0.26</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2021-01-25 10:27:58 +00:00
|
|
|
|
2021-02-02 16:41:31 +00:00
|
|
|
<dependencies>
|
2022-09-12 12:55:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.vality.woody</groupId>
|
|
|
|
<artifactId>woody-thrift</artifactId>
|
|
|
|
<version>${woody.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.vality.woody</groupId>
|
|
|
|
<artifactId>woody-api</artifactId>
|
|
|
|
<version>${woody.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.vality</groupId>
|
|
|
|
<artifactId>shared-resources</artifactId>
|
|
|
|
<version>${shared-resources.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-02-02 16:41:31 +00:00
|
|
|
</dependencies>
|
2022-02-25 13:46:21 +00:00
|
|
|
|
2022-09-12 12:55:22 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>deploy</id>
|
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>${pubSnapRepoId}</id>
|
|
|
|
<url>${pubSnapRepo}</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>${pubRepoId}</id>
|
|
|
|
<url>${pubRepo}</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>${pubSnapRepoId}</id>
|
|
|
|
<url>${pubSnapRepo}</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.6.0</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<doclint>none</doclint>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<version>1.6.13</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>${pubStagingRepoId}</serverId>
|
|
|
|
<nexusUrl>${pubStagingRepo}</nexusUrl>
|
|
|
|
<autoReleaseAfterClose>${autoReleaseAfterClose}</autoReleaseAfterClose>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2024-03-19 07:56:12 +00:00
|
|
|
<version>3.2.0</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<gpgArguments>
|
|
|
|
<arg>--pinentry-mode</arg>
|
|
|
|
<arg>loopback</arg>
|
|
|
|
</gpgArguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>common</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
<property>
|
|
|
|
<name>env.MVN_PROFILE</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>build-info</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
2023-01-19 13:33:13 +00:00
|
|
|
<version>4.9.10</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<configuration>
|
|
|
|
<generateGitPropertiesFile>false</generateGitPropertiesFile>
|
|
|
|
<offline>true</offline>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.3.0</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>10.12.4</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>validate</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${checkstyle.config.path}</configLocation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
|
|
|
<sourceDirectories>
|
|
|
|
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
<suppressionsLocation>${checkstyle.config.suppressions.path}</suppressionsLocation>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>0.8.10</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/model/**/*</exclude>>
|
|
|
|
<exclude>**/domain/**/*</exclude>>
|
|
|
|
<exclude>**/dto/**/*</exclude>>
|
|
|
|
<exclude>**/enums/**/*</exclude>>
|
|
|
|
<exclude>**/property/**/*</exclude>>
|
|
|
|
<exclude>**/properties/**/*</exclude>>
|
|
|
|
<exclude>**/exception/**/*</exclude>>
|
|
|
|
<exclude>**/config/**/*</exclude>>
|
|
|
|
<exclude>**/servlet/**/*</exclude>>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
|
|
<artifactId>groovy-maven-plugin</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<source>
|
|
|
|
https://raw.githubusercontent.com/valitydev/test-coverage-analysis-script/master/script/TestCoverageAnalysis.groovy
|
|
|
|
</source>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.3.1</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.1.2</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.1.2</version>
|
2022-09-12 12:55:22 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2023-07-04 12:44:45 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2023-10-11 14:56:14 +00:00
|
|
|
<version>3.12.1</version>
|
2023-07-04 12:44:45 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.cyclonedx</groupId>
|
|
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
|
|
|
<version>2.7.9</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>makeAggregateBom</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<projectType>library</projectType>
|
|
|
|
<schemaVersion>1.4</schemaVersion>
|
|
|
|
<includeBomSerialNumber>true</includeBomSerialNumber>
|
|
|
|
<includeCompileScope>true</includeCompileScope>
|
|
|
|
<includeProvidedScope>true</includeProvidedScope>
|
|
|
|
<includeRuntimeScope>true</includeRuntimeScope>
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
<includeTestScope>false</includeTestScope>
|
|
|
|
<includeLicenseText>false</includeLicenseText>
|
|
|
|
<outputReactorProjects>true</outputReactorProjects>
|
|
|
|
<outputFormat>json</outputFormat>
|
|
|
|
<outputName>bom</outputName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-09-12 12:55:22 +00:00
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2022-11-17 16:05:09 +00:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2022-09-12 12:55:22 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2021-01-25 10:27:58 +00:00
|
|
|
</project>
|