Package org.alfresco.maven.plugin
Class RefreshRepoWebappMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.alfresco.maven.plugin.AbstractRefreshWebappMojo
org.alfresco.maven.plugin.RefreshRepoWebappMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="refresh-repo",
defaultPhase=PROCESS_RESOURCES,
requiresProject=true,
threadSafe=true)
public class RefreshRepoWebappMojo
extends AbstractRefreshWebappMojo
Refresh Alfresco Repository (alfresco.war) Mojo. Will refresh the Web Script container so new and changed Web Scripts are detected.
It is important to execute the refresh calls in the compile phase, otherwise the files will be copied after this and the refresh calls will not be recognized.- Since:
- 2.1.0
- Author:
- martin.bergljung@alfresco.com
-
Field Summary
Fields inherited from class org.alfresco.maven.plugin.AbstractRefreshWebappMojo
alfrescoClientWar, clearCacheShareUrl, project, refreshHost, refreshMode, refreshPassword, refreshRepoUrl, refreshShareUrl, refreshWebappNameFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidTo be implemented by webapp "refresh" MojosMethods inherited from class org.alfresco.maven.plugin.AbstractRefreshWebappMojo
_refreshRepo, _refreshShare, clearDependencyCaches, execute, refreshWebScriptsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RefreshRepoWebappMojo
public RefreshRepoWebappMojo()
-
-
Method Details
-
executeRefresh
protected void executeRefresh()Description copied from class:AbstractRefreshWebappMojoTo be implemented by webapp "refresh" Mojos- Specified by:
executeRefreshin classAbstractRefreshWebappMojo
-