I'm not sure what you do want to build..... maybe something like

mvn clean install -pl  assembly/openejb-tomcat/openejb-tomcat-bundle -am

would work.... that would build the listed project and everything needed for it.

The profile sounds like a better bet to me.

thanks
david jencks

On Jul 7, 2011, at 9:47 PM, Shawn Jiang wrote:

> Forwarding a post in geornimo list from David.J:
> 
> ------------------------------------------------------------------------------------------------------------------
> 
> You should be able to do this with built-in maven stuff, see
> 
> http://www.sonatype.com/people/2009/10/maven
> -tips-and-tricks-advanced-reactor-options/
> 
> I think in this case
> 
> mvn clean install -pl :geronimo-tomcat7-javaee6 -am
> 
> would build everything needed for the named assembly including the assembly.
> 
> thanks
> david jencks
> 
> On Fri, Jul 8, 2011 at 9:25 AM, Karan Malhi <[email protected]> wrote:
> 
>> Can somebody shed some light on how I can run a build without building
>> examples? No bash please, I am on windows.
>> 
>> --
>> 
>> Karan Singh Malhi
>> twitter.com/KaranSinghMalhi
>> 
> 
> 
> 
> -- 
> Shawn

Reply via email to