<commit_before># choonchernlim-archetype-webapp

TBD

# Prerequisites

* In order to get Jetty Maven Plugin working, create an environment variable `JETTY_ENV_XML` pointing to `jetty-env.xml` file. This file contains the data source information.

* Maven version must be between 3.1.0 and 3.2.5.
    * Frontend Maven Plugin requires at least 3.1.0.
    * Maven 3.3.x requires Java 7.

# Troubleshooting

## `libsass` bindings not found. Try reinstalling `node-sass`?

Run `npm rebuild node-sass` to fix the problem. [See here for more info](http://stackoverflow.com/questions/28409100/try-reinstalling-node-sass-on-node-0-12).

# Version Restrictions

Some dependencies and plugins cannot be upgraded to the latest version to ensure they are compatible with Websphere 7's specs: Java SE 6, Java EE 5, Servlet 2.5, JSP 2.1, JPA: 2.0.

| Dependency                            | Version Used  | Why                                 |
| --------------------------------------|---------------|-------------------------------------|
| org.mortbay.jetty:jetty-maven-plugin  | 8.x           | 9.x requires Java 7 and Servlet 3.0 |
| javax.servlet:servlet-api             | 2.5           | Match WAS 7 specs                   |
| javax.servlet.jsp:jsp-api             | 2.1           | Match WAS 7 specs                   |
| javax.mail:mail                       | 1.4.x         | Match WAS 7 specs                   |
| javax.servlet:jstl                    | 2.1           | Match WAS 7 specs                   |
| commons-dbcp:commons-dbcp             | 1.4           | 2.x requires Java 7                 |
| org.hibernate:hibernate-core          | 4.2.x         | 4.3.x requires JPA 2.1              |
| org.springframework:spring-test       | 3.x           | 4.x requires Servlet 3.0            |
| com.google.code.findbugs:findbugs     | 2.x           | 3.x requires Java 7                 |
<commit_msg>Update doc<commit_after># choonchernlim-archetype-webapp

TBD

## Prerequisites

* Maven version must be between 3.1.0 and 3.2.5.
    * Frontend Maven Plugin requires at least 3.1.0.
    * Maven 3.3.x requires Java 7.

## Troubleshooting

### `libsass` bindings not found. Try reinstalling `node-sass`?

Run `npm rebuild node-sass` to fix the problem. [See here for more info](http://stackoverflow.com/questions/28409100/try-reinstalling-node-sass-on-node-0-12).

## Version Restrictions

Some dependencies and plugins cannot be upgraded to the latest version to ensure they are compatible with Websphere 7's specs: Java SE 6, Java EE 5, Servlet 2.5, JSP 2.1, JPA: 2.0.

| Dependency                            | Version Used  | Why                                 |
| --------------------------------------|---------------|-------------------------------------|
| org.mortbay.jetty:jetty-maven-plugin  | 8.x           | 9.x requires Java 7 and Servlet 3.0 |
| javax.servlet:servlet-api             | 2.5           | Match WAS 7 specs                   |
| javax.servlet.jsp:jsp-api             | 2.1           | Match WAS 7 specs                   |
| javax.mail:mail                       | 1.4.x         | Match WAS 7 specs                   |
| javax.servlet:jstl                    | 2.1           | Match WAS 7 specs                   |
| commons-dbcp:commons-dbcp             | 1.4           | 2.x requires Java 7                 |
| org.hibernate:hibernate-core          | 4.2.x         | 4.3.x requires JPA 2.1              |
| org.springframework:spring-test       | 3.x           | 4.x requires Servlet 3.0            |
| com.google.code.findbugs:findbugs     | 2.x           | 3.x requires Java 7                 |

{'fraction_non_alphanumeric': 0.1410856985395426, 'fraction_numerical': 0.03637365665472582, 'mean_word_length': 1.3944591029023747, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6129601', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1024, 'n_words': 307}