Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Excluding resources while building with tycho

Hi Experts,

While doing Maven build, i would like to exclude some resources in the build.

Project Structure:
<Project1>
--src
----main/resource/abc/abc.bmp
----main/resource/def/def.wsdl
----project1/Activator.java


The bundle created has following structure:
<Project1>
--wsdl/def.wsdl
--project1/Activator.class
--META-INF/MANIFEST.MF
--main
----resource/abc/abc.bmp
----resource/def/def.wsdl

Resource Tag in POM.XML:
                         <resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.wsdl</include>
</includes>
</resource>


I want to exclude following folders from this bundle.

1. Complete folder --> project1/Activator.class
2. Complete folder --> main...

Is it possible to exclude above said folders? I have tried with various exclude statements but its not helping out.

Thanks in advance,
Piyush






Back to the top