JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.
JLine is distributed under the BSD license, meaning that you are completely free to redistribute, modify, or sell it with almost no restrictions. For more information on the BSD license, see [http://www.opensource.org/licenses/bsd-license.php].
Use the following definition to use JLine in your maven project:
<dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>2.6</version> </dependency>
- Maven 2+
- Java 5+
Check out and build:
git clone git://github.com/jline/jline2.git cd jline2 mvn install
To build the jdk14 jar:
mvn install -Dretro