<commit_before>Furnace
=======

Lightweight Modular Service Container - Based on JBoss Modules and Maven. It's easier than OSGi :)

[![Build Status](https://forge.ci.cloudbees.com/job/furnace/badge/icon)](https://forge.ci.cloudbees.com/job/furnace/)
[![License](http://img.shields.io/:license-EPL-blue.svg)](https://www.eclipse.org/legal/epl-v10.html)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/org.jboss.forge.furnace/furnace-se/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jboss.forge.furnace/furnace-se)

Usage
=====

First, include the Furnace dependency in your project:

    <dependency>
       <groupId>org.jboss.forge.furnace</groupId>
       <artifactId>furnace-se</artifactId>
       <version>${version.furnace}</version>
    </dependency>

Then configure the container and start it:

    Furnace furnace = FurnaceFactory.getFurnace()
    furnace.addRepository(AddonRepositoryMode.MUTABLE, new File(OperatingSystemUtils.getUserForgeDir(), "addons"));
    <commit_msg>chore: updated status badge to new CI<commit_after>Furnace
=======

Lightweight Modular Service Container - Based on JBoss Modules and Maven. It's easier than OSGi :)

[![Build Status](https://travis-ci.org/forge/furnace.svg?branch=master)](https://travis-ci.org/forge/furnace)
[![License](http://img.shields.io/:license-EPL-blue.svg)](https://www.eclipse.org/legal/epl-v10.html)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/org.jboss.forge.furnace/furnace-se/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jboss.forge.furnace/furnace-se)

Usage
=====

First, include the Furnace dependency in your project:

    <dependency>
       <groupId>org.jboss.forge.furnace</groupId>
       <artifactId>furnace-se</artifactId>
       <version>${version.furnace}</version>
    </dependency>

Then configure the container and start it:

    Furnace furnace = FurnaceFactory.getFurnace()
    furnace.addRepository(AddonRepositoryMode.MUTABLE, new File(OperatingSystemUtils.getUserForgeDir(), "addons"));
    
{'fraction_non_alphanumeric': 0.1588921282798834, 'fraction_numerical': 0.001943634596695821, 'mean_word_length': 4.76750700280112, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '696315', 'n_tokens_mistral': 768, 'n_tokens_neox': 699, 'n_words': 102}