I have an application which use the Eclipse RCP. I have severals plugins, they each have a pom.xml file, and all the project has a super pom.xml.
The structure is :
plugin.a ( pom.xml inside )
plugin.b ( pom.xml inside )
plugin.c ( pom.xml inside )
plugin.test ( with a pom.xml too, contains all JUnit tests classes )
pom.xml
My problem is, when i launch the command : mvn integration-test
Maven tries to execute all *Test.java, but if it doesn't find it crashes ( for example in plugin a / b / c ).
How exclude specifics plugins to avoid this compilation error ?
Thank you in advance.
Edit : I found. In Each pom.xml, i was in <packaging>eclipse-test-plugin</packaging>
and no in <packaging>eclipse-plugin</packaging>
if i want to avoid compilation error in non tests plugins.
But thank you for help guys. <3