Class RefreshMojo

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

    @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.
    Since:
    2.1.0
    Author:
    martin.bergljung@alfresco.com
    • Constructor Detail

      • RefreshMojo

        public RefreshMojo()