You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Stefano Fornari <st...@gmail.com> on 2008/05/02 00:22:11 UTC

Using profiles to trigger mvn profiles

Hi All,
I would like to build different maven projects with different maven
profiles in continuum.
Let say some components should be build with maven profile MA and
other with maven profile MB. I know I can set -P MA or MB in the goals
section of the build definition but I was wondering if Continuum
profiles are designed for the same purpose. In such case I would love
to use them.
I tried creating two continuum profiles, let's say CA and CB and I
associated an envvar to each to trigger the right maven profile as
defined in settings.xml. I associated the so created profile to the
build definition, but it looks like it does not work. It seems the
envvar is not set so that the maven profile is not picked up.

Any hint? As anyone used this method and gotten it working?

Thanks in advance.

Ste

-- 
Stefano Fornari - Funambol CTO
=======================================================
Home:
http://www.funambol.org

Documents:
http://www.funambol.org/documentation/documents.html

FAQ:
http://www.funambol.org/support/faq.html

WIKI:
https://wiki.objectweb.org/sync4j/

Mailinglist archives:
http://groups.yahoo.com/group/Sync4j (login required)
http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j-users)
http://sourceforge.net/mailarchive/forum.php?forum_id=48877
(funambol-dev)