private void addManifestResource(EclipseWriterConfig config)
throws MojoExecutionException {
if (isJavaProject()) {
// special case must be done first because it can add stuff to the classpath that will be
// written by the superclass
new RadManifestWriter().init(getLog(), config).write();
}
if (isJavaProject() && !Constants.PROJECT_PACKAGING_EAR.equals(packaging)
&& !Constants.PROJECT_PACKAGING_WAR.equals(packaging)
&& !Constants.PROJECT_PACKAGING_EJB.equals(packaging)