DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Property alfresco.data.location should be configurable to be an absolute path. #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The property "alfresco.data.location" is configured as a relative path today. 
By default this is "alf_data_dev". We would like to configure this as an 
absolute path (e.g. "${project.basedir}/alf_data_dev}"), but this is not 
possible at the moment.

This is caused by 2 flaws in the alfresco-sdk-parent-1.1.1.pom:

• The property "alfresco.db.url" is configured with the prefix "./", which 
prevents us to specify our absolute path in the "alfresco.data.location" 
property.

• The configuration of the "purge" profile configures 
"${project.basedir}/${alfresco.data.location}" to be purged. So no other 
absolute path is possible.

What version of the product are you using? On what operating system?

Maven SDK 1.1.1

Please provide any additional information below.

I propose to remove the "./" prefix from the "alfresco.db.url" property and 
remove the "${project.basedir}/" prefix from the "purge" profile.
We should then set the default "alfresco.data.location" value to 
"${project.basedir}/alf_data_dev".

Original issue reported on code.google.com by m.swe...@aca-it.be on 11 Dec 2013 at 10:04

GoogleCodeExporter commented 8 years ago
Better yet to set the default to "${project.parent.basedir}/alf_data_dev".

Original comment by m.swe...@aca-it.be on 5 Feb 2014 at 11:05

GoogleCodeExporter commented 8 years ago

Original comment by colum...@gmail.com on 18 Jul 2014 at 8:23