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


    <parent>
        <groupId>org.wso2.carbon.business-process</groupId>
        <artifactId>bpmn-feature</artifactId>
        <version>4.4.1-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.bpmn.server.feature</artifactId>
    <packaging>pom</packaging>
    <name>WSO2 Carbon - BPMN Server - Core Feature</name>
    <url>http://wso2.org</url>
    <description>This feature contains the core bundles required for Back-end BPMN Server
        functionality
    </description>

    <dependencies>
        <dependency>
            <groupId>org.wso2.carbon.business-process</groupId>
            <artifactId>org.wso2.carbon.bpmn</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon.business-process</groupId>
            <artifactId>org.wso2.carbon.bpmn.rest</artifactId>
        </dependency>
        <dependency>
            <groupId>com.h2database.wso2</groupId>
            <artifactId>h2-database-engine</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <id>clean-bpmn-h2-database</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <delete file="resources/conf/activiti.h2.db" />
                            </tasks>
                        </configuration>
                    </execution>
                    <execution>
                        <id>create-bpel-h2-database</id>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <path id="h2.classpath">
                                    <path refid="maven.compile.classpath" />
                                </path>

                                <echo message="########### Create Activiti Database ##############" />

                                <sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/resources/conf/activiti;create=true" userid="wso2carbon" password="<PASSWORD>" autocommit="true" onerror="continue">
                                    <classpath>
                                        <path refid="h2.classpath" />
                                    </classpath>
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.engine.sql" />
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.history.sql" />
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.identity.sql" />
                                </sql>
                                <echo message="##################### END ############################" />
                                <echo message="********Version of H2: " />
                                <echo>${orbit.version.h2.engine}</echo>
                            </tasks>
                        </configuration>
                    </execution>
                    <execution>
                        <id>clean_target</id>
                        <phase>install</phase>
                        <configuration>
                            <tasks>
                                <delete dir="src/main/resources" />
                                <delete dir="src/main" />
                                <delete dir="src" />
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <id>2-copy-resources</id>
                        <!--phase>generate-resources</phase-->
                        <phase>package</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>src/main/resources</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>resources</directory>
                                    <includes>
                                        <include>conf/datasources/activiti-datasources.xml</include>
                                        <include>conf/activiti.xml</include>
                                        <include>**/activiti.h2.db</include>
                                        <include>**/*.sql</include>
                                        <include>p2.inf</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.wso2.maven</groupId>
                <artifactId>carbon-p2-plugin</artifactId>
                <version>${carbon.p2.plugin.version}</version>
                <executions>
                    <execution>
                        <id>3-p2-feature-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-feature-gen</goal>
                        </goals>
                        <configuration>
                            <id>org.wso2.carbon.bpmn.server</id>
                            <propertiesFile>../../etc/feature.properties</propertiesFile>
                            <adviceFile>
                                <properties>
                                    <propertyDef>org.wso2.carbon.p2.category.type:server
                                    </propertyDef>
                                    <propertyDef>org.eclipse.equinox.p2.type.group:false
                                    </propertyDef>
                                </properties>
                            </adviceFile>
                            <bundles>
                                <bundleDef>org.wso2.carbon.business-process:org.wso2.carbon.bpmn
                                </bundleDef>
                                <bundleDef>
                                    org.wso2.carbon.business-process:org.wso2.carbon.bpmn.rest
                                </bundleDef>
                            </bundles>
                            <importBundles>
				<importBundleDef>org.wso2.orbit.org.activiti:activiti-all:5.16.3.wso2v1</importBundleDef>

                                <importBundleDef>org.apache.commons:commons-lang3:3.3.2</importBundleDef>
                                <importBundleDef>com.fasterxml.jackson.core:jackson-core:2.2.3</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.core:jackson-databind:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>com.fasterxml.jackson.core:jackson-annotations:2.2.3</importBundleDef>
                                <importBundleDef>joda-time:joda-time:2.1</importBundleDef>
                                <importBundleDef>org.apache.commons:commons-email:1.2</importBundleDef>
                                <importBundleDef>org.wso2.orbit.javax.mail:mail:1.4.1.wso2v1</importBundleDef>
                                <importBundleDef>org.mybatis:mybatis:3.2.5</importBundleDef>
                                <importBundleDef>commons-logging:commons-logging:1.1.3</importBundleDef>

                                <importBundleDef>org.wso2.orbit.org.restlet.jee:restlet:2.2.1.wso2v1</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.dataformat:jackson-dataformat:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>org.codehaus.woodstox:woodstox-core-asl:4.2.0</importBundleDef>
                                <importBundleDef>org.yaml:snakeyaml:1.13</importBundleDef>
                                <importBundleDef>org.wso2.orbit.org.tinyjee.jgraphx:jgraphx:1.10.4.1.wso2v1</importBundleDef>
                                <importBundleDef>commons-io:commons-io:2.0.1</importBundleDef>
                                <importBundleDef>commons-fileupload:commons-fileupload:1.2.2</importBundleDef>
                                <importBundleDef>org.codehaus.woodstox:stax2-api:3.1.1</importBundleDef>
	
                            </importBundles>


                            <importFeatures>
                                <importFeatureDef>
                                    org.wso2.carbon.core.server:${carbon.kernel.version}
                                </importFeatureDef>
                            </importFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project><commit_msg>removed dependencies that are already provided by carbon.<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">


    <parent>
        <groupId>org.wso2.carbon.business-process</groupId>
        <artifactId>bpmn-feature</artifactId>
        <version>4.4.1-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.bpmn.server.feature</artifactId>
    <packaging>pom</packaging>
    <name>WSO2 Carbon - BPMN Server - Core Feature</name>
    <url>http://wso2.org</url>
    <description>This feature contains the core bundles required for Back-end BPMN Server
        functionality
    </description>

    <dependencies>
        <dependency>
            <groupId>org.wso2.carbon.business-process</groupId>
            <artifactId>org.wso2.carbon.bpmn</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon.business-process</groupId>
            <artifactId>org.wso2.carbon.bpmn.rest</artifactId>
        </dependency>
        <dependency>
            <groupId>com.h2database.wso2</groupId>
            <artifactId>h2-database-engine</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <id>clean-bpmn-h2-database</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <delete file="resources/conf/activiti.h2.db" />
                            </tasks>
                        </configuration>
                    </execution>
                    <execution>
                        <id>create-bpel-h2-database</id>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <path id="h2.classpath">
                                    <path refid="maven.compile.classpath" />
                                </path>

                                <echo message="########### Create Activiti Database ##############" />

                                <sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/resources/conf/activiti;create=true" userid="wso2carbon" password="<PASSWORD>" autocommit="true" onerror="continue">
                                    <classpath>
                                        <path refid="h2.classpath" />
                                    </classpath>
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.engine.sql" />
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.history.sql" />
                                    <fileset file="${basedir}/resources/dbscripts/create/activiti.h2.create.identity.sql" />
                                </sql>
                                <echo message="##################### END ############################" />
                                <echo message="********Version of H2: " />
                                <echo>${orbit.version.h2.engine}</echo>
                            </tasks>
                        </configuration>
                    </execution>
                    <execution>
                        <id>clean_target</id>
                        <phase>install</phase>
                        <configuration>
                            <tasks>
                                <delete dir="src/main/resources" />
                                <delete dir="src/main" />
                                <delete dir="src" />
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <id>2-copy-resources</id>
                        <!--phase>generate-resources</phase-->
                        <phase>package</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>src/main/resources</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>resources</directory>
                                    <includes>
                                        <include>conf/datasources/activiti-datasources.xml</include>
                                        <include>conf/activiti.xml</include>
                                        <include>**/activiti.h2.db</include>
                                        <include>**/*.sql</include>
                                        <include>p2.inf</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.wso2.maven</groupId>
                <artifactId>carbon-p2-plugin</artifactId>
                <version>${carbon.p2.plugin.version}</version>
                <executions>
                    <execution>
                        <id>3-p2-feature-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-feature-gen</goal>
                        </goals>
                        <configuration>
                            <id>org.wso2.carbon.bpmn.server</id>
                            <propertiesFile>../../etc/feature.properties</propertiesFile>
                            <adviceFile>
                                <properties>
                                    <propertyDef>org.wso2.carbon.p2.category.type:server
                                    </propertyDef>
                                    <propertyDef>org.eclipse.equinox.p2.type.group:false
                                    </propertyDef>
                                </properties>
                            </adviceFile>
                            <bundles>
                                <bundleDef>org.wso2.carbon.business-process:org.wso2.carbon.bpmn
                                </bundleDef>
                                <bundleDef>
                                    org.wso2.carbon.business-process:org.wso2.carbon.bpmn.rest
                                </bundleDef>
                            </bundles>
                            <importBundles>
				<importBundleDef>org.wso2.orbit.org.activiti:activiti-all:5.16.3.wso2v1</importBundleDef>

                                <importBundleDef>org.apache.commons:commons-lang3:3.3.2</importBundleDef>
                                <importBundleDef>com.fasterxml.jackson.core:jackson-core:2.2.3</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.core:jackson-databind:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>com.fasterxml.jackson.core:jackson-annotations:2.2.3</importBundleDef>
                                <importBundleDef>joda-time:joda-time:2.1</importBundleDef>
                                <importBundleDef>org.apache.commons:commons-email:1.2</importBundleDef>
                                <!-- importBundleDef>org.wso2.orbit.javax.mail:mail:1.4.1.wso2v1</importBundleDef -->
                                <importBundleDef>org.mybatis:mybatis:3.2.5</importBundleDef>
                                <!-- importBundleDef>commons-logging:commons-logging:1.1.3</importBundleDef -->

                                <importBundleDef>org.wso2.orbit.org.restlet.jee:restlet:2.2.1.wso2v1</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.dataformat:jackson-dataformat:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>org.wso2.orbit.com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.2.3.wso2v1</importBundleDef>
                                <importBundleDef>org.codehaus.woodstox:woodstox-core-asl:4.2.0</importBundleDef>
                                <importBundleDef>org.yaml:snakeyaml:1.13</importBundleDef>
                                <importBundleDef>org.wso2.orbit.org.tinyjee.jgraphx:jgraphx:1.10.4.1.wso2v1</importBundleDef>
                                <importBundleDef>commons-io:commons-io:2.0.1</importBundleDef>
                                <importBundleDef>commons-fileupload:commons-fileupload:1.2.2</importBundleDef>
                                <importBundleDef>org.codehaus.woodstox:stax2-api:3.1.1</importBundleDef>
	
                            </importBundles>


                            <importFeatures>
                                <importFeatureDef>
                                    org.wso2.carbon.core.server:${carbon.kernel.version}
                                </importFeatureDef>
                            </importFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
{'fraction_non_alphanumeric': 0.11732035780988892, 'fraction_numerical': 0.014548314164946426, 'mean_word_length': 1.0717849506160269, 'pattern_counts': {'":': 0, '<': 495, '<?xml version=': 2, '>': 495, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 22}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7657129', 'n_tokens_mistral': 5419, 'n_tokens_neox': 4881, 'n_words': 460}