<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ch.elexis.base</groupId>
    <artifactId>elexis-3-base</artifactId>
    <version>3.0.0-SNAPSHOT</version>
  </parent>
  <artifactId>ch.elexis.base.p2site</artifactId>
  <packaging>eclipse-repository</packaging>
    <build>
      <plugins>
        <plugin>
           <groupId>com.google.code.maven-replacer-plugin</groupId>
           <artifactId>replacer</artifactId>
           <version>1.5.2</version>
           <executions>
               <execution>
                   <phase> generate-sources </phase>
                   <goals>
                       <goal>replace</goal>
                   </goals>                   
               </execution>
           </executions>
           <configuration>
               <outputDir>..</outputDir>
               <basedir>${project.basedir}/info</basedir>
               <filesToInclude>repo.properties,Elexis.p2.inf</filesToInclude>
               <replacements>
                   <replacement>
                       <token>project_name</token>
                       <value>${project.name}</value>
                   </replacement>           
                   <replacement>
                       <token>project_version</token>
                       <value>${project.version}</value>
                   </replacement>         
                   <replacement>
                       <token>buildQualifier</token>
                       <value>${buildQualifier}</value>
                   </replacement>         
                   <replacement>
                       <token>unqualifiedVersion</token>
                       <value>${unqualifiedVersion}</value>
                   </replacement>         
                   <replacement>
                       <token>repo_name</token>
                       <value>${repo_name}</value>
                   </replacement>         
                   <replacement>
                       <token>repo_variant</token>
                       <value>${repo_variant}</value>
                   </replacement>         
               </replacements>
           </configuration>
        </plugin>
      <plugin>
        <!-- Remove Elexis.product on clean -->
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <filesets><commit_msg>Compute buildQualifier for repository using groovy<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ch.elexis.base</groupId>
    <artifactId>elexis-3-base</artifactId>
    <version>3.0.0-SNAPSHOT</version>
  </parent>
  <artifactId>ch.elexis.base.p2site</artifactId>
  <packaging>eclipse-repository</packaging>
    <build>
      <plugins>
        <plugin>
          <groupId>com.github.goldin</groupId>
          <artifactId>properties-maven-plugin</artifactId>
          <version>0.2.5</version>
          <executions>
            <execution>
              <id>set-properties</id>
              <phase>validate</phase>
              <goals>
                <goal>set-properties</goal>
              </goals>
              <configuration>
                <properties>
                  <property>
                    <name>groovyBuildQualifier</name>
                    <value>{{import java.text.SimpleDateFormat; new
                      SimpleDateFormat("'"+project.properties.repo_variant.substring(0,1).replaceFirst('s','a')+"'yyyyMMdd-HHmm").format(Calendar.getInstance().getTime())
                        }}</value>
                      </property>
                    </properties>
                  </configuration>
                </execution>
              </executions>
            </plugin>
          <plugin>
           <groupId>com.google.code.maven-replacer-plugin</groupId>
           <artifactId>replacer</artifactId>
           <version>1.5.2</version>
           <executions>
               <execution>
                   <phase> generate-sources </phase>
                   <goals>
                       <goal>replace</goal>
                   </goals>                   
               </execution>
           </executions>
           <configuration>
               <outputDir>..</outputDir>
               <basedir>${project.basedir}/info</basedir>
               <filesToInclude>repo.properties,Elexis.p2.inf</filesToInclude>
               <replacements>
                   <replacement>
                       <token>project_name</token>
                       <value>${project.name}</value>
                   </replacement>           
                   <replacement>
                       <token>project_version</token>
                       <value>${project.version}</value>
                   </replacement>         
                   <replacement>
                       <token>buildQualifier</token>
                       <value>${groovyBuildQualifier}</value>
                   </replacement>         
                   <replacement>
                       <token>unqualifiedVersion</token>
                       <value>${unqualifiedVersion}</value>
                   </replacement>         
                   <replacement>
                       <token>repo_name</token>
                       <value>${repo_name}</value>
                   </replacement>         
                   <replacement>
                       <token>repo_variant</token>
                       <value>${repo_variant}</value>
                   </replacement>         
               </replacements>
           </configuration>
        </plugin>
      <plugin>
        <!-- Remove Elexis.product on clean -->
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <filesets>
{'fraction_non_alphanumeric': 0.12741124979737398, 'fraction_numerical': 0.009888150429567191, 'mean_word_length': 1.3065420560747663, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, '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': '5774410', 'n_tokens_mistral': 1715, 'n_tokens_neox': 1559, 'n_words': 170}