misc-java-utils
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>nl.talsmasoftware.misc</groupId> <artifactId>misc-java-utils</artifactId> <version>0.0.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2022-2025 Talsma ICT 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> <!-- Artifact identification --> <groupId>nl.talsmasoftware.misc</groupId> <artifactId>misc-java-utils</artifactId> <version>0.0.3</version> <packaging>jar</packaging> <!-- Project information --> <name>Miscellaneous Java Utilities</name> <description>Miscellaneous Java Utilities</description> <url>https://github.com/talsma-ict/misc-java-utils</url> <inceptionYear>2022</inceptionYear> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <organization> <name>Talsma ICT</name> <url>https://github.com/talsma-ict/</url> </organization> <developers> <developer> <id>sjoerd</id> <name>Sjoerd Talsma</name> <email>sjoerdtalsma@users.noreply.github.com</email> <url>https://github.com/sjoerdtalsma</url> </developer> </developers> <scm> <url>https://github.com/talsma-ict/misc-java-utils.git</url> <connection>scm:git:git://github.com/talsma-ict/misc-java-utils.git</connection> <developerConnection>scm:git:https://github.com/talsma-ict/misc-java-utils.git</developerConnection> <tag>HEAD</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- test --> <junit.version>5.12.2</junit.version> <assertj.version>3.27.3</assertj.version> <!-- build --> <umldoclet.version>2.2.1</umldoclet.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <!-- defaults for compile and testCompile --> <jdkToolchain> <version>1.8</version> </jdkToolchain> <source>1.8</source> <target>1.8</target> </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.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>prepare-jacoco-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <formats> <format>XML</format> </formats> </configuration> </execution> <execution> <id>report-aggregate</id> <phase>post-integration-test</phase> <inherited>false</inherited> <goals> <goal>report-aggregate</goal> </goals> <configuration> <formats> <format>XML</format> </formats> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>generate-uml</id> <goals> <goal>jar</goal> </goals> <configuration> <jdkToolchain> <version>[9,)</version> </jdkToolchain> <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet> <docletArtifact> <groupId>nl.talsmasoftware</groupId> <artifactId>umldoclet</artifactId> <version>${umldoclet.version}</version> </docletArtifact> </configuration> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.3</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>5.1.0.4751</version> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>5.0.0</version> <dependencies> <dependency> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin-git</artifactId> <version>5.0.0</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> <dependencies> <!-- Test dependencies: --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>nl.talsmasoftware</groupId> <artifactId>umldoclet</artifactId> <version>${umldoclet.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> </dependencies> <distributionManagement> <repository> <id>central</id> <url>https://central.sonatype.com</url> </repository> <snapshotRepository> <id>central</id> <url>https://central.sonatype.com/repository/maven-snapshots</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>central-snapshots</id> <url>https://central.sonatype.com/repository/maven-snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </repository> </repositories> <profiles> <profile> <id>maven-central</id> <activation> <property> <name>env.MAVEN_CENTRAL_USERNAME</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <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-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <gpgArgument>--batch</gpgArgument> <gpgArgument>--pinentry-mode</gpgArgument> <gpgArgument>loopback</gpgArgument> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>sonar</id> <activation> <property> <name>env.SONAR_TOKEN</name> </property> </activation> <properties> <sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.organization>talsma-ict</sonar.organization> <sonar.projectKey>talsma-ict_misc-java-utils</sonar.projectKey> </properties> <build> <plugins> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <executions> <execution> <id>sonar-check</id> <phase>verify</phase> <goals> <goal>sonar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>license-check</id> <activation> <property> <name>!skipLicenseCheck</name> </property> </activation> <build> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <executions> <execution> <id>check-license</id> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <header>${project.basedir}/.mvn/license/header.txt</header> <properties> <owner>${project.organization.name}</owner> </properties> <mapping> <java>SLASHSTAR_STYLE</java> </mapping> <excludes> <exclude>.gitignore</exclude> <exclude>.github/**</exclude> <exclude>.mvn/**</exclude> <exclude>mvnw*</exclude> <exclude>**/.idea/**</exclude> <exclude>LICENSE</exclude> <exclude>**/*.md</exclude> <exclude>**/*.puml</exclude> <exclude>**/*.svg</exclude> <exclude>src/main/resources/**</exclude> <exclude>src/test/resources/**</exclude> </excludes> <strictCheck>true</strictCheck> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>