JOpt Simple.
A Java library for parsing command line options.
Here is the list of declaration for jopt-simple. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>net.sf.jopt-simple</groupId> <artifactId>jopt-simple</artifactId> <version>4.3</version> </dependency>
If you think this Maven repository POM file listing for jopt-simple is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The MIT License
URL: http://www.opensource.org/licenses/mit-license.php.
The jopt-simple-4.3 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Java Library | joda-time 2.0 Date and time library to replace JDK date handling | 100 |
Build | ant 1.7.0 Apache Ant | 227 |
JUnit | junit 4.10 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1957 |
Testing | continuous-testing-toolkit 1.0 Supporting classes that facilitate continuous testing via Infinitest | 10 |
The following plugins are used in the jopt-simple-4.3.jar
The following packages are defined in the jopt-simple-4.3.jar
joptsimple joptsimple.internal joptsimple.util
Here is the content of the POM file.
<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> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>net.sf.jopt-simple</groupId> <artifactId>jopt-simple</artifactId> <version>4.3</version> <packaging>jar</packaging> <name>JOpt Simple</name> <url>http://pholser.github.com/jopt-simple</url> <description>A Java library for parsing command line options</description> <licenses> <license> <name>The MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/pholser/jopt-simple.git</connection> <developerConnection>scm:git:ssh://git@github.com/pholser/jopt-simple.git</developerConnection> <url>http://github.com/pholser/jopt-simple</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.7.0</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.infinitest</groupId> <artifactId>continuous-testing-toolkit</artifactId> <version>1.0</version> <scope>test</scope> </dependency> </dependencies> <build> <extensions> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.3</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>1.3</version> </extension> <extension> <groupId>org.kathrynhuxtable.maven.wagon</groupId> <artifactId>wagon-gitsite</artifactId> <version>0.3.1</version> </extension> </extensions> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.2</version> <configuration> <excludes> <exclude>joptsimple/examples/**</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.5.1</version> <configuration> <check> <haltOnFailure>true</haltOnFailure> <totalBranchRate>96</totalBranchRate> <totalLineRate>99</totalLineRate> </check> </configuration> <executions> <execution> <goals> <goal>clean</goal> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> <configuration> <minimumTokens>40</minimumTokens> <targetJdk>1.5</targetJdk> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>cpd-check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>paste-examples</id> <phase>post-site</phase> <configuration> <tasks> <property name="java.io.tmpdir" value="${java.io.tmpdir}" /> <property name="example.src.dir" value="src/test/java" /> <property name="example.class.path" refid="maven.test.classpath" /> <property name="website.staging.dir" value="${project.build.directory}/site" /> <ant antfile="paste-examples.xml" target="-paste-examples" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>2.3</version> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <configuration> <source>1.5</source> <show>public</show> <excludePackageNames>joptsimple.examples:joptsimple.internal:joptsimple.internal.*</excludePackageNames> <links> <link>http://download.oracle.com/javase/1.5.0/docs/api</link> </links> <bottom><![CDATA[<i>© Copyright 2004-2011 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu</i>]]></bottom> </configuration> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javancss-maven-plugin</artifactId> <version>2.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> <configuration> <formats> <format>xml</format> <format>html</format> </formats> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.7</version> <configuration> <configLocation>${basedir}/conf/src-checkstyle.xml</configLocation> <headerLocation>${basedir}/LICENSE.txt</headerLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.2</version> <configuration> <threshold>Low</threshold> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> <configuration> <minimumTokens>40</minimumTokens> <targetJdk>1.5</targetJdk> </configuration> </plugin> </plugins> </reporting> <distributionManagement> <site> <id>github-project-site</id> <url>gitsite:git@github.com/pholser/jopt-simple.git</url> </site> </distributionManagement> </project>