You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Willem jiang <wi...@gmail.com> on 2013/08/01 03:06:06 UTC

Re: mvn build with -Pfastinstall not enabling noassembly flag?

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 <elakito@gmail.com (mailto:elakito@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 <raul@evosent.com (mailto:raul@evosent.com)>:
> > > Have you tried the assembly.skipAssembly property instead?
> > >  
> > > Regards,
> > > Raúl.
> > > On 19 Jul 2013 11:14, "Aki Yoshida" <elakito@gmail.com (mailto:elakito@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
> > >  
> >  
>  




Re: mvn build with -Pfastinstall not enabling noassembly flag?

Posted by Christian Müller <ch...@gmail.com>.
Cool, I wasn't sure whether this change was ok for you...
Thanks Aki!

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 Thu, Aug 1, 2013 at 9:13 AM, Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> Yeah I think Aki has fixed it so it works fine in both worlds :)
>
> On Thu, Aug 1, 2013 at 3:06 AM, Willem jiang <wi...@gmail.com>
> wrote:
> > 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 <elakito@gmail.com(mailto:
> elakito@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 <raul@evosent.com (mailto:raul@evosent.com
> )>:
> >> > > Have you tried the assembly.skipAssembly property instead?
> >> > >
> >> > > Regards,
> >> > > Raúl.
> >> > > On 19 Jul 2013 11:14, "Aki Yoshida" <elakito@gmail.com (mailto:
> elakito@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
> >> > >
> >> >
> >>
> >
> >
> >
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: mvn build with -Pfastinstall not enabling noassembly flag?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah I think Aki has fixed it so it works fine in both worlds :)

On Thu, Aug 1, 2013 at 3:06 AM, Willem jiang <wi...@gmail.com> wrote:
> 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 <elakito@gmail.com (mailto:elakito@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 <raul@evosent.com (mailto:raul@evosent.com)>:
>> > > Have you tried the assembly.skipAssembly property instead?
>> > >
>> > > Regards,
>> > > Raúl.
>> > > On 19 Jul 2013 11:14, "Aki Yoshida" <elakito@gmail.com (mailto:elakito@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
>> > >
>> >
>>
>
>
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen