<commit_before><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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.jvnet.hudson.main</groupId>
    <artifactId>pom</artifactId>
    <version>1.80-SNAPSHOT</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>hudson-war</artifactId>
  <packaging>war</packaging>
  <name>Hudson war</name>
  
  <build>
    <directory>target</directory>
    <finalName>hudson</finalName>
    
    <plugins>
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0</version>
        <configuration>
          <webResources>
            <resource>
              <directory>${basedir}/resources</directory>
            </resource>
            <resource>
              <directory>${basedir}/target/generated-resources</directory>
            </resource>
          </webResources>
        </configuration>
      </plugin>
      <plugin>
        <!-- for copying remoting jar to $WAR/WEB-INF/slave.jar -->
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>dependency-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.jvnet.hudson.main</groupId>
                  <artifactId>remoting</artifactId>
                  <version>${version}</version>
                  <classifier>${hudsonRemotingClassifier}</classifier>
                  <destFileName>slave.jar</destFileName>
                </artifactItem>
              </artifactItems>
              <outputDirectory>${basedir}/target/generated-resources/WEB-INF</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.mortbay.jetty</groupId> 
        <artifactId>maven-jetty-plugin</artifactId>
        <configuration>
          <contextPath>/</contextPath>
          <!--
            read directly from core module's output directory,
            so that changes are picked up right away without running mvn.
          -->
          <classesDirectory>../core/target/classes</classesDirectory>
          <!--<commit_msg>Using the same version as maven-hpi-plugin improves the debug experience by allowing IDE to see the container classes.<commit_after><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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.jvnet.hudson.main</groupId>
    <artifactId>pom</artifactId>
    <version>1.80-SNAPSHOT</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>hudson-war</artifactId>
  <packaging>war</packaging>
  <name>Hudson war</name>
  
  <build>
    <directory>target</directory>
    <finalName>hudson</finalName>
    
    <plugins>
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0</version>
        <configuration>
          <webResources>
            <resource>
              <directory>${basedir}/resources</directory>
            </resource>
            <resource>
              <directory>${basedir}/target/generated-resources</directory>
            </resource>
          </webResources>
        </configuration>
      </plugin>
      <plugin>
        <!-- for copying remoting jar to $WAR/WEB-INF/slave.jar -->
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>dependency-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.jvnet.hudson.main</groupId>
                  <artifactId>remoting</artifactId>
                  <version>${version}</version>
                  <classifier>${hudsonRemotingClassifier}</classifier>
                  <destFileName>slave.jar</destFileName>
                </artifactItem>
              </artifactItems>
              <outputDirectory>${basedir}/target/generated-resources/WEB-INF</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.mortbay.jetty</groupId> 
        <artifactId>maven-jetty-plugin</artifactId>
        <version>6.1.1</version>
        <configuration>
          <contextPath>/</contextPath>
          <!--
            read directly from core module's output directory,
            so that changes are picked up right away without running mvn.
          -->
          <classesDirectory>../core/target/classes</classesDirectory>
          <!--
{'fraction_non_alphanumeric': 0.1380933699489996, 'fraction_numerical': 0.009219301686936054, 'mean_word_length': 2.0153755174452987, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 0, '>': 183, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2036700', 'n_tokens_mistral': 1571, 'n_tokens_neox': 1420, 'n_words': 194}