In my eclipse plugin project. I have a specific jar that I need it to be visible in the build process specially in test phase, However I don't need it to be visible in runtime of the eclipse plugin. I find that tycho-surefire-plugin is using the jars which existing in Bundle-ClassPath of the MANIFEST.MF instead of bin.includes of build.properties. Is there any way to force tycho-surefire-plugin to get its classpath from build.properties instead of MANIFEST.MF? as I see this is the normal difference between the two files.
My fragment test project pom is the following:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.myproject</groupId>
<artifactId>projectparent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../../../projectparent/pom.xml</relativePath>
</parent>
<artifactId>com.myproject.projecttest</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>${project.artifactId}</name>
<description>
Tests for my project
</description>
<properties>
<maven.site.skip>true</maven.site.skip>
<maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
</project>