On 09/05/2012 10:04 AM, Max Rydahl Andersen wrote:
On 05 Sep 2012, at 04:31, Nick Boldt <nboldt@redhat.com> wrote:

So... if you wanted to nest some test plugins for verifying content on the sites, I might suggest site/tests/ as a reasonable place to start.
well site it self is a eclipse-update-site packaging so putting tests subdirs under it is not really possible.

I wonder if I could just add a basic java unit test to this one....i'll try that. 
Eclipse-update-site lifecycle mapping does not contain any compilation phase (see http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-maven-plugin/src/main/resources/META-INF/plexus/components.xml ), so you'll need to explicitly invoke maven-compiler-plugin...
Something that may work better:
1. Write your test-case in the tests/ module
2. Invoke surefire in the site pom.xml (in an integration-test step) and reference this test-case in surefire configuration
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets