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 AbstractRefreshWebappMojoRefresh 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, refreshWebappName
-
-
Constructor Summary
Constructors Constructor Description RefreshRepoWebappMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteRefresh()To be implemented by webapp "refresh" Mojos-
Methods inherited from class org.alfresco.maven.plugin.AbstractRefreshWebappMojo
_refreshRepo, _refreshShare, clearDependencyCaches, execute, refreshWebScripts
-
-
-
-
Method Detail
-
executeRefresh
protected void executeRefresh()
Description copied from class:AbstractRefreshWebappMojoTo be implemented by webapp "refresh" Mojos- Specified by:
executeRefreshin classAbstractRefreshWebappMojo
-
-