<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>org.codehaus.mojo</groupId>
  <artifactId>test-reserve-port-with-surefire</artifactId>
  <version>1.0-SNAPSHOT</version>
  
  <name>test-reserve-port-with-surefire</name>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <build>
    
    <defaultGoal>package</defaultGoal>
    
    <plugins>

      <plugin>
      
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>        
        <executions>

          <execution>
            <id>reserve-ports</id>
            <phase>process-test-resources</phase>
            <goals>
              <goal>reserve-network-port</goal>
            </goals>
            <configuration>
              <portNames>
                <portName>port1</portName>
                <portName>port2</portName>
                <portName>port3</portName>
              </portNames>                
            </configuration>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId> 
        <version>2.5-SNAPSHOT</version>
          <configuration>
            <!-- surefire cant see this system property, will be fixed in surefire 2.5 see SUREFIRE-511 -->
            <systemProperties>
              <property>
                <name>port1</name>
                <value>${port1}</value>
              </property>            
            </systemProperties>
            
            <!-- but env can see this -->
            <environmentVariables>
              <port1>${port1}</port1>
              <targetDir>${project.build.directory}</targetDir>
            </environmentVariables><commit_msg>use released version of surefire in IT<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>org.codehaus.mojo</groupId>
  <artifactId>test-reserve-port-with-surefire</artifactId>
  <version>1.0-SNAPSHOT</version>
  
  <name>test-reserve-port-with-surefire</name>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <build>
    
    <defaultGoal>package</defaultGoal>
    
    <plugins>

      <plugin>
      
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>        
        <executions>

          <execution>
            <id>reserve-ports</id>
            <phase>process-test-resources</phase>
            <goals>
              <goal>reserve-network-port</goal>
            </goals>
            <configuration>
              <portNames>
                <portName>port1</portName>
                <portName>port2</portName>
                <portName>port3</portName>
              </portNames>                
            </configuration>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId> 
        <version>2.9</version>
          <configuration>
            <!-- surefire cant see this system property, will be fixed in surefire 2.5 see SUREFIRE-511 -->
            <systemProperties>
              <property>
                <name>port1</name>
                <value>${port1}</value>
              </property>            
            </systemProperties>
            
            <!-- but env can see this -->
            <environmentVariables>
              <port1>${port1}</port1>
              <targetDir>${project.build.directory}</targetDir>
            </environmentVariables>
{'fraction_non_alphanumeric': 0.13959634790965883, 'fraction_numerical': 0.0177799135031235, 'mean_word_length': 1.7827540106951871, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '4085601', 'n_tokens_mistral': 1328, 'n_tokens_neox': 1225, 'n_words': 153}