parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>no.mnemonic.commons</groupId>
<artifactId>parent</artifactId>
<version>0.5.6</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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>no.mnemonic.commons</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.5.6</version>
<name>mnemonic commons</name>
<description>Reusable Java utilities</description>
<url>https://github.com/mnemonic-no/commons</url>
<inceptionYear>2017</inceptionYear>
<licenses>
<license>
<name>ISC</name>
<url>https://opensource.org/licenses/ISC</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>mnemonic as</name>
<url>https://www.mnemonic.no</url>
</organization>
<developers>
<developer>
<name>mnemonic development team</name>
<email>opensource@mnemonic.no</email>
<url>https://github.com/mnemonic-no</url>
<organization>mnemonic as</organization>
<organizationUrl>https://www.mnemonic.no</organizationUrl>
<timezone>Europe/Oslo</timezone>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- JDK compile target -->
<jdk.version>1.8</jdk.version>
<!-- external dependencies -->
<!-- Upgrading docker-client requires to upgrade RestEasy to at least version 6 which only supports Jakarta annotations.
Need to find an upgrade path without breaking code which cannot upgrade to Jakarta yet. Make dependency provided? -->
<docker.client.version>5.2.2</docker.client.version>
<jackson.version>2.18.1</jackson.version>
<resteasy.version>5.0.7.Final</resteasy.version>
<guice.version>5.1.0</guice.version>
<junit.version>4.13.2</junit.version>
<junit.jupiter.version>5.11.3</junit.jupiter.version>
<log4j.version>2.24.1</log4j.version>
<mockito.version>5.14.2</mockito.version>
<spring.version>6.1.14</spring.version>
<immutables.version>2.9.3</immutables.version>
<!-- build dependencies -->
<maven.clean.version>3.1.0</maven.clean.version>
<maven.compiler.version>3.8.1</maven.compiler.version>
<maven.deploy.version>2.8.2</maven.deploy.version>
<maven.enforcer.version>1.4.1</maven.enforcer.version>
<maven.gpg.version>1.6</maven.gpg.version>
<maven.install.version>2.5.2</maven.install.version>
<maven.jar.version>3.1.1</maven.jar.version>
<maven.javadoc.version>3.1.0</maven.javadoc.version>
<maven.license.version>1.20</maven.license.version>
<maven.nexus.staging.version>1.6.13</maven.nexus.staging.version>
<maven.release.version>2.5.3</maven.release.version>
<maven.resources.version>3.1.0</maven.resources.version>
<maven.source.version>3.0.1</maven.source.version>
<maven.surefire.version>2.22.2</maven.surefire.version>
</properties>
<modules>
<module>component</module>
<module>container</module>
<module>junit-docker</module>
<module>jupiter-docker</module>
<module>logging</module>
<module>logging-log4j</module>
<module>metrics</module>
<module>testtools</module>
<module>utilities</module>
</modules>
<scm>
<connection>scm:git:git://github.com/mnemonic-no/commons.git</connection>
<developerConnection>scm:git:ssh://github.com:mnemonic-no/commons.git</developerConnection>
<url>https://github.com/mnemonic-no/commons</url>
<tag>0.5.6</tag>
</scm>
<build>
<resources>
<!-- Always include license file in generated bundles. -->
<resource>
<directory>../</directory>
<includes>
<include>LICENSE</include>
</includes>
</resource>
<!-- Include resources from standard resources folder in generated bundles. -->
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.version}</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.5</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.version}</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.version}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<resume>false</resume>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<configuration>
<source>${jdk.version}</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.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${maven.license.version}</version>
<!-- Execute license check during the build process to detect violations as early as possible. -->
<executions>
<execution>
<id>check-licenses</id>
<phase>compile</phase>
<goals>
<goal>add-third-party</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Trust that the developers of dependencies have done their homework. -->
<includeTransitiveDependencies>false</includeTransitiveDependencies>
<!-- Fail the build if a detected license is not in the white list. -->
<failIfWarning>true</failIfWarning>
<!-- Only allow licenses which are in this list. -->
<includedLicenses>Apache 2|CDDL|Eclipse|ISC|MIT</includedLicenses>
<!-- Consolidate license names. -->
<licenseMerges>
<licenseMerge>Apache 2|Apache License 2.0|Apache Software License - Version 2.0|Apache License, Version 2.0|The Apache Software License, Version 2.0|Apache-2.0</licenseMerge>
<licenseMerge>CDDL|CDDL 1.1|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0|CDDL + GPLv2 with classpath exception</licenseMerge>
<licenseMerge>Eclipse|Eclipse Public License 1.0|Eclipse Public License - Version 1.0|Eclipse Public License - v 1.0|Eclipse Public License v2.0</licenseMerge>
<licenseMerge>MIT|The MIT License</licenseMerge>
</licenseMerges>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Use this profile to push to internal Artifactory during deploy. -->
<id>publish-internal</id>
<distributionManagement>
<repository>
<id>mnemonic</id>
<url>https://artifactory.mnemonic.no/artifactory/mnemonic</url>
</repository>
<snapshotRepository>
<id>mnemonic-snapshots</id>
<url>https://artifactory.mnemonic.no/artifactory/mnemonic-snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<!-- Use this profile to push to the central repository (including signing of artifacts). -->
<id>publish-external</id>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${maven.nexus.staging.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>