public class RadManifestWriter extends AbstractEclipseManifestWriter
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
DEFAULT_WEBAPP_RESOURCE_DIR |
MANIFEST_MF_FILENAME, META_INF_DIRECTORYconfig, log| Constructor and Description |
|---|
RadManifestWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getMetaInfBaseDirectory(org.apache.maven.project.MavenProject project)
Search the project for the existing META-INF directory where the manifest should be located.
|
private void |
verifyManifestBasedirInSourceDirs(java.lang.String metaInfBaseDirectory) |
void |
write()
If the existing manifest file located in
getMetaInfBaseDirectory() already has a correct
MANIFEST_VERSION and CLASS_PATH value then do nothing. |
addDependencyToClassPath, areManifestsEqual, constructManifestClasspath, createNewManifest, orderClasspath, readExistingManifest, shouldNewManifestFileBeWritteninitprivate static final java.lang.String DEFAULT_WEBAPP_RESOURCE_DIR
protected java.lang.String getMetaInfBaseDirectory(org.apache.maven.project.MavenProject project)
throws org.apache.maven.plugin.MojoExecutionException
getMetaInfBaseDirectory in class AbstractEclipseManifestWriterorg.apache.maven.plugin.MojoExecutionExceptionpublic void write()
throws org.apache.maven.plugin.MojoExecutionException
getMetaInfBaseDirectory() already has a correct
MANIFEST_VERSION and CLASS_PATH value then do nothing.
Otherwise generate a NEW (i.e the old one is overwritten) which only contains values for MANIFEST_VERSION and CLASS_PATH, all other previous entries are not kept.
write in interface EclipseWriterwrite in class AbstractEclipseManifestWriterorg.apache.maven.plugin.MojoExecutionException - when writing the config files was not possibleAbstractWtpResourceWriter#write(EclipseSourceDir[], ArtifactRepository, File)private void verifyManifestBasedirInSourceDirs(java.lang.String metaInfBaseDirectory)