<commit_before>[![Build Status](https://travis-ci.org/stevespringett/Alpine.svg?branch=master)](https://travis-ci.org/stevespringett/Alpine)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/cefa2866cbc24deeb7fbc83b8f71ad60)](https://www.codacy.com/app/stevespringett/Alpine?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=stevespringett/Alpine&amp;utm_campaign=Badge_Grade)
[![License][license-image]][license-url]
<img src="http://stevespringett.github.io/alpine/images/Alpine.svg" width="300" align="right">

Alpine Executable WAR
=========

An executable WAR provides a way to create a standalone WAR, with all dependencies, capable of being deployed
simply by calling `java -jar myapp.war`. Pre-configured servlet containers are not required. The project 
incorporates a modern embedded Jetty container capable of supporting the Servlet 3.1 specification along with
support for JSPs. The project requires Java 8 and is completely independent of the main Alpine project. In fact,
the Alpine Executable WAR project can be used for virtually all Java web applications.


Usage
-

Configure the Maven POM with the Alpine Embedded WAR dependency and configure the Maven WAR plugin.

```xml
<dependencies>
    <!-- Add a dependency on Alpine Embedded WAR -->
    <dependency>
        <groupId>us.springett</groupId>
        <artifactId>alpine-executable-war</artifactId>
        <version>1.2.8</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

<plugins>
    <!-- Configure the Maven WAR plugin to overlay Alpine Embedded WAR -->
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
            <warName>${project.build.finalName}</warName>
            <archive>
                <manifest>
                    <mainClass>alpine.embedded.EmbeddedJettyServer</mainClass>
                </manifest>
            </archive>
            <dependentWarExcludes>WEB-INF/lib/*log4j*.jar,WEB-INF/lib/*slf4j*.jar</dependentWarExcludes>
            <overlays><commit_msg>Updating readme<commit_after>[![Build Status](https://travis-ci.org/stevespringett/Alpine.svg?branch=master)](https://travis-ci.org/stevespringett/Alpine)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/cefa2866cbc24deeb7fbc83b8f71ad60)](https://www.codacy.com/app/stevespringett/Alpine?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=stevespringett/Alpine&amp;utm_campaign=Badge_Grade)
[![License][license-image]][license-url]
<img src="http://stevespringett.github.io/alpine/images/Alpine.svg" width="300" align="right">

Alpine Executable WAR
=========

An executable WAR provides a way to create a standalone WAR, with all dependencies, capable of being deployed
simply by calling `java -jar myapp.war`. Pre-configured servlet containers are not required. The project 
incorporates a modern embedded Jetty container capable of supporting the Servlet 4.0 specification. The project 
requires Java 8 and is completely independent of the main Alpine project. In fact, the Alpine Executable WAR 
project can be used for virtually all Java web applications.


Usage
-

Configure the Maven POM with the Alpine Embedded WAR dependency and configure the Maven WAR plugin.

```xml
<dependencies>
    <!-- Add a dependency on Alpine Embedded WAR -->
    <dependency>
        <groupId>us.springett</groupId>
        <artifactId>alpine-executable-war</artifactId>
        <version>1.3.0</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

<plugins>
    <!-- Configure the Maven WAR plugin to overlay Alpine Embedded WAR -->
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
            <warName>${project.build.finalName}</warName>
            <archive>
                <manifest>
                    <mainClass>alpine.embedded.EmbeddedJettyServer</mainClass>
                </manifest>
            </archive>
            <dependentWarExcludes>WEB-INF/lib/*log4j*.jar,WEB-INF/lib/*slf4j*.jar</dependentWarExcludes>
            <overlays>
{'fraction_non_alphanumeric': 0.11719500480307397, 'fraction_numerical': 0.012007684918347743, 'mean_word_length': 3.7062146892655368, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4477922', 'n_tokens_mistral': 1381, 'n_tokens_neox': 1262, 'n_words': 291}