common-projects
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-projects</artifactId>
<version>2.0.0-beta-1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2014 the original author or authors
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>
<!-- IMPORTANT: It is explicitly not the intention to use Spring Boot in these libraries:
We use this only to specify a consistent set of libraries, compatible with Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
</parent>
<groupId>com.foreach.libs</groupId>
<artifactId>common-projects</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>
A number of general purpose libraries for Java. Dependencies are kept minimal but Spring framework
is considered a base requirement for most libraries.
</description>
<url>https://github.com/ForeachOS/foreach-common-java-libraries</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<modules>
<module>common-spring</module>
<module>common-hibernate</module>
<module>common-mybatis</module>
<module>common-web</module>
<!--
<module>common-test</module>
-->
<module>common-concurrent</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>2.0.0-beta-1</revision>
<!-- Overrides from Spring Boot: -->
<maven-failsafe-plugin.version>3.2.5</maven-failsafe-plugin.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<spring-framework.version>5.3.37</spring-framework.version>
<!-- Not managed by Spring Boot: -->
<commons-validator.version>1.9.0</commons-validator.version>
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<maven-artifact-plugin.version>3.5.1</maven-artifact-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
<!-- Needed for https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<reportOutputDirectory>${project.reporting.outputDirectory}</reportOutputDirectory>
<destDir>${project.version}/javadoc</destDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-concurrent</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-hibernate</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-mybatis</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-spring</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.foreach.libs</groupId>
<artifactId>common-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>${commons-validator.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.16</version>
</dependency>
<!-- See version matrix: https://mybatis.org/spring/ -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>com.mockrunner</groupId>
<artifactId>mockrunner-jdbc</artifactId>
<version>2.0.7</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<scm>
<connection>scm:git:https://github.com/ForeachOS/foreach-common-java-libraries</connection>
<developerConnection>scm:git:https://gitlab.eindhoven.io-internal.dev/antwerpen/common/foreach-common-java-libraries</developerConnection>
<url>https://github.com/ForeachOS/foreach-common-java-libraries</url>
</scm>
<developers>
<developer>
<name>Arne Vandamme</name>
<email>arne@foreach.be</email>
<organization>Foreach</organization>
<organizationUrl>https://www.foreach.be</organizationUrl>
</developer>
</developers>
<profiles>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<!--
Unfortunately, in a multi-module build, this attaches the .buildinfo file
only to the last module; see the note at the end of:
https://maven.apache.org/plugins/maven-artifact-plugin/usage.html#recording-buildinfo-file
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-artifact-plugin</artifactId>
<version>${maven-artifact-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>buildinfo</goal>
</goals>
</execution>
</executions>
</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>
<configuration>
<bestPractices>true</bestPractices>
<keyname>${env.MAVEN_GPG_KEY_NAME}</keyname>
<defaultKeyring>true</defaultKeyring>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sonatype</id>
<distributionManagement>
<snapshotRepository>
<id>sonatype</id>
<name>Sonatype snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype</id>
<name>Sonatype release staging</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>foreach</id>
<distributionManagement>
<repository>
<id>foreach-nexus</id>
<name>Foreach nexus</name>
<url>https://repository.antwerpen.io-external.com/nexus/repository/releases/</url>
</repository>
<snapshotRepository>
<id>foreach-nexus</id>
<name>Foreach nexus</name>
<url>https://repository.antwerpen.io-external.com/nexus/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>