mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-26 17:25:11 +00:00
Added the possibility to use custom context path for Share, #417
This commit is contained in:
parent
a07219e6e6
commit
1f46a9e2ff
@ -149,6 +149,15 @@ public class RunMojo extends AbstractMojo {
|
|||||||
@Parameter(property = "maven.alfresco.enableShare", defaultValue = "true")
|
@Parameter(property = "maven.alfresco.enableShare", defaultValue = "true")
|
||||||
protected boolean enableShare;
|
protected boolean enableShare;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enables the use of custom context path for the Share webapp.
|
||||||
|
* Some solution integrators uses a custom context path for Share in their projects.
|
||||||
|
* This property enables them to continue to do that in SDK 3 without having to completely override the
|
||||||
|
* Maven Tomcat plugin configuration, or not use it at all and go back the good old runner project again...
|
||||||
|
*/
|
||||||
|
@Parameter(property = "maven.alfresco.shareContextPath", defaultValue = "/share")
|
||||||
|
protected String shareContextPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Switch to enable/disable the Alfresco REST API Explorer (api-explorer.war) when running embedded Tomcat.
|
* Switch to enable/disable the Alfresco REST API Explorer (api-explorer.war) when running embedded Tomcat.
|
||||||
*/
|
*/
|
||||||
@ -968,7 +977,7 @@ public class RunMojo extends AbstractMojo {
|
|||||||
if (enableShare) {
|
if (enableShare) {
|
||||||
webapps2Deploy.add(createWebAppElement(
|
webapps2Deploy.add(createWebAppElement(
|
||||||
runnerAlfrescoGroupId, runnerAlfrescoShareWarArtifactId, runnerAlfrescoShareVersion,
|
runnerAlfrescoGroupId, runnerAlfrescoShareWarArtifactId, runnerAlfrescoShareVersion,
|
||||||
"/share", null));
|
shareContextPath, null));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enableSolr) {
|
if (enableSolr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user