org.openntf.maven.NsfDistribution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of headlessdesigner-maven-plugin Show documentation
Show all versions of headlessdesigner-maven-plugin Show documentation
The headless designer plugins enables you build XPages Application from the On-Disk-Project, invoking the IBM Domino Designer.
The newest version!
package org.openntf.maven;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.codehaus.plexus.util.StringUtils;
@Mojo(name = "nsf-dist")
@Execute(goal = "nsf-dist", phase = LifecyclePhase.PACKAGE)
public class NsfDistribution extends AbstractDesignerPlugin {
public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Starting NSF Distribution");
getLog().info("TargetDBName =" + m_TargetDBName);
getLog().info("OutputDir =" + m_TargetDir);
if (StringUtils.isEmpty(m_TargetDBName) || m_TargetDBName == null) {
getLog().info("NSF Distribution is missing required configuration information (ddehd.notesdata)");
throw new MojoExecutionException("NSF Distribution is missing required configuration information (ddehd.notesdata)");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy