this.project.addTestCompileSourceRoot(GsCollectionsCodeGenerator.GENERATED_TEST_SOURCES_LOCATION);
this.project.addTestCompileSourceRoot(EclipseCollectionsCodeGenerator.GENERATED_TEST_SOURCES_LOCATION);
getTestIncludes()); compileFiles(includedFiles, testSourceDirectory, testOutputDirectory); project.addTestCompileSourceRoot(testOutputDirectory.getAbsolutePath());
break; case "test": project.addTestCompileSourceRoot(outputPath); break; default:
project.addTestCompileSourceRoot(m.getOutputDir().getAbsolutePath()); project.addTestCompileSourceRoot(m.getOutputDir().getAbsolutePath());
@Override protected void addCompileSourceRoot(String path) { project.addTestCompileSourceRoot(path); } }
project.addTestCompileSourceRoot( build.getTestSourceDirectory() );
public void execute() { for (File source : sources) { this.project.addTestCompileSourceRoot(source.getAbsolutePath()); } } }
project.addScriptSourceRoot( build.getScriptSourceDirectory() ); project.addCompileSourceRoot( build.getSourceDirectory() ); project.addTestCompileSourceRoot( build.getTestSourceDirectory() );
break; case "test": project.addTestCompileSourceRoot(outputPath.toString()); break; default:
@Override protected void addSourceRoot(final String path) { project.addTestCompileSourceRoot(path); } }
@Override protected void addCompileSourceRoot(MavenProject project, String dir) { project.addTestCompileSourceRoot(dir); }
public void execute() { for (File source : sources) { this.project.addTestCompileSourceRoot(source.getAbsolutePath()); } } }
public void execute() throws MojoExecutionException, MojoFailureException { for (File file : this.getSourceDirectories(SourceDirectory.TEST)) { this.project.addTestCompileSourceRoot(file.getAbsolutePath()); } } }
protected void addTestSourcePath(String path) { if (!project.getTestCompileSourceRoots().contains(path)) { log.debug("Added Test Source directory: " + path); project.addTestCompileSourceRoot(path); } }
void addSourceRoot(File outputDir) { if (generateTestSources) { project.addTestCompileSourceRoot(outputDir.getPath()); } else { project.addCompileSourceRoot(outputDir.getPath()); } }
public void execute() { for ( File source : sources ) { this.project.addTestCompileSourceRoot( source.getAbsolutePath() ); if ( getLog().isInfoEnabled() ) { getLog().info( "Test Source directory: " + source + " added." ); } } } }
/** * Adds the specified test source path to the project's test compile sources. * * @param path The test source path to add to the project's test compile sources */ protected void addTestSourcePath(final String path) { if (!project.getTestCompileSourceRoots().contains(path)) { getLog().debug("Added test source directory: " + path); project.addTestCompileSourceRoot(path); } }
public void execute() throws MojoExecutionException { project.addTestCompileSourceRoot(getOutputDirectory().getPath()); super.createTotalSpecifications(getTopDirectory(),null); final Resource[] resources = getResources(); for(final Resource resource : resources) { project.addTestResource(resource); } super.execute(); } }
public void execute() throws MojoExecutionException { project.addTestCompileSourceRoot(getOutputDirectory().getPath()); super.createTotalSpecifications(getTopDirectory(),null); final Resource[] resources = getResources(); for(final Resource resource : resources) { project.addTestResource(resource); } super.execute(); } }