File | Line |
---|
org/jdtaus/core/container/mojo/AbstractContainerMojo.java | 481 |
org/jdtaus/core/container/mojo/AbstractContainerMojo.java | 524 |
getCompileSourceRoots().iterator(); it.hasNext(); )
{
sourceRoot = (String) it.next();
parentRoot = new File( sourceRoot );
if ( !parentRoot.exists() || !parentRoot.isDirectory() )
{
continue;
}
scanner = new DirectoryScanner();
scanner.setBasedir( sourceRoot );
scanner.setIncludes( DEFAULT_SOURCE_INCLUDES );
scanner.addDefaultExcludes();
scanner.scan();
for ( final Iterator it2 =
Arrays.asList( scanner.getIncludedFiles() ).iterator();
it2.hasNext(); )
{
file = new File( parentRoot, (String) it2.next() );
files.add( file );
}
}
return files;
}
/**
* Gets all source files from the project's test compile source roots.
*
* @return a {@code Collection} holding {@code File} instances for all
* source files found in all test compile source roots.
*/
protected final Collection getTestSources() |
File | Line |
---|
org/jdtaus/core/container/mojo/ContainerReport.java | 1201 |
org/jdtaus/core/container/mojo/VerifyModelMojo.java | 381 |
final Collection deps = new LinkedList();
for ( int m = model.getModules().size() - 1; m >= 0; m-- )
{
final Module mod = model.getModules().getModule( m );
for ( int i = mod.getImplementations().size() - 1; i >= 0; i-- )
{
final Implementation impl = mod.getImplementations().
getImplementation( i );
for ( int d = impl.getDependencies().size() - 1; d >= 0; d-- )
{ |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaContainerMojo.java | 353 |
org/jdtaus/core/container/mojo/JavaContainerTestsMojo.java | 94 |
mod.getName() ) );
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader );
}
} |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaCommitMojo.java | 104 |
org/jdtaus/core/container/mojo/JavaCommitTestsMojo.java | 75 |
getBuild().getOutputDirectory() ) );
}
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader );
}
} |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaContainerMojo.java | 353 |
org/jdtaus/core/container/mojo/JavaContainerTestsMojo.java | 94 |
org/jdtaus/core/container/mojo/VerifyModelMojo.java | 121 |
mod.getName() ) );
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader );
}
} |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaContainerMojo.java | 353 |
org/jdtaus/core/container/mojo/JavaContainerTestsMojo.java | 94 |
org/jdtaus/core/container/mojo/SpringDescriptorMojo.java | 224 |
org/jdtaus/core/container/mojo/VerifyModelMojo.java | 121 |
mod.getName() ) );
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader ); |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaCommitMojo.java | 107 |
org/jdtaus/core/container/mojo/VerifyModelMojo.java | 123 |
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader );
}
}
protected void commitImplementation( final Model model, |
File | Line |
---|
org/jdtaus/core/container/mojo/JavaCommitTestsMojo.java | 78 |
org/jdtaus/core/container/mojo/JavaContainerTestsMojo.java | 96 |
}
}
catch ( final ContextError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ContainerError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final ModelError e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
catch ( final Exception e )
{
throw new MojoExecutionException( e.getMessage(), e );
}
finally
{
disableThreadContextClassLoader();
Thread.currentThread().setContextClassLoader( mavenLoader );
}
}
} |