<commit_before><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-api-parent</artifactId>
    <version>7.18.0-SNAPSHOT</version>
  </parent>

  <artifactId>kie-internal</artifactId>
  <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->

  <name>KIE :: Internal</name>
  <description>The Drools and jBPM internal API which is NOT backwards compatible between releases.</description>

  <properties>
    <java.module.name>org.kie.internal.api</java.module.name>
  </properties>

  <build>
    <resources>
      <resource>
        <filtering>false</filtering>
        <directory>src/main/resources</directory>
      </resource>
      <resource>
        <filtering>true</filtering>
        <directory>src/main/filtered-resources</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Import-Package>
              com.sun.tools.xjc;resolution:=optional,
              com.thoughtworks.xstream.*;resolution:=optional,
              javax.enterprise.*;resolution:=optional,
              javax.inject.*;resolution:=optional,
              javax.xml.datatype;resolution:=optional,
              javax.xml.bind;resolution:=optional,
              javax.xml.bind.annotation;resolution:=optional,
              javax.xml.bind.annotation.adapters;resolution:=optional,
              org.drools.compiler.builder.impl,
              org.drools.core.builder.conf.impl;resolution:=optional,
              org.drools.core.command.impl,
              org.drools.core.concurrent,
              org.drools.core.impl,
              org.drools.core.io.impl,
              org.drools.core.marshalling.impl;resolution:=optional,
              org.drools.core.util,
              org.drools.decisiontable;resolution:=optional,
              org.drools.workbench.models.guided.dtable.backend;resolution:=optional,
              org.drools.persistence.api;resolution:=optional,
              org.drools.persistence.jpa;resolution:=optional,
              org.jbpm.bpmn2;resolution:=optional,
              org.jbpm.marshalling.impl;resolution:=optional,
              org.jbpm.process.builder;resolution:=optional,
              org.jbpm.runtime.manager.impl;resolution:=optional,
              org.jbpm.services.task.persistence;resolution:=optional,
              org.appformer.maven.support,
              org.kie.soup.project.datamodel,
              org.kie.soup.project.datamodel.commons,
              org.kie.api,
              org.kie.api.builder,
              org.kie.api.builder.model,
              org.kie.api.command,
              org.kie.api.concurrent,
              org.kie.api.conf,
              org.kie.api.definition,
              org.kie.api.definition.process,
              org.kie.api.definition.rule,
              org.kie.api.definition.type,
              org.kie.api.event,
              org.kie.api.executor,
              org.kie.api.internal.assembler,
              org.kie.api.internal.io,
              org.kie.api.internal.runtime,
              org.kie.api.internal.weaver,
              org.kie.api.internal.runtime.beliefs,
              org.kie.api.internal.utils,
              org.kie.api.io,
              org.kie.api.logger,
              org.kie.api.marshalling,
              org.kie.api.persistence.jpa,
              org.kie.api.runtime,
              org.kie.api.runtime.conf,
              org.kie.api.runtime.manager,
              org.kie.api.runtime.manager.audit,
              org.kie.api.runtime.process,
              org.kie.api.runtime.rule,
              org.kie.api.runtime.query,
              org.kie.api.task,
              org.kie.api.task.model,
              org.kie.scanner;resolution:=optional,
              org.osgi.framework,
              org.osgi.util.tracker,
              org.slf4j
            </Import-Package>
            <Export-Package>
              org.kie.internal.*
            </Export-Package>
            <Bundle-Activator>org.kie.internal.osgi.Activator</Bundle-Activator>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
          <executions>
            <execution>
              <!-- Run the javadoc plugin also as part of the standard build (for other modules, it is executed only when -Dfull is specified).
                   Some downstream repositories (e.g. Drools) depend on this -javadoc artifact and need it even for non-full builds. -->
              <phase>package</phase>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-api</artifactId>
    </dependency>
    <dependency>
      <groupId>com.thoughtworks.xstream</groupId>
      <artifactId>xstream</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.enterprise</groupId>
      <artifactId>cdi-api</artifactId>
      <scope>provided</scope><!-- HACK for OSGi: should be <optional>true</optional> instead -->
      <exclusions>
        <exclusion>
          <groupId>javax.el</groupId>
          <artifactId>javax.el-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.interceptor</groupId>
          <artifactId>javax.interceptor-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-core</artifactId>
       <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-impl</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.jboss.spec.javax.xml.bind</groupId>
      <artifactId>jboss-jaxb-api_2.3_spec</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
    </dependency>
