Stefan Seifert created JCRVLT-483:
-------------------------------------
Summary: Package thumbnail image is copied twice (and produced
warnings) if placed in META-INF/vault/definition folder
Key: JCRVLT-483
URL: https://issues.apache.org/jira/browse/JCRVLT-483
Project: Jackrabbit FileVault
Issue Type: Bug
Components: vlt
Affects Versions: package-maven-plugin-1.1.6
Reporter: Stefan Seifert
scenario:
* content package project with a custom thumbnail image stored in the source at
{{META-INF/vault/definition/thumbnail.png}}
* the plugin config contains a config parameter
{code:xml}
<thumbnailImage>src/main/content/META-INF/vault/definition/thumbnail.png</thumbnailImage>
{code}
this produces a warning in the package goal like:
{noformat}
[INFO] Packaging content from
C:\temp\mysite\ui.content\src\main\content\jcr_root
[WARNING] Found duplicate file 'META-INF\vault\definition\thumbnail.png' from
sources
'C:\temp\mysite\ui.content\src\main\content\META-INF\vault\definition\thumbnail.png'
and
'C:\temp\mysite\ui.content\target\vault-work\META-INF\vault\definition\thumbnail.png'.
{noformat}
this does not happen when the thumbnail image is copied from somewhere else,
but it is convenient to put it rightaway in the correct folder of the source
project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)