<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ch.elexis</groupId>
    <artifactId>ch.elexis.core.releng</artifactId>
    <version>3.0.0-SNAPSHOT</version>
    <relativePath>../</relativePath>
  </parent>
  <groupId>ch.elexis</groupId>
  <artifactId>ch.elexis.core.releng.product</artifactId>
  <version>3.0.0-SNAPSHOT</version>
  <packaging>eclipse-repository</packaging>

  <build>
    <plugins>
      <plugin>
        <groupId>com.github.goldin</groupId>
        <!-- see http://evgeny-goldin.com/wiki/Copy-maven-plugin -->
        <artifactId>copy-maven-plugin</artifactId>
        <version>0.2.5</version>
        <executions>
          <execution>
            <id>create-archive</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <resources>
                <!-- We have to copy the Elexis.product, as we cannot build a plug-in and a target inside the same Maven project
                    (or at least don't know howto)
                    Under Linux a symbolic link would suffice. But this did not work under Windows
                  -->
                  <resource>
                    <targetPath>${basedir}</targetPath>
                    <directory>${basedir}/../../ch.elexis.core.application</directory>
                    <includes>
                      <include>Elexis.product</include>
                    </includes>
                 </resource>
               </resources>
             </configuration>
           </execution>
         </executions>
      </plugin>            
      <plugin>
        <!-- Remove Elexis.product on clean -->
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <filesets>
            <fileset>
              <directory>${basedir}</directory>
                <includes>
                  <include>Elexis.product</include>
                </includes>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-repository-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <includeAllDependencies>true</includeAllDependencies>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-director-plugin</artifactId>
        <version>${tycho-version}</version>
        <executions>
          <execution>
            <id>materialize-products</id>
            <goals>
              <goal>materialize-products</goal>
            </goals>
          </execution>
          <execution>
            <id>archive-products</id>
            <goals>
              <goal>archive-products</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project> <commit_msg>[1605] pom.xml -> include product p2.inf<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ch.elexis</groupId>
    <artifactId>ch.elexis.core.releng</artifactId>
    <version>3.0.0-SNAPSHOT</version>
    <relativePath>../</relativePath>
  </parent>
  <groupId>ch.elexis</groupId>
  <artifactId>ch.elexis.core.releng.product</artifactId>
  <version>3.0.0-SNAPSHOT</version>
  <packaging>eclipse-repository</packaging>

  <build>
    <plugins>
      <plugin>
        <groupId>com.github.goldin</groupId>
        <!-- see http://evgeny-goldin.com/wiki/Copy-maven-plugin -->
        <artifactId>copy-maven-plugin</artifactId>
        <version>0.2.5</version>
        <executions>
          <execution>
            <id>create-archive</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <resources>
                <!-- We have to copy the Elexis.product, as we cannot build a plug-in and a target inside the same Maven project
                    (or at least don't know howto)
                    Under Linux a symbolic link would suffice. But this did not work under Windows
                  -->
                  <resource>
                    <targetPath>${basedir}</targetPath>
                    <directory>${basedir}/../../ch.elexis.core.application</directory>
                    <includes>
                      <include>Elexis.product</include>
                      <include>Elexis.p2.inf</include>
                    </includes>
                 </resource>
               </resources>
             </configuration>
           </execution>
         </executions>
      </plugin>            
      <plugin>
        <!-- Remove Elexis.product on clean -->
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <filesets>
            <fileset>
              <directory>${basedir}</directory>
                <includes>
                  <include>Elexis.product</include>
                </includes>
            </fileset>
          </filesets>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-repository-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <includeAllDependencies>true</includeAllDependencies>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-director-plugin</artifactId>
        <version>${tycho-version}</version>
        <executions>
          <execution>
            <id>materialize-products</id>
            <goals>
              <goal>materialize-products</goal>
            </goals>
          </execution>
          <execution>
            <id>archive-products</id>
            <goals>
              <goal>archive-products</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project> 
{'fraction_non_alphanumeric': 0.137156704361874, 'fraction_numerical': 0.007108239095315024, 'mean_word_length': 1.6288747346072188, 'pattern_counts': {'":': 0, '<': 245, '<?xml version=': 2, '>': 246, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '2999638', 'n_tokens_mistral': 1834, 'n_tokens_neox': 1705, 'n_words': 271}