The plugin ignores maven variables such as ${parent.basedir}. If that is placed at the beginning of sourcePath it will assume the current directory and will place the path to the current directory in front of ${parent.basedir}. With the following configuration
${parent.basedir}/base-share-amp/src/main/resources/META-INF/share-config-custom.xml
the final sourceFile path ends up
/Users/cwhite/GitWorkingCopies/alfresco/share/brand-share/angularui-share-amp/${parent.basedir}/base-share-amp/src/main/resources/META-INF/share-config-custom.xml
and the file is not found. It should respect all maven variables.
The plugin ignores maven variables such as ${parent.basedir}. If that is placed at the beginning of sourcePath it will assume the current directory and will place the path to the current directory in front of ${parent.basedir}. With the following configuration
${parent.basedir}/base-share-amp/src/main/resources/META-INF/share-config-custom.xml
the final sourceFile path ends up
/Users/cwhite/GitWorkingCopies/alfresco/share/brand-share/angularui-share-amp/${parent.basedir}/base-share-amp/src/main/resources/META-INF/share-config-custom.xml
and the file is not found. It should respect all maven variables.