<commit_before><!--
 *
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 *
-->

<assembly>
  <id>distribution</id>
  <formats>
    <format>zip</format>
  </formats>
  <includeBaseDirectory>true</includeBaseDirectory>
  <dependencySets>
    <!-- "xwiki" webapp. -->
    <dependencySet>
      <includes>
        <include>org.xwiki.enterprise:xwiki-enterprise-web</include>
      </includes>
      <outputDirectory>webapps/xwiki</outputDirectory>
      <unpack>true</unpack>
      <unpackOptions>
        <excludes>
          <exclude>**/hibernate.cfg.xml</exclude>
        </excludes>
      </unpackOptions>
    </dependencySet>
    <!-- ROOT webapp, redirecting to /xwiki/ when no application is specified. -->
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-rootwebapp</include>
      </includes>
      <outputDirectory>webapps/root</outputDirectory>
      <unpack>true</unpack>
    </dependencySet>
    <!-- Unpack Jetty files
         Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
         Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
                definitions, one with only start shell scripts and one without them.
    -->
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
      </includes>
      <outputDirectory>/</outputDirectory>
      <unpack>true</unpack>
      <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
      <outputFileNameMapping>/</outputFileNameMapping>
      <unpackOptions>
        <filtered>true</filtered>
        <includes>
          <include>**/start_xwiki*.*</include>
        </includes>
      </unpackOptions>
    </dependencySet>
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
      </includes>
      <outputDirectory>/</outputDirectory>
      <unpack>true</unpack>
      <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
      <outputFileNameMapping>/</outputFileNameMapping>
      <unpackOptions>
        <filtered>false</filtered>
        <excludes>
          <exclude>**/start_xwiki*.*</exclude>
        </excludes>
      </unpackOptions>
    </dependencySet>
    <!-- Add JDBC driver for the database to use. -->
    <dependencySet><commit_msg>XE-1051: XWiki Installer fails on Windows 7 * Fixed lost execute permissions on shell start scripts<commit_after><!--
 *
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 *
-->

<assembly>
  <id>distribution</id>
  <formats>
    <format>zip</format>
  </formats>
  <includeBaseDirectory>true</includeBaseDirectory>
  <dependencySets>
    <!-- "xwiki" webapp. -->
    <dependencySet>
      <includes>
        <include>org.xwiki.enterprise:xwiki-enterprise-web</include>
      </includes>
      <outputDirectory>webapps/xwiki</outputDirectory>
      <unpack>true</unpack>
      <unpackOptions>
        <excludes>
          <exclude>**/hibernate.cfg.xml</exclude>
        </excludes>
      </unpackOptions>
    </dependencySet>
    <!-- ROOT webapp, redirecting to /xwiki/ when no application is specified. -->
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-rootwebapp</include>
      </includes>
      <outputDirectory>webapps/root</outputDirectory>
      <unpack>true</unpack>
    </dependencySet>
    <!-- Unpack Jetty files
         Note1: We need to apply filtering to resolve the "xwikiDataDir" property in start shell scripts.
         Note2: Since the Assembly plugin doesn't allow us to specify which files should be filtered we need two
                definitions, one with only start shell scripts and one without them.
    -->
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
      </includes>
      <outputDirectory>/</outputDirectory>
      <unpack>true</unpack>
      <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
      <outputFileNameMapping>/</outputFileNameMapping>
      <unpackOptions>
        <filtered>true</filtered>
        <includes>
          <include>**/start_xwiki*.*</include>
        </includes>
      </unpackOptions>
      <!-- Extracting some resources from the dependency somehow looses the file permissions, so we need to set them
           again so that the start xwiki scripts are executable... -->
      <fileMode>755</fileMode>
    </dependencySet>
    <dependencySet>
      <includes>
        <include>org.xwiki.platform:xwiki-platform-tool-jetty-resources</include>
      </includes>
      <outputDirectory>/</outputDirectory>
      <unpack>true</unpack>
      <!-- TODO: This shouldn't be needed but there's a bug see http://jira.codehaus.org/browse/MASSEMBLY-554 -->
      <outputFileNameMapping>/</outputFileNameMapping>
      <unpackOptions>
        <filtered>false</filtered>
        <excludes>
          <exclude>**/start_xwiki*.*</exclude>
        </excludes>
      </unpackOptions>
    </dependencySet>
    <!-- Add JDBC driver for the database to use. -->
    <dependencySet>
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.007168458781362007, 'mean_word_length': 2.9257175014068655, 'pattern_counts': {'":': 0, '<': 174, '<?xml version=': 0, '>': 174, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2684818', 'n_tokens_mistral': 2013, 'n_tokens_neox': 1910, 'n_words': 600}