alfresco:refresh-repo

Full name:

org.alfresco.maven.plugin:alfresco-maven-plugin:2.2.0:refresh-repo

Description:

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.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 2.1.0.
  • Binds by default to the lifecycle phase: process-resources.

Optional Parameters

Name Type Since Description
alfrescoClientWar String 2.1.0 (no description)
Default value is: ${app.amp.client.war.artifactId}.
clearCacheShareUrl String 2.1.0 The URL to send the POST to when you want to clear dependency caches for the Alfresco Share webapp.
Default value is: /share/page/caches/dependency/clear.
User property is: maven.alfresco.refresh.clearCacheShareUrl.
refreshHost String 2.1.0 The hostname for where the Alfresco Tomcat server is running.
Default value is: localhost.
User property is: maven.alfresco.refresh.host.
refreshMode String 2.1.0 The mode for the refresh goal, current supported values are: auto - Checks packaging and app.amp.client.war.artifactId to determine if it should refresh for repo or share both - Forces it to refresh both for Repo and Share share - Forces only to refresh share repo - Forces only to refresh repo none - Disables refreshing web scripts
Default value is: auto.
User property is: maven.alfresco.refresh.mode.
refreshPassword String 2.1.0 The password for authenticating against Alfresco Repo.
Default value is: admin.
User property is: maven.alfresco.refresh.password.
refreshPort String 2.1.0 The port number for where the Alfresco Tomcat server is running.
Default value is: ${maven.tomcat.port}.
User property is: maven.alfresco.refresh.port.
refreshRepoUrl String 2.1.0 The URL to send the POST to when you want to refresh Alfresco Repo Web Scripts container.
Default value is: /alfresco/service/index.
User property is: maven.alfresco.refresh.repoUrl.
refreshShareUrl String 2.1.0 The URL to send the POST to when you want to refresh Alfresco Share Spring Surf Web Scripts container.
Default value is: /share/page/index.
User property is: maven.alfresco.refresh.shareUrl.
refreshUsername String 2.1.0 The username for authenticating against Alfresco Repo.
Default value is: admin.
User property is: maven.alfresco.refresh.username.

Parameter Details

alfrescoClientWar:

(no description)
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • Default: ${app.amp.client.war.artifactId}

clearCacheShareUrl:

The URL to send the POST to when you want to clear dependency caches for the Alfresco Share webapp.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.clearCacheShareUrl
  • Default: /share/page/caches/dependency/clear

refreshHost:

The hostname for where the Alfresco Tomcat server is running.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.host
  • Default: localhost

refreshMode:

The mode for the refresh goal, current supported values are: auto - Checks packaging and app.amp.client.war.artifactId to determine if it should refresh for repo or share both - Forces it to refresh both for Repo and Share share - Forces only to refresh share repo - Forces only to refresh repo none - Disables refreshing web scripts
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.mode
  • Default: auto

refreshPassword:

The password for authenticating against Alfresco Repo.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.password
  • Default: admin

refreshPort:

The port number for where the Alfresco Tomcat server is running.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.port
  • Default: ${maven.tomcat.port}

refreshRepoUrl:

The URL to send the POST to when you want to refresh Alfresco Repo Web Scripts container.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.repoUrl
  • Default: /alfresco/service/index

refreshShareUrl:

The URL to send the POST to when you want to refresh Alfresco Share Spring Surf Web Scripts container.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.shareUrl
  • Default: /share/page/index

refreshUsername:

The username for authenticating against Alfresco Repo.
  • Type: java.lang.String
  • Since: 2.1.0
  • Required: No
  • User Property: maven.alfresco.refresh.username
  • Default: admin