cliargs
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.sttk</groupId> <artifactId>cliargs</artifactId> <version>0.1.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.sttk</groupId> <artifactId>cliargs</artifactId> <version>0.1.0</version> <packaging>jar</packaging> <name>cliargs</name> <description>A library to parse command line arguments for Java application.</description> <url>https://github.com/sttk/cliargs-java</url> <licenses> <license> <name>The MIT License</name> <url>https://opensource.org/license/mit/</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>sttk</id> <name>Takayuki Sato</name> <url>https://github.com/sttk</url> </developer> </developers> <scm> <url>https://github.com/sttk/cliargs-java</url> <connection>scm:git:git://github.com/sttk/cliargs-java.git</connection> <developerConnection>scm:git:git//github.com/sttk/cliargs-java.git</developerConnection> </scm> <properties> <maven.compiler.release>21</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- For changing environment variables in unit tests. This setting is for maven-surefire-plugin but moved here for jacoco. See: https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html --> <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine> </properties> <dependencies> <dependency> <groupId>io.github.sttk</groupId> <artifactId>linebreak</artifactId> <version>0.1.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>io.github.sttk</groupId> <artifactId>reasonedexception</artifactId> <version>0.3.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.10.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.10.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <version>1.10.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.25.3</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.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.6.3</version> <configuration> <author>true</author> <source>21</source> <show>protected</show> <encoding>UTF-8</encoding> <charset>UTF-8</charset> <docencoding>UTF-8</docencoding> <bottom><![CDATA[Copyright 2024 Takayuki Sato. All Rights Reserved.]]></bottom> </configuration> <executions> <execution> <goals> <goal>aggregate</goal> </goals> <phase>site</phase> </execution> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <compilerArgs> <arg>-g</arg> <arg>-Xlint</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <build> <plugins> <plugin> <groupId>org.graalvm.buildtools</groupId> <artifactId>native-maven-plugin</artifactId> <version>0.10.1</version> <extensions>true</extensions> <executions> <execution> <id>native test</id> <goals> <goal>test</goal> </goals> <phase>test</phase> <configuration> <dependencies> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <version>1.10.2</version> <scope>test</scope> </dependency> </dependencies> </configuration> </execution> </executions> <configuration> <fallback>false</fallback> <!-- For changing environment variables in unit tests. --> <buildArgs> <buildArg>-J--add-opens=java.base/java.lang=ALL-UNNAMED</buildArg> <buildArg>--initialize-at-build-time=org.junit.platform.launcher.core.LauncherConfig</buildArg> <buildArg>--initialize-at-build-time=org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter</buildArg> </buildArgs> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>trace</id> <properties> <argLine>-agentlib:native-image-agent=config-output-dir=target/native-trace/</argLine> </properties> </profile> <profile> <id>release-gh</id> <distributionManagement> <repository> <id>github</id> <name>GitHub Packages</name> <url>https://maven.pkg.github.com/sttk/cliargs-java</url> </repository> </distributionManagement> </profile> <profile> <id>release-ossrh</id> <distributionManagement> <snapshotRepository> <id>ossrh</id> <name>Central Repository OSSRH (Snapshot)</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <name>Central Repository OSSRH</name> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <executions> <execution> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>