jhipster-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>tech.jhipster</groupId>
<artifactId>jhipster-parent</artifactId>
<version>9.3.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/maven-v4_0_0.xsd https://www.gradle.com/develocity-maven-project https://www.gradle.com/schema/develocity-maven-project.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>4.1.1</version>
<relativePath />
</parent>
<groupId>tech.jhipster</groupId>
<artifactId>jhipster-parent</artifactId>
<version>9.3.0</version>
<packaging>pom</packaging>
<name>JHipster server-side parent POM</name>
<url>https://github.com/jhipster/jhipster-bom/</url>
<licenses>
<license>
<name>Apache License, version 2.0</name>
<url>https://github.com/jhipster/jhipster-bom/blob/main/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>JHipster</name>
<url>https://www.jhipster.tech</url>
</organization>
<developers>
<developer>
<id>jdubois</id>
<name>Julien Dubois</name>
<url>http://www.julien-dubois.com/</url>
<organization>JHipster</organization>
<organizationUrl>https://www.jhipster.tech/</organizationUrl>
</developer>
<!-- The JHipster core team is listed at https://www.jhipster.tech/team/ -->
</developers>
<properties>
<!-- The jhipster-framework version should be the same as the artifact version above -->
<jhipster-framework.version>9.3.0</jhipster-framework.version>
<!-- The spring-boot version should be the same as the parent version above -->
<spring-boot.version>4.1.1</spring-boot.version>
<!-- Build properties -->
<java.version>17</java.version>
<maven.version>3.2.5</maven.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<!-- Plugin versions -->
<central-publishing-maven-plugin.version>0.11.0</central-publishing-maven-plugin.version>
<git-commit-id-maven-plugin.version>10.0.0</git-commit-id-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.15</jacoco-maven-plugin.version>
<logstash-logback-encoder.version>9.0</logstash-logback-encoder.version>
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
<maven-enforcer-plugin.version>3.6.3</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>3.5.6</maven-failsafe-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-surefire-plugin.version>3.5.6</maven-surefire-plugin.version>
<properties-maven-plugin.version>1.3.0</properties-maven-plugin.version>
<sonar-maven-plugin.version>5.7.0.6970</sonar-maven-plugin.version>
<springdoc.version>3.1.0</springdoc.version>
<versions-maven-plugin.version>2.21.0</versions-maven-plugin.version>
</properties>
<scm>
<connection>scm:git:https://github.com/jhipster/jhipster-bom/</connection>
<url>https://github.com/jhipster/jhipster-bom/</url>
</scm>
<modules>
<module>jhipster-framework</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-bom</artifactId>
<version>${springdoc.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>${logstash-logback-encoder.version}</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>deploy-github</id>
<activation>
<property>
<name>github</name>
<value>true</value>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>github</id>
<url>https://maven.pkg.github.com/jhipster/jhipster-bom/</url>
</snapshotRepository>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/jhipster/jhipster-bom/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>deploy-central</id>
<activation>
<property>
<name>!github</name>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<!-- Deployment profile (required by https://github.com/samuelmeuli/action-maven-publish ) -->
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent `gpg` from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<configuration>
<prefix>jhipster-lib.git</prefix>
<includeOnlyProperties>
<includeOnlyProperty>^jhipster-lib.git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^jhipster-lib.git.commit.id.(abbrev|full|time)$</includeOnlyProperty>
<includeOnlyProperty>^jhipster-lib.git.branch$</includeOnlyProperty>
<includeOnlyProperty>^jhipster-lib.git.remote.origin.url$</includeOnlyProperty>
</includeOnlyProperties>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>${git-commit-id-maven-plugin.version}</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<verbose>true</verbose>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^git.commit.id.(abbrev|full|time)$</includeOnlyProperty>
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
<includeOnlyProperty>^git.remote.origin.url$</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.62</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
<execution>
<id>enforce-dependencyConvergence</id>
<configuration>
<rules>
<DependencyConvergence/>
</rules>
<fail>false</fail>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<requireMavenVersion>
<message>You are running an older version of Maven. JHipster requires at least Maven
${maven.version}
</message>
<version>[${maven.version},)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>You are running an older version of Java. JHipster requires at least JDK
${java.version}
</message>
<version>[${java.version}.0,)</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<!-- Force alphabetical order to have a reproducible build -->
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<configuration>
<!-- Due to spring-boot repackage, without adding this property test classes are not found
See https://github.com/spring-projects/spring-boot/issues/6254 -->
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<!-- Force alphabetical order to have a reproducible build -->
<runOrder>alphabetical</runOrder>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>${properties-maven-plugin.version}</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>sonar-project.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>develocity-maven-extension</artifactId>
<configuration>
<develocity xmlns="https://www.gradle.com/develocity-maven-project">
<normalization>
<runtimeClassPath>
<propertiesNormalizations>
<propertiesNormalization>
<path>**/git.properties</path>
<ignoredProperties>
<ignore>jhipster-lib.git.build.time</ignore>
</ignoredProperties>
</propertiesNormalization>
</propertiesNormalizations>
</runtimeClassPath>
</normalization>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-versions</id>
<outputs>
<cacheableBecause>version check should be cached</cacheableBecause>
</outputs>
<inputs>
<properties>
<property>
<name>fail</name>
</property>
<property>
<name>failFast</name>
</property>
<property>
<name>failIfNoRules</name>
</property>
<property>
<name>rulesToSkip</name>
</property>
<property>
<name>rulesToExecute</name>
</property>
<property>
<name>rules</name>
</property>
<property>
<name>skip</name>
</property>
</properties>
<ignoredProperties>
<ignore>ignoreCache</ignore>
<ignore>mojoExecution</ignore>
<ignore>session</ignore>
</ignoredProperties>
</inputs>
<nestedProperties>
<property>
<name>project</name>
<iteratedProperties>
<property>
<name>dependencies</name>
<inputs>
<properties>
<property>
<name>groupId</name>
</property>
<property>
<name>artifactId</name>
</property>
<property>
<name>version</name>
</property>
<property>
<name>type</name>
</property>
<property>
<name>scope</name>
</property>
</properties>
</inputs>
</property>
</iteratedProperties>
</property>
</nestedProperties>
</execution>
<execution>
<id>enforce-dependencyConvergence</id>
<outputs>
<cacheableBecause>depencency convergenve should be cached
</cacheableBecause>
</outputs>
<inputs>
<properties>
<property>
<name>fail</name>
</property>
<property>
<name>failFast</name>
</property>
<property>
<name>failIfNoRules</name>
</property>
<property>
<name>rulesToSkip</name>
</property>
<property>
<name>rulesToExecute</name>
</property>
<property>
<name>rules</name>
</property>
<property>
<name>skip</name>
</property>
</properties>
<ignoredProperties>
<ignore>ignoreCache</ignore>
<ignore>mojoExecution</ignore>
<ignore>session</ignore>
</ignoredProperties>
</inputs>
<nestedProperties>
<property>
<name>project</name>
<iteratedProperties>
<property>
<name>dependencies</name>
<inputs>
<properties>
<property>
<name>groupId</name>
</property>
<property>
<name>artifactId</name>
</property>
<property>
<name>version</name>
</property>
<property>
<name>type</name>
</property>
<property>
<name>scope</name>
</property>
</properties>
</inputs>
</property>
</iteratedProperties>
</property>
</nestedProperties>
</execution>
</executions>
</plugin>
</plugins>
</develocity>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>