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

    <parent>
        <groupId>info.cukes</groupId>
        <artifactId>cucumber-jvm</artifactId>
        <relativePath>../pom.xml</relativePath>
        <version>1.0.1.RC7-SNAPSHOT</version>
    </parent>

    <artifactId>cucumber-jruby</artifactId>
    <packaging>jar</packaging>
    <name>Cucumber-JVM: JRuby</name>

    <dependencies>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jruby</groupId>
            <artifactId>jruby-complete</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <version>2.4.1</version>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>lib</directory>
                            <includes>
                                <include>**/*.*</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>package-full</id>
                        <phase>package</phase>
                        <configuration>
                            <target>
                                <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="maven.plugin.classpath" />

                                <jarjar jarfile="target/${project.build.finalName}-full.jar">
                                    <fileset dir="target/classes" />
                                    <zipfileset src="${maven.dependency.info.cukes.cucumber-core.jar.path}" />
                                    <zipfileset src="${maven.dependency.info.cukes.gherkin.jar.path}" />
                                    <zipfileset src="${maven.dependency.com.google.code.gson.gson.jar.path}" />
                                    <zipfileset src="${maven.dependency.com.googlecode.java-diff-utils.diffutils.jar.path}" />
                                    <zipfileset src="${maven.dependency.com.thoughtworks.xstream.xstream.jar.path}" />
                                </jarjar>

                                <!-- drop it in the lib directory for great justice -->
                                <copy file="${project.build.directory}/${project.build.finalName}-full.jar" tofile="${basedir}/lib/cucumber-jruby-full.jar" />
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>jruby-cli</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target>
                                <!-- also run the CLI test to ensure that stuff works via the CLI as well -->
                                <echo message="Running jruby tests via the CLI..." />
                                <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" fork="true" failonerror="true" newenvironment="true" maxmemory="512m">
                                    <arg value="-S" />
                                    <arg value="bin/cucumber-jvm" />
                                    <arg value="--glue" />
                                    <arg value="src/test/resources" />
                                    <arg value="src/test/resources" />
                                </java>
                            </target>
                        </configuration>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>com.googlecode.jarjar</groupId>
                        <artifactId>jarjar</artifactId>
                        <version>1.1</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>publish-gem</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <configuration>
                                    <target>
                                        <!-- build the gem file using jruby -->
                                        <echo message="Building Gem" />
                                        <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" failonerror="true">
                                            <arg value="-S" />
                                            <arg value="gem" />
                                            <arg value="build" />
                                            <arg value="cucumber-jvm.gemspec" />
                                        </java>
                                        <!-- publish the gem to the right spot -->
                                        <echo message="Publishing Gem" />
                                        <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" failonerror="true">
                                            <arg value="-S" />
                                            <arg value="gem" />
                                            <arg value="push" />
                                            <arg value="cucumber-jvm${project.parent.version}.gemspec" />
                                        </java>
                                    </target>
                                </configuration>
                                <goals>
                                    <goal>run</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

                </plugins>
            </build>
        </profile>
    </profiles>
</project><commit_msg>Properly place items in phases that make more sense<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>

    <parent>
        <groupId>info.cukes</groupId>
        <artifactId>cucumber-jvm</artifactId>
        <relativePath>../pom.xml</relativePath>
        <version>1.0.1.RC7-SNAPSHOT</version>
    </parent>

    <artifactId>cucumber-jruby</artifactId>
    <packaging>jar</packaging>
    <name>Cucumber-JVM: JRuby</name>

    <dependencies>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jruby</groupId>
            <artifactId>jruby-complete</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <version>2.4.1</version>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>lib</directory>
                            <includes>
                                <include>**/*.*</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>package-full</id>
                        <phase>package</phase>
                        <configuration>
                            <target>
                                <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask"
                                         classpathref="maven.plugin.classpath"/>

                                <jarjar jarfile="target/${project.build.finalName}-full.jar">
                                    <fileset dir="target/classes"/>
                                    <zipfileset src="${maven.dependency.info.cukes.cucumber-core.jar.path}"/>
                                    <zipfileset src="${maven.dependency.info.cukes.gherkin.jar.path}"/>
                                    <zipfileset src="${maven.dependency.com.google.code.gson.gson.jar.path}"/>
                                    <zipfileset
                                            src="${maven.dependency.com.googlecode.java-diff-utils.diffutils.jar.path}"/>
                                    <zipfileset src="${maven.dependency.com.thoughtworks.xstream.xstream.jar.path}"/>
                                </jarjar>

                                <!-- drop it in the lib directory for great justice -->
                                <copy file="${project.build.directory}/${project.build.finalName}-full.jar"
                                      tofile="${basedir}/lib/cucumber-jruby-full.jar"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>jruby-cli-test</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target>
                                <!-- also run the CLI test to ensure that stuff works via the CLI as well -->
                                <echo message="Running jruby tests via the CLI..."/>
                                <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" fork="true"
                                      failonerror="true" newenvironment="true" maxmemory="512m">
                                    <arg value="-S"/>
                                    <arg value="bin/cucumber-jvm"/>
                                    <arg value="--glue"/>
                                    <arg value="src/test/resources"/>
                                    <arg value="src/test/resources"/>
                                </java>
                            </target>
                        </configuration>
                    </execution>
                    <execution>
                        <id>package-gem</id>
                        <phase>package</phase>
                        <configuration>
                            <target>
                                <!-- build the gem file using jruby -->
                                <echo message="Building Gem"/>
                                <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" failonerror="true" fork="true">
                                    <arg value="-S"/>
                                    <arg value="gem"/>
                                    <arg value="build"/>
                                    <arg value="cucumber-jvm.gemspec"/>
                                </java>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>deploy-gem</id>
                        <phase>deploy</phase>
                        <configuration>
                            <target>
                                <!-- publish the gem to the right spot -->
                                <echo message="Publishing Gem"/>
                                <java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" failonerror="true" fork="true">
                                    <arg value="-S"/>
                                    <arg value="gem"/>
                                    <arg value="push"/>
                                    <arg value="cucumber-jvm${project.parent.version}.gemspec"/>
                                </java>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>

                </executions>
                <dependencies>
                    <dependency>
                        <groupId>com.googlecode.jarjar</groupId>
                        <artifactId>jarjar</artifactId>
                        <version>1.1</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>
</project>
{'fraction_non_alphanumeric': 0.11558477129553547, 'fraction_numerical': 0.003971514653519584, 'mean_word_length': 0.9118994632805341, 'pattern_counts': {'":': 0, '<': 373, '<?xml version=': 0, '>': 373, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 87, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2040740', 'n_tokens_mistral': 3658, 'n_tokens_neox': 3189, 'n_words': 464}