return compilerConfig;
}
private CompilerRequirement createCompilerRequirement() throws MojoExecutionException
{
CompilerRequirement compilerRequirement = CompilerRequirement.Factory.createDefaultCompilerRequirement();
compilerRequirement.setLanguage( language );
compilerRequirement.setFrameworkVersion( frameworkVersion );
compilerRequirement.setProfile( profile );
compilerRequirement.setVendorVersion( vendorVersion );
try
{
if ( vendor != null )
{
compilerRequirement.setVendor( VendorFactory.createVendorFromName( vendor ) );
}
}
catch ( PlatformUnsupportedException e )
{
throw new MojoExecutionException( "NPANDAY-900-001: Unknown Vendor: Vendor = " + vendor, e );