I think the Aki's solution doesn't change the default behavior of mvn install.
If we use the -Pfastinstall it will skip the assembly module automatically.


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Thursday, August 1, 2013 at 3:43 AM, Christian Müller wrote:

> Claus, do you still -1 this change?
> In this case Aki, I suggest to remove the line
> "<noassembly>true</noassembly>"
>  
> Best,
> Christian
> -----------------
>  
> Software Integration Specialist
>  
> Apache Camel committer: https://camel.apache.org/team
> V.P. Apache Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
>  
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>  
>  
> On Wed, Jul 31, 2013 at 2:07 PM, Aki Yoshida <elak...@gmail.com 
> (mailto:elak...@gmail.com)> wrote:
>  
> > Hi,
> > thanks Raúl,.
> > setting assembly.skipAssembly in the fastinstall profile seems to work
> > (goes into apache-camel and does a little bit of processing but skips
> > the assembling itself), It's not as fast as using -Dnoassembly=true
> > explicitly which completely skips the step, though.
> >  
> > I have to rerun it to verify it. If it is verified to work, I'll add
> > this prop setting line in the fastinstall profile.
> >  
> > regards, aki
> >  
> >  
> > 2013/7/31 Raul Kripalani <r...@evosent.com (mailto:r...@evosent.com)>:
> > > Have you tried the assembly.skipAssembly property instead?
> > >  
> > > Regards,
> > > Raúl.
> > > On 19 Jul 2013 11:14, "Aki Yoshida" <elak...@gmail.com 
> > > (mailto:elak...@gmail.com)> wrote:
> > >  
> > > > I would like to avoid the lengthy assembly step in the build at the
> > > > end when I quickly just build the camel project.
> > > >  
> > > > By looking at camel's parent/pom.xml, it seems that it was intended to
> > > > not assemble the distribution when built with the fastinstall profile.
> > > > <profile>
> > > > <id>fastinstall</id>
> > > > <activation>
> > > > <property>
> > > > <name>fastinstall</name>
> > > > </property>
> > > > </activation>
> > > > <properties>
> > > > <maven.test.skip.exec>true</maven.test.skip.exec>
> > > > <noassembly>true</noassembly>
> > > > </properties>
> > > >  
> > > > but I see the assembly phase is always executed when I built it with
> > > > -Pfastinstall.
> > > >  
> > > > I can only disable the assembly step by setting the noassembly flag
> > > > explicitly like:
> > > >  
> > > > mvn -Dnoassembly=true -Pfastinstall
> > > >  
> > > > Not sure if anyone have this problem, it is intended that way or has
> > > > something to do with my environment?
> > > >  
> > > > thanks.
> > > > aki
> > >  
> >  
>  



Reply via email to