<commit_before>## Why Javaslang?
[![Build Status](https://travis-ci.org/rocketscience-projects/javaslang.png)](https://travis-ci.org/rocketscience-projects/javaslang)
[![Coverage Status](https://img.shields.io/coveralls/rocketscience-projects/javaslang.svg)](https://coveralls.io/r/rocketscience-projects/javaslang)

**Javaslang** is a non-profit functional component library for Java&trade; 8 and above.

## Using Javaslang

The .jar is available at [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cjavaslang).

```xml
<dependency>
    <groupId>com.javaslang</groupId>
    <artifactId>javaslang</artifactId>
    <version>1.0.0</version>
</dependency>
```

Please ensure that the maven .pom targets Java 8 at minimum.

## Developing Javaslang

### Some Maven Goals

* Executing tests: `mvn clean test`
* Executing doclint: `mvn javadoc:javadoc`
* Executing code coverage report: `mvn -P ci clean test jacoco:report`
* Create -javadoc.jar: `mvn javadoc:jar`
* Create -source.jar: `mvn source:jar`

### Release Management

See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide


Sonatype-Nexus specific maven configuration: `~/.m2/settings.xml`

```xml
<settings><commit_msg>Updated user guide.<commit_after>## Why Javaslang?
[![Build Status](https://travis-ci.org/rocketscience-projects/javaslang.png)](https://travis-ci.org/rocketscience-projects/javaslang)
[![Coverage Status](https://img.shields.io/coveralls/rocketscience-projects/javaslang.svg)](https://coveralls.io/r/rocketscience-projects/javaslang)

**Javaslang** is a non-profit functional component library for Java&trade; 8 and above.

## Using Javaslang

Projects that include Javaslang need to target Java 1.8 at minimum.

### Maven dependency

The .jar is available at [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cjavaslang).

```xml
<dependency>
    <groupId>com.javaslang</groupId>
    <artifactId>javaslang</artifactId>
    <version>1.0.0</version>
</dependency>
```

### Standalone

Because Javaslang has _no_ dependencies to other libraries you can easily add it as standalone .jar to your classpath.

Javaslang can be downloaded at [Maven Central](http://search.maven.org/#search|ga|1|a:"javaslang").

## Developing Javaslang

### Some Maven Goals

* Executing tests: `mvn clean test`
* Executing doclint: `mvn javadoc:javadoc`
* Executing code coverage report: `mvn -P ci clean test jacoco:report`
* Create -javadoc.jar: `mvn javadoc:jar`
* Create -source.jar: `mvn source:jar`

### Release Management

See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide


Sonatype-Nexus specific maven configuration: `~/.m2/settings.xml`

```xml
<settings>
{'fraction_non_alphanumeric': 0.1426991150442478, 'fraction_numerical': 0.008112094395280236, 'mean_word_length': 5.41371158392435, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5021380', 'n_tokens_mistral': 971, 'n_tokens_neox': 900, 'n_words': 206}