excelsior-oss/excelsior-jet-maven-plugin

The packageFiles option does not copy files to the build folder, only to the app folder

dmitriyyavorskiy opened this issue · 2 comments

Hi,

I have tried the packageFiles option for my project

<packageFiles>
	<packageFile>
	<type>folder</type>
	<path>${project.basedir}/config</path>
	<packagePath></packagePath>
	</packageFile>
</packageFiles>

everything works but testrun( there is no config folder in the build folder and my app depends on that folder).

Before i used maven-resource-plugin for copying files to build and app folders, but i think it is better to use excelsior plugin features.

Hi,

Thank you for the bug report.
packageFiles are actually copied during Test Run to build directory.
The problem here is empty value for <packagePath> parameter that was not tested properly,
The quick workaround is to use

<packagePath>.</packagePath>

dot (.) value for <packagePath> parameter.

We will fix the issue in the next release.

Fixed in 1.1.0 release