<commit_before>package org.apache.maven.integrationtests;
import java.io.*;
import java.util.*;

import junit.framework.*;

import org.apache.maven.it.*;
import org.apache.maven.it.util.*;

public class MavenIT0035Test extends TestCase /*extends AbstractMavenIntegrationTest*/ {    

/** Test artifact relocation. */
public void testit0035() throws Exception {
String basedir = System.getProperty("maven.test.tmpdir", System.getProperty("java.io.tmpdir"));
File testDir = new File(basedir, getName());
FileUtils.deleteDirectory(testDir);
System.out.println("Extracting it0035 to " + testDir.getAbsolutePath());
ResourceExtractor.extractResourcePath(getClass(), "/it0035", testDir);
Verifier verifier = new Verifier(testDir.getAbsolutePath());
verifier.deleteArtifact("org.apache.maven", "maven-core-it-support", "1.1", "jar");
verifier.deleteArtifact("org.apache.maven", "maven-core-it-support", "1.1", "pom");
verifier.deleteArtifact("org.apache.maven", "maven-core-it-support-old-location", "1.1", "pom");
verifier.executeGoal("package");
verifier.assertArtifactPresent("org.apache.maven", "maven-core-it-support", "1.1", "jar");
verifier.assertArtifactPresent("org.apache.maven", "maven-core-it-support", "1.1", "pom");
verifier.assertArtifactPresent("org.apache.maven", "maven-core-it-support-old-location", "1.1", "pom");
verifier.verifyErrorFreeLog();
verifier.resetStreams();
System.out.println("PASS");
}}
<commit_msg>o reformat and optimize imports<commit_after>package org.apache.maven.integrationtests;

import junit.framework.TestCase;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.FileUtils;
import org.apache.maven.it.util.ResourceExtractor;

import java.io.File;

public class MavenIT0035Test
    extends TestCase /*extends AbstractMavenIntegrationTest*/
{

    /**
     * Test artifact relocation.
     */
    public void testit0035()
        throws Exception
    {
        String basedir = System.getProperty( "maven.test.tmpdir", System.getProperty( "java.io.tmpdir" ) );
        File testDir = new File( basedir, getName() );
        FileUtils.deleteDirectory( testDir );
        System.out.println( "Extracting it0035 to " + testDir.getAbsolutePath() );
        ResourceExtractor.extractResourcePath( getClass(), "/it0035", testDir );
        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
        verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.1", "jar" );
        verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.1", "pom" );
        verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support-old-location", "1.1", "pom" );
        verifier.executeGoal( "package" );
        verifier.assertArtifactPresent( "org.apache.maven", "maven-core-it-support", "1.1", "jar" );
        verifier.assertArtifactPresent( "org.apache.maven", "maven-core-it-support", "1.1", "pom" );
        verifier.assertArtifactPresent( "org.apache.maven", "maven-core-it-support-old-location", "1.1", "pom" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();
        System.out.println( "PASS" );
    }
}

{'fraction_non_alphanumeric': 0.1637295738545338, 'fraction_numerical': 0.017942966997757128, 'mean_word_length': 4.535460992907802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7665550', 'n_tokens_mistral': 1047, 'n_tokens_neox': 987, 'n_words': 171}