<commit_before>package com.consol.citrus.mvn.plugin;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

import com.consol.citrus.util.TestCaseCreator;

/**
 * Goal which creates a new test case using test case creator.
 *
 * @goal create-test
 */
public class CreateTestCaseMojo extends AbstractMojo
{
    /** @parameter expression="${name}"
     *  @required */
    private String name;
    
    /** @parameter
     *          expression="${author}" 
     *          default-value="Unknown" */
    private String author;

    /** @parameter
     *          expression="${description}" 
     *          default-value="TODO: Description" */
    private String description;
    
    /** @parameter default-value="" */
    private String targetPackage;
    
    public void execute() throws MojoExecutionException
    {
        try {    
            TestCaseCreator creator = TestCaseCreator.build()
                .withName(name)
                .withAuthor(author)
                .withDescription(description)
                .usePackage(targetPackage);
            
            creator.createTestCase();
        } catch (ArrayIndexOutOfBoundsException e) {
            getLog().info("Wrong usage exception!");
            getLog().info("Use parameters in the following way: [test.name] [test.author] [test.description] [test.subfolder]");
        }
    }
}<commit_msg>Providing default value for targetPackage<commit_after>package com.consol.citrus.mvn.plugin;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

import com.consol.citrus.util.TestCaseCreator;

/**
 * Goal which creates a new test case using test case creator.
 *
 * @goal create-test
 */
public class CreateTestCaseMojo extends AbstractMojo
{
    /** @parameter expression="${name}"
     *  @required */
    private String name;
    
    /** @parameter
     *          expression="${author}" 
     *          default-value="Unknown" */
    private String author;

    /** @parameter
     *          expression="${description}" 
     *          default-value="TODO: Description" */
    private String description;
    
    /** @parameter default-value="com.consol.citrus" */
    private String targetPackage;
    
    public void execute() throws MojoExecutionException
    {
        try {    
            TestCaseCreator creator = TestCaseCreator.build()
                .withName(name)
                .withAuthor(author)
                .withDescription(description)
                .usePackage(targetPackage);
            
            creator.createTestCase();
        } catch (ArrayIndexOutOfBoundsException e) {
            getLog().info("Wrong usage exception!");
            getLog().info("Use parameters in the following way: [test.name] [test.author] [test.description] [test.subfolder]");
        }
    }
}
{'fraction_non_alphanumeric': 0.11291998614478697, 'fraction_numerical': 0.0, 'mean_word_length': 2.308132875143184, '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': '6894847', 'n_tokens_mistral': 765, 'n_tokens_neox': 743, 'n_words': 164}