javamaventycho

Skip or Ignore Default goal "validate-classpath" from Tycho Compiler Plugin 4.0.4


in my maven project, in the parent POM.xml

we use Tycho version 4.0.4 and we define

<plugin>
     <groupId>org.eclipse.tycho</groupId>
     <artifactId>tycho-compiler-plugin</artifactId>
     <version>4.0.4</version>
</plugin>

in this https://tycho.eclipseprojects.io/doc/4.0.4/tycho-compiler-plugin/plugin-info.html . It says, validate-classpath is by default running through

enter image description here

in the Child module of the project, i don't want that goal to be running in the child Module.

The question is, can i? if can, how to do it?


Solution

  • Using <phase>none</phase>

    will make the goal not running in child module

    Thanks for your help @howlger