[Building Sakai] master pom and passing down profiles

Adam York yorkadam at umich.edu
Thu May 3 13:20:23 PDT 2012


I'm trying to build sakai 2.9 vanillia with two contrib tools (evaluation
and hierarchy) and then packing them up using the pack tool.

*I was wondering if there was anyway using the master pom to build sakai
while also passing down profiles to specific tools?  *We'd like to avoid
having to make any changes to the contrib tools we are building but it's
currently using another profile as default that are invoked when we build
via the master pom. This occurs even if I globally pass down the right
profile by the command line....of course that isn't a good idea either
because I don't want to accidentally call anything but the default profiles
in the other tools I am building.

master pom...
//snip
<profile>
            <id>evaluation</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
*                <module>evaluation</module>  <= defaults to sakai2.7
profile, we need to use sakai2.9*
                <module>hierarchy</module>
            </modules>
        </profile>
//snip

I know there is a pom guru out there somewhere....

-- 
Thank You,

Adam York
Teaching & Learning
University of Michigan
Information and Technology Services
(734)615-2549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120503/a4caac32/attachment.html 


More information about the sakai-dev mailing list