You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2006/07/01 06:35:43 UTC

Anyone using extra profiles?

Is anyone using these extra profiles:

<snip>
         <profile>
             <id>all</id>
             <activation>
                 <property>
                     <name>all</name>
                 </property>
             </activation>
             <modules>
                 <module>${all}</module>
             </modules>
         </profile>

         <profile>
             <id>singlemodule</id>
             <activation>
                 <property>
                     <name>module</name>
                 </property>
             </activation>
             <modules>
                 <module>modules/${module}</module>
             </modules>
         </profile>

         <profile>
             <id>singleplugin</id>
             <activation>
                 <property>
                     <name>plugin</name>
                 </property>
             </activation>
             <modules>
                 <module>m2-plugins/${plugin}</module>
             </modules>
         </profile>

         <profile>
             <id>singleapp</id>
             <activation>
                 <property>
                     <name>application</name>
                 </property>
             </activation>
             <modules>
                 <module>applications/${application}</module>
             </modules>
         </profile>
</snip>

Most of these can be replaced by a simple:

     cd path
     mvn

To help keep the pom simple, I recommend that these extra profiles be  
removed.  These profiles will make less and less sense as the build  
is restructured into more specific component hierarchies.

If a developer wants to use this style of connivence then it is easy  
enough to drop this into a local profiles.xml next to pom.xml.

--jason

Re: Anyone using extra profiles?

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 7/1/06, Jason Dillon <ja...@planet57.com> wrote:
> Is anyone using these extra profiles:

They've been used very extensively when we first worked on the m2
build. It helped with build only one module from the top-level
directory. I don't know whether it's used or not nowadays, but I don't
mind if it's removed since you proposed how to work it out in a better
(elegant?) way. It was a result of our m2 lessons back in the early
days of the migration.

> --jason

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl