Class IkeSitePublishMojo
java.lang.Object
network.ike.plugin.IkeSiteDraftMojo
network.ike.plugin.IkeSitePublishMojo
- All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
@Mojo(name="site-publish",
projectRequired=true,
aggregator=true)
public class IkeSitePublishMojo
extends IkeSiteDraftMojo
Apply convergence on the project's deployed-site state — deploy the
current version + register on the IKE Network landing page.
The -publish counterpart of
ike:site-draft. Default behavior deploys
the current version to the project's gh-pages branch and
updates the landing-page registration.
Flags (mirror the #393 ws-side scheme):
-DupdateSite=false— skip the gh-pages site deploy-DupdateRegistration=false— skip the landing-page update-Dsite=removed— invert the apply pass: deregister and remove the deployed site (subsumes the retiredike:clean-site+ike:deregister-site-publish)
Subsumes the retired ike:deploy-site-publish,
ike:register-site-publish, ike:deregister-site-publish,
and ike:clean-site (in its publish role) goals. See
IKE-Network/ike-issues#398.
Usage:
mvn ike:site-publish # deploy + register
mvn ike:site-publish -DupdateSite=false # registration only
mvn ike:site-publish -DupdateRegistration=false # deploy only
mvn ike:site-publish -Dsite=removed # deregister + cleanup
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class IkeSiteDraftMojo
getLog
-
Constructor Details
-
IkeSitePublishMojo
public IkeSitePublishMojo()Creates this goal instance.
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.api.plugin.MojoException- Specified by:
executein interfaceorg.apache.maven.api.plugin.Mojo- Overrides:
executein classIkeSiteDraftMojo- Throws:
org.apache.maven.api.plugin.MojoException
-