Added aikau.version prop and dependency so it can be brought in separately

This commit is contained in:
Martin Bergljung
2016-08-19 11:56:58 +01:00
parent b84bcf798c
commit 6bc23959b8
4 changed files with 38 additions and 3 deletions

View File

@@ -439,6 +439,11 @@ public class RunMojo extends AbstractMojo {
* @throws MojoExecutionException
*/
protected void copyAlfrescoLicense() throws MojoExecutionException {
if (alfrescoEdition.equals(ALFRESCO_COMMUNITY_EDITION)) {
getLog().info("NOT copying Alfresco Enterprise license, running Community edition");
return;
}
final String warOutputDir = getWarOutputDir(PLATFORM_WAR_PREFIX_NAME);
final String licDestDir = warOutputDir + "/WEB-INF/classes/alfresco/extension/license";