Apache Commons CLI Maven Dependency

This page gives you a quick reference to get Apache Commons CLI dependency for Maven or Gradle projects. You can also download the Apache Commons CLI jar dependency, the link given at the "Download JAR File" section.

Apache Commons CLI provides a simple API for presenting, processing and validating a command-line interface.

Apache Commons CLI Maven Dependency

Copy below Apache Commons CLI maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
<dependency>
    <groupId>commons-cli</groupId>
    <artifactId>commons-cli</artifactId>
    <version>1.4</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Apache Commons CLI Gradle Dependency

Copy below Apache Commons CLI gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/commons-cli/commons-cli
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'

Download JAR File

Check for Latest Release

Reference

Comments