@Mojo(name="refresh",
threadSafe=true,
defaultPhase=PROCESS_RESOURCES,
aggregator=true)
public class RefreshMojo
extends AbstractRefreshWebappMojo
Refresh Alfresco Repo and Share Mojo. Will refresh the Web Script container so new and changed Spring Surf Web Scripts are detected. Will also clear the dependency caches for web resources (CSS, JS, etc).
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.alfrescoClientWar, clearCacheShareUrl, project, refreshHost, refreshMode, refreshPassword, refreshRepoUrl, refreshShareUrl, refreshWebappName| Constructor and Description |
|---|
RefreshMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeRefresh()
Call the Share Webapp and refresh web scripts and clear caches.
|
_refreshRepo, _refreshShare, clearDependencyCaches, execute, refreshWebScriptsprotected void executeRefresh()
executeRefresh in class AbstractRefreshWebappMojoCopyright © 2019. All rights reserved.