fyk-beer-works-bom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.fykidwai</groupId> <artifactId>fyk-beer-works-bom</artifactId> <version>1.15</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2019 the original author or authors. ~ ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU General Public License as published by ~ the Free Software Foundation, either version 3 of the License, or ~ (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU General Public License for more details. ~ ~ You should have received a copy of the GNU General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses />. --> <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.0</version> <relativePath /> <!-- lookup parent from repository --> </parent> <groupId>io.github.fykidwai</groupId> <artifactId>fyk-beer-works-bom</artifactId> <version>1.15</version> <packaging>pom</packaging> <description>Parent Project for FYK Beer Works Projects</description> <name>fyk-beer-works-bom</name> <licenses> <license> <name>GNU General Public License v3.0</name> <url>https://www.gnu.org/licenses/gpl.txt</url> </license> </licenses> <developers> <developer> <name>Faiz Kidwai</name> <email>f.y.kidwai@gmail.com</email> <id>fykidwai</id> </developer> </developers> <url>https://github.com/fykidwai/fyk-beer-works-bom</url> <scm> <url>https://github.com/fykidwai/fyk-beer-works-bom</url> <connection>scm:git:https://github.com/fykidwai/fyk-beer-works-bom</connection> <developerConnection>scm:git:https://fykidwai@github.com/fykidwai/fyk-beer-works-bom</developerConnection> <tag>v1.15</tag> </scm> <issueManagement> <url>https://github.com/fykidwai/fyk-beer-works-bom/issues</url> <system>GitHub Issues</system> </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>11</java.version> <jaxb.version>2.3.0</jaxb.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version> <org.mapstruct.version>1.4.2.Final</org.mapstruct.version> <swagger-request-validator.version>2.2.2</swagger-request-validator.version> <org.springdoc.version>1.5.9</org.springdoc.version> <!--Surefire plugin argLine value to suppress UnresolvedMavenProperty --> <argLine>--illegal-access=permit</argLine> <kotlin.version>1.3.21</kotlin.version> <spring-cloud.version>2020.0.3</spring-cloud.version> <awaitility.version>3.1.6</awaitility.version> <spock.version>1.3-groovy-2.5</spock.version> <project.scm.id>github</project.scm.id> <!--set this to your docker acct name --> <docker.image.prefix>fykidwai</docker.image.prefix> <!--Set to name of project --> <docker.image.name>${project.artifactId}</docker.image.name> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>${jaxb.version}</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId> <version>${jaxb.version}</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>${jaxb.version}</version> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>${spring-cloud.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>${org.springdoc.version}</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <scope>test</scope> <type>pom</type> </dependency> <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> <version>${org.mapstruct.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-spring</artifactId> <version>${spock.version}</version> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <version>${spock.version}</version> </dependency> <dependency> <groupId>org.springframework.statemachine</groupId> <artifactId>spring-statemachine-core</artifactId> <version>3.0.0</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <layers> <enabled>true</enabled> <includeLayerTools>true</includeLayerTools> </layers> <excludes> <exclude> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <executions> <execution> <id>auto-clean</id> <phase>initialize</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <annotationProcessorPaths> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </path> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok-mapstruct-binding</artifactId> <version>${lombok-mapstruct-binding.version}</version> </path> <path> <groupId>org.mapstruct</groupId> <artifactId>mapstruct-processor</artifactId> <version>${org.mapstruct.version}</version> </path> </annotationProcessorPaths> <compilerArgs> <compilerArg>-Amapstruct.defaultComponentModel=spring</compilerArg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.7</version> <executions> <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when the Maven Surefire plugin is executed. --> <execution> <id>default-prepare-agent</id> <phase>initialize</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. ============ Defaults to ${project.build.directory}/jacoco.exec --> <!--<destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> --> <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. ============= Defaults to "argLine" --> <!--<propertyName>surefireArgLine</propertyName> --> </configuration> </execution> <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> <execution> <id>post-unit-test</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. ================ Defaults to ${project.build.directory}/jacoco.exec --> <!--<dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> --> <!-- Sets the output directory for the code coverage report. ================ Defaults to ${project.reporting.outputDirectory}/jacoco --> <!--<outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> --> </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>initialize</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <!--<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> --> <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. --> <!--<propertyName>failsafeArgLine</propertyName> --> </configuration> </execution> <!-- Ensures that the code coverage report for integration tests after integration tests have been run. --> <execution> <id>post-integration-test</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. =========== Defaults to ${project.build.directory/jacoco.exec} --> <!--<dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> --> <!-- Sets the output directory for the code coverage report. =========== Defaults to ${project.reporting.outputDirectory/jacoco} --> <!--<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> --> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.6.0</version> </requireMavenVersion> <requireJavaVersion> <version>11</version> </requireJavaVersion> <requireReleaseDeps> <onlyWhenRelease>true</onlyWhenRelease> <message>Release builds must not have on snapshot dependencies </message> </requireReleaseDeps> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>0.36.0</version> <configuration> <verbose>true</verbose> <images> <image> <name>${docker.image.prefix}/${docker.image.name}</name> <alias>${project.artifactId}</alias> <build> <!--copies artifact to docker build dir in target --> <assembly> <descriptorRef>artifact</descriptorRef> </assembly> <dockerFile>Dockerfile</dockerFile> <tags> <tag>latest</tag> <tag>${project.version}</tag> </tags> </build> </image> </images> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> <releaseProfiles>ossrh</releaseProfiles> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>3.9.0.2155</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>dockerbuild</id> <activation> <file> <exists>src/main/docker/Dockerfile</exists> </file> </activation> <build> <plugins> <!-- push to docker with release --> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <executions> <execution> <id>push-to-docker</id> <phase>deploy</phase> <goals> <goal>build</goal> <goal>push</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>ossrh</id> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh_velo</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</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-javadoc-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <!-- Exclude Lombok enhanced classes --> <excludePackageNames>guru.sfg.brewery.model.*:*.mapper.*:*.domain.*:*.mappers.* </excludePackageNames> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <distributionManagement> <snapshotRepository> <id>ossrh_velo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh_velo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> </project>