<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>
  <groupId>com.ambientideas</groupId>
  <artifactId>gae-maven-parent-pom</artifactId>
  <packaging>pom</packaging>
  <version>1.0</version>
  <name>GAE Parent POM for WebApps</name>
  <description>Google AppEngine POM for Maven WebApps</description>
  <url>http://appengine.google.com</url>
  
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.4</version>
      <scope>test</scope>
    </dependency>

    <!-- For servlet spec -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  
  <!-- Profiles for Google App Engine -->
  <profiles>
    <!-- Deploy to production -->
    <profile>
      <id>gaedeploy</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <phase>install</phase>
                <goals>
                  <goal>exec</goal>
                </goals>

                <configuration>
                  <executable>${env.APPENGINE_HOME}/bin/appcfg.sh</executable>
                  <arguments>
                    <argument>update</argument>
                    <argument>${project.build.directory}/${project.artifactId}-${project.version}</argument>
                  </arguments>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    
    <!-- Deploy to local dev test Jetty -->
    <profile>
      <id>gaedevappserver</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <phase>install</phase>
                <goals>
                  <goal>exec</goal>
                </goals>

                <configuration>
                  <executable>${env.APPENGINE_HOME}/bin/dev_appserver.sh</executable>
                  <arguments>
                    <argument>${project.build.directory}/${project.artifactId}-${project.version}</argument>
                  </arguments>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  
  <build>
    <plugins>
      <!-- Ant echo the usage instructions -->
    </plugins>
  </build>
</project><commit_msg>Added usage instructions to maven GAE pparent pom<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>
  <groupId>com.ambientideas</groupId>
  <artifactId>gae-maven-parent-pom</artifactId>
  <packaging>pom</packaging>
  <version>1.0.1</version>
  <name>GAE Parent POM for WebApps</name>
  <description>Google AppEngine POM for Maven WebApps</description>
  <url>http://appengine.google.com</url>
  
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.4</version>
      <scope>test</scope>
    </dependency>

    <!-- For servlet spec -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  
  <!-- Profiles for Google App Engine -->
  <profiles>
    <!-- Deploy to local dev test Jetty -->
    <profile>
      <id>gaedevappserver</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <phase>install</phase>
                <goals>
                  <goal>exec</goal>
                </goals>

                <configuration>
                  <executable>${env.APPENGINE_HOME}/bin/dev_appserver.sh</executable>
                  <arguments>
                    <argument>${project.build.directory}/${project.artifactId}-${project.version}</argument>
                  </arguments>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    
    <!-- Deploy to production -->
    <profile>
      <id>gaedeploy</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <phase>install</phase>
                <goals>
                  <goal>exec</goal>
                </goals>

                <configuration>
                  <executable>${env.APPENGINE_HOME}/bin/appcfg.sh</executable>
                  <arguments>
                    <argument>update</argument>
                    <argument>${project.build.directory}/${project.artifactId}-${project.version}</argument>
                  </arguments>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  
  <build>
    <plugins>
      <!-- Ant echo the usage instructions -->
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>echo-gae-usage</id>
            <goals>
              <goal>run</goal>
            </goals>
            <phase>install</phase>
            <configuration>
              <tasks>
                <echo>USAGE INSTRUCTIONS:</echo>
                <echo>To use the Google AppEngine integration, create a WAR project,</echo>
                <echo> extend from this POM via the parent tag and activate one of the two profiles.</echo>
                <echo> </echo>
                <echo>To launch a localhost development Jetty server:</echo>
                <echo> mvn install -P gaedevappserver</echo>
                <echo> </echo>
                <echo>To upload to the Google AppEngine production server:</echo>
                <echo> mvn install -P gaedeploy</echo>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
{'fraction_non_alphanumeric': 0.1422642049520538, 'fraction_numerical': 0.007871761843423501, 'mean_word_length': 1.6939090208172707, 'pattern_counts': {'":': 0, '<': 283, '<?xml version=': 0, '>': 283, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '5872613', 'n_tokens_mistral': 2164, 'n_tokens_neox': 1964, 'n_words': 315}