Class 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