You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by Reto Bachmann-Gmuer <re...@trialox.org> on 2011/01/05 18:41:53 UTC

Introducing profiles

With the resolution of CLEREZZA-389 I've introduced the following profiles:

- release
- additions
- it

By default only the release profile is active, which means that additions
and integration tests are excluded.

To compile with additions and integration tests add the argument "-P
release,additions,it" to the maven invocation.

Unfortunately it seems the -P option is not passed to the reactor modules,
so sub-modules in the it-profiles of modules are not included when compiling
the parent with "-P it".

We could of course enable it by default, but I don't think the permanent
troubles with them will end as long as there is this dynamic download of
bundles at test-time (using pax-run), I guess things will be much more
stable with pax-exam 2.0

For an introduction to profiles see:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html

Reto