<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2012-2014 Continuuity, Inc.
 
 Licensed under the Apache License, Version 2.0 (the "License"); you may not
 use this file except in compliance with the License. You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software distributed under the 
 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 either express or implied. See the License for the specific language governing permissions
 and limitations under the License.
 
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.continuuity</groupId>
  <artifactId>examples</artifactId>
  <version>@project.version@</version>
  <packaging>pom</packaging>
  <name>Continuuity Examples</name>

  <modules>
    <module>CountAndFilterWords</module>
    <module>CountCounts</module>
    <module>CountOddAndEven</module>
    <module>CountRandom</module>
    <module>CountTokens</module>
    <module>HelloWorld</module>
    <module>PageViewAnalytics</module>
    <module>Purchase</module>
    <module>PurchaseAnalytics</module>
    <module>ResourceSpammer</module>
    <module>ResponseCodeAnalytics</module>
    <module>SimpleWriteAndRead</module>
    <module>Ticker</module>
    <module>TrafficAnalytics</module>
    <module>WordCount</module>
  </modules>

  <repositories>
    <repository>
      <id>continuuity-public</id>
      <url>https://repository.continuuity.com/content/groups/public</url>
    </repository>
  </repositories>

  <properties>
    <continuuity.reactor.version>@project.version@</continuuity.reactor.version>
    <hadoop.version>2.3.0</hadoop.version>
    <power.pack.version>[1.0.0,)</power.pack.version>
    <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
    <gson.version>2.2.4</gson.version>
    <guava.version>13.0.1</guava.version>
    <slf4j.version>1.7.5</slf4j.version>
    <junit.version>4.11</junit.version>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.14.1</version>
        <configuration>
          <argLine>-Xmx2048m -Djava.awt.headless=true -XX:MaxPermSize=256m</argLine>
          <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
          <reuseForks>false</reuseForks>
          <reportFormat>plain</reportFormat>
          <systemPropertyVariables>
            <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
          </systemPropertyVariables>
          <includes>
            <include>**/*TestsSuite.java</include>
            <include>**/Test*.java</include>
            <include>**/*Test.java</include>
            <include>**/*TestCase.java</include>
          </includes>
          <excludes>
            <exclude>**/*TestRun.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createDependencyReducedPom>false</createDependencyReducedPom>
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                  <manifestEntries>
                    <Main-Class>${app.main.class}</Main-Class>
                  </manifestEntries>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>com.continuuity</groupId>
      <artifactId>continuuity-api</artifactId>
      <version>${continuuity.reactor.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.continuuity</groupId>
      <artifactId>http</artifactId>
      <version>0.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${guava.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>${gson.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>${findbugs.jsr305.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.continuuity</groupId>
      <artifactId>continuuity-test</artifactId>
      <version>${continuuity.reactor.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
  </dependencies>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.3.2</version>
      </dependency>
      <dependency>
        <groupId>com.continuuity</groupId>
        <artifactId>power-pack</artifactId>
        <version>${power.pack.version}</version>
        <exclusions>
          <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
          </exclusion>
          <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
          </exclusion>
        </exclusions><commit_msg>Move http dependency into dependencyManagement section.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2012-2014 Continuuity, Inc.
 
 Licensed under the Apache License, Version 2.0 (the "License"); you may not
 use this file except in compliance with the License. You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software distributed under the 
 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 either express or implied. See the License for the specific language governing permissions
 and limitations under the License.
 
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.continuuity</groupId>
  <artifactId>examples</artifactId>
  <version>@project.version@</version>
  <packaging>pom</packaging>
  <name>Continuuity Examples</name>

  <modules>
    <module>CountAndFilterWords</module>
    <module>CountCounts</module>
    <module>CountOddAndEven</module>
    <module>CountRandom</module>
    <module>CountTokens</module>
    <module>HelloWorld</module>
    <module>PageViewAnalytics</module>
    <module>Purchase</module>
    <module>PurchaseAnalytics</module>
    <module>ResourceSpammer</module>
    <module>ResponseCodeAnalytics</module>
    <module>SimpleWriteAndRead</module>
    <module>Ticker</module>
    <module>TrafficAnalytics</module>
    <module>WordCount</module>
  </modules>

  <repositories>
    <repository>
      <id>continuuity-public</id>
      <url>https://repository.continuuity.com/content/groups/public</url>
    </repository>
  </repositories>

  <properties>
    <continuuity.reactor.version>@project.version@</continuuity.reactor.version>
    <hadoop.version>2.3.0</hadoop.version>
    <power.pack.version>[1.0.0,)</power.pack.version>
    <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
    <gson.version>2.2.4</gson.version>
    <guava.version>13.0.1</guava.version>
    <slf4j.version>1.7.5</slf4j.version>
    <junit.version>4.11</junit.version>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.14.1</version>
        <configuration>
          <argLine>-Xmx2048m -Djava.awt.headless=true -XX:MaxPermSize=256m</argLine>
          <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
          <reuseForks>false</reuseForks>
          <reportFormat>plain</reportFormat>
          <systemPropertyVariables>
            <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
          </systemPropertyVariables>
          <includes>
            <include>**/*TestsSuite.java</include>
            <include>**/Test*.java</include>
            <include>**/*Test.java</include>
            <include>**/*TestCase.java</include>
          </includes>
          <excludes>
            <exclude>**/*TestRun.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createDependencyReducedPom>false</createDependencyReducedPom>
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                  <manifestEntries>
                    <Main-Class>${app.main.class}</Main-Class>
                  </manifestEntries>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>com.continuuity</groupId>
      <artifactId>continuuity-api</artifactId>
      <version>${continuuity.reactor.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${guava.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>${gson.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>${findbugs.jsr305.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.continuuity</groupId>
      <artifactId>continuuity-test</artifactId>
      <version>${continuuity.reactor.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
  </dependencies>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.continuuity</groupId>
        <artifactId>http</artifactId>
        <version>0.2.0</version>
      </dependency>
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.3.2</version>
      </dependency>
      <dependency>
        <groupId>com.continuuity</groupId>
        <artifactId>power-pack</artifactId>
        <version>${power.pack.version}</version>
        <exclusions>
          <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
          </exclusion>
          <exclusion>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
          </exclusion>
        </exclusions>
{'fraction_non_alphanumeric': 0.14461954791467685, 'fraction_numerical': 0.014326647564469915, 'mean_word_length': 2.745156482861401, 'pattern_counts': {'":': 0, '<': 503, '<?xml version=': 2, '>': 503, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, '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': '3479005', 'n_tokens_mistral': 4134, 'n_tokens_neox': 3743, 'n_words': 506}