<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>

  <artifactId>registration-openldap-rpm</artifactId>
  <packaging>rpm</packaging>

  <name>Registration Service OpenLDAP Support (RPM)</name>

  <parent>
    <groupId>eu.stratuslab.registration</groupId>
    <artifactId>registration-openldap</artifactId>
    <version>13.10.0-SNAPSHOT</version>
  </parent>

  <dependencies>
    <dependency>
      <groupId>eu.stratuslab.registration</groupId>
      <artifactId>registration-openldap-tar</artifactId>
      <type>tar.gz</type>
      <version>${project.version}</version>
    </dependency>
  </dependencies>
  
  <properties> 
    <installation.dir>/opt/stratuslab/registration</installation.dir>
    <registration-war>registration-war-${project.version}.war</registration-war>
    <maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format> 
    <RELEASE>0.${maven.build.timestamp}.${package.os}</RELEASE>
  </properties>

  <build>
    
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>

        <executions>

          <execution>
            <id>copy-tar</id>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}/ldap-config</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>eu.stratuslab.registration</groupId>
                  <artifactId>registration-openldap-tar</artifactId>
                  <type>tar.gz</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>

        </executions>

      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rpm-maven-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <release>${RELEASE}</release>
          <summary>StratusLab Registration Application OpenLDAP support </summary>
          <name>stratuslab-openldap-support</name>
          <group>System</group>
          <vendor>StratusLab</vendor>
          <packager>StratusLab</packager>
          <copyright>Apache</copyright>
          <url>http://www.stratuslab.eu/</url>
          <needarch>noarch</needarch>
          <description>
            OpenLDAP support for StratusLab registration service. 
          </description>
          <requires>
            <require>openldap-clients</require>
            <require>openldap-servers</require>
            <require>cyrus-sasl-ldap</require>
          </requires>
          <defaultDirmode>755</defaultDirmode><commit_msg>add JRE as a dependency for needed keytool command (fix #5)<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>

  <artifactId>registration-openldap-rpm</artifactId>
  <packaging>rpm</packaging>

  <name>Registration Service OpenLDAP Support (RPM)</name>

  <parent>
    <groupId>eu.stratuslab.registration</groupId>
    <artifactId>registration-openldap</artifactId>
    <version>13.10.0-SNAPSHOT</version>
  </parent>

  <dependencies>
    <dependency>
      <groupId>eu.stratuslab.registration</groupId>
      <artifactId>registration-openldap-tar</artifactId>
      <type>tar.gz</type>
      <version>${project.version}</version>
    </dependency>
  </dependencies>
  
  <properties> 
    <installation.dir>/opt/stratuslab/registration</installation.dir>
    <registration-war>registration-war-${project.version}.war</registration-war>
    <maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format> 
    <RELEASE>0.${maven.build.timestamp}.${package.os}</RELEASE>
  </properties>

  <build>
    
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>

        <executions>

          <execution>
            <id>copy-tar</id>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}/ldap-config</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>eu.stratuslab.registration</groupId>
                  <artifactId>registration-openldap-tar</artifactId>
                  <type>tar.gz</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>

        </executions>

      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rpm-maven-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <release>${RELEASE}</release>
          <summary>StratusLab Registration Application OpenLDAP support </summary>
          <name>stratuslab-openldap-support</name>
          <group>System</group>
          <vendor>StratusLab</vendor>
          <packager>StratusLab</packager>
          <copyright>Apache</copyright>
          <url>http://www.stratuslab.eu/</url>
          <needarch>noarch</needarch>
          <description>
            OpenLDAP support for StratusLab registration service. 
          </description>
          <requires>
            <require>openldap-clients</require>
            <require>openldap-servers</require>
            <require>cyrus-sasl-ldap</require>
            <require>java-1.7.0-openjdk</require>
          </requires>
          <defaultDirmode>755</defaultDirmode>
{'fraction_non_alphanumeric': 0.14183915846623685, 'fraction_numerical': 0.009501187648456057, 'mean_word_length': 2.43731778425656, 'pattern_counts': {'":': 0, '<': 223, '<?xml version=': 0, '>': 223, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1030071', 'n_tokens_mistral': 1934, 'n_tokens_neox': 1712, 'n_words': 188}