Class RefreshShareWebappMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="refresh-share",
          defaultPhase=PROCESS_RESOURCES,
          threadSafe=true,
          requiresProject=true)
    public class RefreshShareWebappMojo
    extends AbstractRefreshWebappMojo

    Refresh Alfresco Share (share.war) 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.
    Since:
    2.1.0
    Author:
    martin.bergljung@alfresco.com
    • Constructor Detail

      • RefreshShareWebappMojo

        public RefreshShareWebappMojo()