<commit_msg>Change scope of javax.activation:activation to provided (#365)<commit_after><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-api-parent</artifactId>
    <version>7.18.0-SNAPSHOT</version>
  </parent>

  <artifactId>kie-internal</artifactId>
  <packaging>bundle</packaging><!-- bundle = jar + OSGi metadata -->

  <name>KIE :: Internal</name>
  <description>The Drools and jBPM internal API which is NOT backwards compatible between releases.</description>

  <properties>
    <java.module.name>org.kie.internal.api</java.module.name>
  </properties>

  <build>
    <resources>
      <resource>
        <filtering>false</filtering>
        <directory>src/main/resources</directory>
      </resource>
      <resource>
        <filtering>true</filtering>
        <directory>src/main/filtered-resources</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Import-Package>
              com.sun.tools.xjc;resolution:=optional,
              com.thoughtworks.xstream.*;resolution:=optional,
              javax.enterprise.*;resolution:=optional,
              javax.inject.*;resolution:=optional,
              javax.xml.datatype;resolution:=optional,
              javax.xml.bind;resolution:=optional,
              javax.xml.bind.annotation;resolution:=optional,
              javax.xml.bind.annotation.adapters;resolution:=optional,
              org.drools.compiler.builder.impl,
              org.drools.core.builder.conf.impl;resolution:=optional,
              org.drools.core.command.impl,
              org.drools.core.concurrent,
              org.drools.core.impl,
              org.drools.core.io.impl,
              org.drools.core.marshalling.impl;resolution:=optional,
              org.drools.core.util,
              org.drools.decisiontable;resolution:=optional,
              org.drools.workbench.models.guided.dtable.backend;resolution:=optional,
              org.drools.persistence.api;resolution:=optional,
              org.drools.persistence.jpa;resolution:=optional,
              org.jbpm.bpmn2;resolution:=optional,
              org.jbpm.marshalling.impl;resolution:=optional,
              org.jbpm.process.builder;resolution:=optional,
              org.jbpm.runtime.manager.impl;resolution:=optional,
              org.jbpm.services.task.persistence;resolution:=optional,
              org.appformer.maven.support,
              org.kie.soup.project.datamodel,
              org.kie.soup.project.datamodel.commons,
              org.kie.api,
              org.kie.api.builder,
              org.kie.api.builder.model,
              org.kie.api.command,
              org.kie.api.concurrent,
              org.kie.api.conf,
              org.kie.api.definition,
              org.kie.api.definition.process,
              org.kie.api.definition.rule,
              org.kie.api.definition.type,
              org.kie.api.event,
              org.kie.api.executor,
              org.kie.api.internal.assembler,
              org.kie.api.internal.io,
              org.kie.api.internal.runtime,
              org.kie.api.internal.weaver,
              org.kie.api.internal.runtime.beliefs,
              org.kie.api.internal.utils,
              org.kie.api.io,
              org.kie.api.logger,
              org.kie.api.marshalling,
              org.kie.api.persistence.jpa,
              org.kie.api.runtime,
              org.kie.api.runtime.conf,
              org.kie.api.runtime.manager,
              org.kie.api.runtime.manager.audit,
              org.kie.api.runtime.process,
              org.kie.api.runtime.rule,
              org.kie.api.runtime.query,
              org.kie.api.task,
              org.kie.api.task.model,
              org.kie.scanner;resolution:=optional,
              org.osgi.framework,
              org.osgi.util.tracker,
              org.slf4j
            </Import-Package>
            <Export-Package>
              org.kie.internal.*
            </Export-Package>
            <Bundle-Activator>org.kie.internal.osgi.Activator</Bundle-Activator>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
          <executions>
            <execution>
              <!-- Run the javadoc plugin also as part of the standard build (for other modules, it is executed only when -Dfull is specified).
                   Some downstream repositories (e.g. Drools) depend on this -javadoc artifact and need it even for non-full builds. -->
              <phase>package</phase>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.kie</groupId>
      <artifactId>kie-api</artifactId>
    </dependency>
    <dependency>
      <groupId>com.thoughtworks.xstream</groupId>
      <artifactId>xstream</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.enterprise</groupId>
      <artifactId>cdi-api</artifactId>
      <scope>provided</scope><!-- HACK for OSGi: should be <optional>true</optional> instead -->
      <exclusions>
        <exclusion>
          <groupId>javax.el</groupId>
          <artifactId>javax.el-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.interceptor</groupId>
          <artifactId>javax.interceptor-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-core</artifactId>
       <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-impl</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.jboss.spec.javax.xml.bind</groupId>
      <artifactId>jboss-jaxb-api_2.3_spec</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
      <scope>provided</scope>
    </dependency>

{'fraction_non_alphanumeric': 0.13362219582081208, 'fraction_numerical': 0.004402823397861486, 'mean_word_length': 2.0266497461928936, 'pattern_counts': {'":': 0, '<': 357, '<?xml version=': 2, '>': 357, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 22}, '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': '311687', 'n_tokens_mistral': 4580, 'n_tokens_neox': 4144, 'n_words': 507}