common-utils
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.imsejin</groupId> <artifactId>common-utils</artifactId> <version>0.14.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>io.github.imsejin</groupId> <artifactId>common-utils</artifactId> <version>0.14.0</version> <packaging>jar</packaging> <name>Common Utils</name> <description>Common utilities for java programming</description> <url>https://github.com/imsejin/common-utils</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://opensource.org/licenses/Apache-2.0</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>imsejin</name> <email>hackeres123@gmail.com</email> <timezone>UTC+0900</timezone> </developer> </developers> <scm> <url>https://github.com/imsejin/common-utils.git</url> <connection>scm:git:https://github.com/imsejin/common-utils.git</connection> <developerConnection>scm:git:https://github.com/imsejin/common-utils.git</developerConnection> <tag>${project.version}</tag> </scm> <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> <properties> <!-- General properties --> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- Dependency versions --> <gson.version>2.9.1</gson.version> <ini4j.version>0.5.4</ini4j.version> <apache-common-compress.version>1.21</apache-common-compress.version> <jsr380.version>3.0.2</jsr380.version> <jetbrains-annotations.version>23.0.0</jetbrains-annotations.version> <!-- Test dependency versions --> <junit5.version>5.9.1</junit5.version> <assertj.version>3.23.1</assertj.version> <spock.version>2.3-groovy-4.0</spock.version> <lombok.version>1.18.24</lombok.version> <memory-file-system.version>2.3.0</memory-file-system.version> </properties> <dependencies> <!-- Gson --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> </dependency> <!-- Ini4j --> <dependency> <groupId>org.ini4j</groupId> <artifactId>ini4j</artifactId> <version>${ini4j.version}</version> </dependency> <!-- Apache Commons Compress --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>${apache-common-compress.version}</version> </dependency> <!-- JSR-380 --> <dependency> <groupId>jakarta.validation</groupId> <artifactId>jakarta.validation-api</artifactId> <version>${jsr380.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>${jetbrains-annotations.version}</version> <optional>true</optional> </dependency> <!-- Junit 5 --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit5.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit5.version}</version> <scope>test</scope> </dependency> <!-- AssertJ Dependencies for using fluent assertions. --> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <!-- Spock Framework Mandatory dependencies for using Spock. This starts to support 'maven-surefire' since 2.0. --> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <version>${spock.version}</version> <scope>test</scope> </dependency> <!-- Lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>test</scope> </dependency> <!-- Memory Files System In memory implementation of a JSR-203 file system. --> <dependency> <groupId>com.github.marschall</groupId> <artifactId>memoryfilesystem</artifactId> <version>${memory-file-system.version}</version> <scope>test</scope> </dependency> </dependencies> <profiles> <!-- When only executes "mvn deploy -DperformRelease=true", release your libraries. It is prevent maven from executing goal "maven-gpg-plugin" to use this profile for release. --> <profile> <id>ossrh</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <!-- Attaches java source files for view --> <!-- Plugin for attach java source files for view when 'maven package' --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Generates javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.4.1</version> <configuration> <!-- https://bugs.openjdk.java.net/browse/JDK-8212233 --> <source>${java.version}</source> </configuration> <executions> <execution> <id>attach-javadocs</id> <phase>verify</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Plugin for signing with GPG key --> <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> <build> <finalName>${project.artifactId}-${project.version}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <skip>true</skip> </configuration> </plugin> <!-- Plugin for run test cases --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <testFailureIgnore>false</testFailureIgnore> <!-- Only required if names of test classes don't match default Surefire patterns('*Test'). By default only files ending in 'Test' will be included, so also include support for Spock style naming convention. Oddly enough for Groovy files, '*Spec.groovy' does not work, but '*Spec.java'. --> <includes> <include>**/*Test.java</include> <include>**/*Spec.java</include> </includes> </configuration> </plugin> <!-- Mandatory plugin for using Spock. It enables you to check test cases using Spock automatically. The gmavenplus plugin is used to compile Groovy code. To learn more about this plugin, visit https://github.com/groovy/GMavenPlus/wiki --> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>2.1.0</version> <executions> <execution> <goals> <goal>compile</goal> <goal>compileTests</goal> <goal>addTestSources</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <!-- Jacoco Plugin for analyzing code coverage of test cases. --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.8</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>