build-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>dev.bf2.ffm</groupId>
<artifactId>build-parent</artifactId>
<version>0.0.2</version>
</dependency><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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>factorized-fleet-manager</artifactId>
<groupId>dev.bf2.ffm</groupId>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>build-parent</artifactId>
<name>Factorized Fleet Manager :: Build Parent</name>
<description>Factorized Fleet Manager Dependency Management Project BOM</description>
<properties>
<maven.compiler.release>11</maven.compiler.release>
<version.maven>3.6.2</version.maven>
<version.jdk>11</version.jdk>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<version.dependency.plugin>2.8</version.dependency.plugin>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.7.0.Final</quarkus.platform.version>
<quarkus-amazon-services.version>1.0.3</quarkus-amazon-services.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
<version.compiler.plugin>3.8.1</version.compiler.plugin>
<version.surefire.plugin>2.22.2</version.surefire.plugin> <!-- minimum required by JUnit 5 -->
<version.install.plugin>2.5.2</version.install.plugin>
<quarkus.formatter.version>2.7.0.Final</quarkus.formatter.version>
<formatter.plugin.version>2.18.0</formatter.plugin.version>
<impsort.plugin.version>1.6.2</impsort.plugin.version>
<enforcer.plugin.version>3.0.0</enforcer.plugin.version>
<restrict-imports.plugin.version>1.4.0</restrict-imports.plugin.version>
<javadoc.plugin.version>3.4.1</javadoc.plugin.version>
<source.plugin.version>3.1.0</source.plugin.version>
<google.code.findbugs.version>3.0.2</google.code.findbugs.version>
<com.github.tomakehurst.wiremock.version>2.30.1</com.github.tomakehurst.wiremock.version>
<swagger-annotations.version>1.5.8</swagger-annotations.version>
<jersey.version>2.35</jersey.version>
<jackson.version>2.13.0</jackson.version>
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
<formatter.skip>false</formatter.skip>
<formatter.goal>format</formatter.goal>
<impsort.goal>sort</impsort.goal>
<!-- Skip release related plugins by default -->
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>${quarkus.platform.artifact-id}</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>dev.bf2.ffm</groupId>
<artifactId>bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-base</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>${jackson-databind-nullable.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${google.code.findbugs.version}</version>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>${com.github.tomakehurst.wiremock.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.platform.version}</version>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.platform.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
<configuration>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<release>${maven.compiler.release}</release>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${version.install.plugin}</version>
<executions>
<execution>
<id>default-install</id>
<phase>install</phase>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${version.dependency.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
<systemPropertyVariables>
<apple.awt.UIElement>true</apple.awt.UIElement>
<org.uberfire.nio.git.daemon.enabled>false</org.uberfire.nio.git.daemon.enabled>
<org.uberfire.nio.git.ssh.enabled>false</org.uberfire.nio.git.ssh.enabled>
<org.uberfire.sys.repo.monitor.disabled>true</org.uberfire.sys.repo.monitor.disabled>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${enforcer.plugin.version}</version>
<dependencies>
<dependency>
<groupId>de.skuzzle.enforcer</groupId>
<artifactId>restrict-imports-enforcer-rule</artifactId>
<version>${restrict-imports.plugin.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>${version.maven}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>${version.jdk}</version>
</requireJavaVersion>
</rules>
<fail>true</fail>
</configuration>
</execution>
<execution>
<id>check-assert-imports</id>
<phase>process-sources</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<RestrictImports>
<includeTestCode>true</includeTestCode>
<reason>Use AssertJ for Assertions instead of JUnit</reason>
<bannedImports>
<bannedImport>static org.junit.jupiter.api.Assertions.*</bannedImport>
<bannedImport>org.junit.jupiter.api.Assertions</bannedImport>
<bannedImport>static org.junit.Assert.*</bannedImport>
<bannedImport>org.junit.Assert</bannedImport>
</bannedImports>
</RestrictImports>
<RestrictImports>
<includeTestCode>true</includeTestCode>
<reason>Use AssertJ for Assertions instead of Hamcrest</reason>
<bannedImports>
<bannedImport>static org.hamcrest.MatcherAssert.*</bannedImport>
<bannedImport>org.hamcrest.MatcherAssert</bannedImport>
</bannedImports>
</RestrictImports>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>${formatter.plugin.version}</version>
<dependencies>
<dependency>
<artifactId>quarkus-ide-config</artifactId>
<groupId>io.quarkus</groupId>
<version>${quarkus.formatter.version}</version>
</dependency>
</dependencies>
<configuration>
<!-- store outside of target to speed up formatting when mvn clean is used -->
<cachedir>.cache/formatter-maven-plugin-${formatter-maven-plugin.version}</cachedir>
<configFile>eclipse-format.xml</configFile>
<lineEnding>LF</lineEnding>
<skip>${formatter.skip}</skip>
</configuration>
<executions>
<execution>
<goals>
<goal>${formatter.goal}</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>${impsort.plugin.version}</version>
<configuration>
<!-- store outside of target to speed up formatting when mvn clean is used -->
<cachedir>.cache/impsort-maven-plugin-${impsort-maven-plugin.version}</cachedir>
<groups>java.,javax.,jakarta.,org.,com.</groups>
<staticGroups>*</staticGroups>
<skip>${formatter.skip}</skip>
<removeUnused>true</removeUnused>
</configuration>
<executions>
<execution>
<goals>
<goal>${impsort.goal}</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${source.plugin.version}</version>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Fail the build if code does not follow the standards. -->
<id>validate-formatting</id>
<activation>
<property>
<name>validate-formatting</name>
</property>
</activation>
<properties>
<formatter.skip>false</formatter.skip>
<formatter.goal>validate</formatter.goal>
<impsort.goal>check</impsort.goal>
</properties>
</profile>
<profile>
<id>quickly</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<formatter.skip>true</formatter.skip>
<skipITs>true</skipITs>
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<properties>
<formatter.skip>true</formatter.skip>
<skipITs>true</skipITs>
<skipTests>true</skipTests>
<maven.javadoc.skip>false</maven.javadoc.skip>
<maven.source.skip>false</maven.source.skip>
</properties>
</profile>
</profiles>
</project>