Hi everyone,
I've noticed some strange behaviour with the maven bundle plugin 1.4.3.
It doesn't seem to include the resources that have been filtered but
rather copy the pre-filtered resources to the jar.
e.g.
pom.xml
<build>
<filters>
<filter>src/main/filters/dev.properties</filter>
</filters>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
The xml files are correctly filtered with packaging is jar instead of
bundle.
The classes dir in the target dir contains the correctly filtered files,
but they are not included in the final jar.
Can anyone else confirm this?
Regards,
Kevin Huang
System Development Engineer
Barclays Global Investors
Australia
Phone: 61 - 2 - 92722392
Fax: 61 - 2 - 92785392
--
This message and any attachments are confidential, proprietary, and may be
privileged. If this message was misdirected, Barclays Global Investors (BGI)
does not waive any confidentiality or privilege. If you are not the intended
recipient, please notify us immediately and destroy the message without
disclosing its contents to anyone. Any distribution, use or copying of this
e-mail or the information it contains by other than an intended recipient is
unauthorized. The views and opinions expressed in this e-mail message are the
author's own and may not reflect the views and opinions of BGI, unless the
author is authorized by BGI to express such views or opinions on its behalf.
All email sent to or from this address is subject to electronic storage and
review by BGI. Although BGI operates anti-virus programs, it does not accept
responsibility for any damage whatsoever caused by viruses being passed.