<commit_before>/*
 * Copyright Terracotta, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package scripts;

class Utils {

  String version

  def fillManifest(manifest, title) {
    manifest.attributes(
            'provider': 'gradle',
            'Implementation-Title': title,
            'Implementation-Version': version,
            'Built-By': System.getProperty('user.name'),
            'Built-JDK': System.getProperty('java.version'),
            'Build-Time': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
    )
  }

  def pomFiller(pom, nameVar, descriptionVar) {
    pom.project {
      name = nameVar
      description = descriptionVar
      url = 'http://ehcache.org'
      organization {
        name = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
        url = 'http://terracotta.org'
      }
      issueManagement {
        system = 'Github'
        url = 'https://github.com/ehcache/ehcache3/issues'
      }
      scm {
        url = 'https://github.com/ehcache/ehcache3'
        connection = 'scm:git:https://github.com/ehcache/ehcache3.git'
        developerConnection = 'scm:git:<EMAIL>:ehcache/ehcache3.git'
      }
      licenses {
        license {
          name = 'The Apache Software License, Version 2.0'
          url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
          distribution = 'repo'
        }
      }
      developers {
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
      }
    }
  }
}<commit_msg>Issue #644 Replace developers in pom file<commit_after>/*
 * Copyright Terracotta, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package scripts;

class Utils {

  String version

  def fillManifest(manifest, title) {
    manifest.attributes(
            'provider': 'gradle',
            'Implementation-Title': title,
            'Implementation-Version': version,
            'Built-By': System.getProperty('user.name'),
            'Built-JDK': System.getProperty('java.version'),
            'Build-Time': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
    )
  }

  def pomFiller(pom, nameVar, descriptionVar) {
    pom.project {
      name = nameVar
      description = descriptionVar
      url = 'http://ehcache.org'
      organization {
        name = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
        url = 'http://terracotta.org'
      }
      issueManagement {
        system = 'Github'
        url = 'https://github.com/ehcache/ehcache3/issues'
      }
      scm {
        url = 'https://github.com/ehcache/ehcache3'
        connection = 'scm:git:https://github.com/ehcache/ehcache3.git'
        developerConnection = 'scm:git:<EMAIL>:ehcache/ehcache3.git'
      }
      licenses {
        license {
          name = 'The Apache Software License, Version 2.0'
          url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
          distribution = 'repo'
        }
      }
      developers {
        developer {
          name = '<NAME>'
          email = '<EMAIL>'
          organization = 'Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.'
          organizationUrl = 'http://ehcache.org'
        }
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.1156043295249549, 'fraction_numerical': 0.004058929645219483, 'mean_word_length': 2.0504355800091703, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, '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': '4906057', 'n_tokens_mistral': 1868, 'n_tokens_neox': 1812, 'n_words': 534}