You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Aki Yoshida <el...@gmail.com> on 2013/07/19 12:14:25 UTC

mvn build with -Pfastinstall not enabling noassembly flag?

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

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

Posted by Willem jiang <wi...@gmail.com>.
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>.
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 <el...@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 <ra...@evosent.com>:
> > Have you tried the assembly.skipAssembly property instead?
> >
> > Regards,
> > Raúl.
> > On 19 Jul 2013 11:14, "Aki Yoshida" <el...@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 Aki Yoshida <el...@gmail.com>.
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 <ra...@evosent.com>:
> Have you tried the assembly.skipAssembly property instead?
>
> Regards,
> Raúl.
> On 19 Jul 2013 11:14, "Aki Yoshida" <el...@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 Raul Kripalani <ra...@evosent.com>.
Have you tried the assembly.skipAssembly property instead?

Regards,
Raúl.
On 19 Jul 2013 11:14, "Aki Yoshida" <el...@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>.
Than let's remove the misleading noassembly property.

Best,
Christian
Am 31.07.2013 08:14 schrieb "Claus Ibsen" <cl...@gmail.com>:

> On Wed, Jul 31, 2013 at 2:45 AM, Willem jiang <wi...@gmail.com>
> wrote:
> > It looks like setting the properties through the Profile doesn't work.
> > To work around it we could disable the assembly step by default, but we
> need to enable it by using -Passembly when doing deploy and release.
> >
> > Any thought?
> >
>
> -1
>
> I want the assembly to run when I do my builds to ensure that it
> works. And this has been the default every since the start of the
> project.
>
>
> > --
> > 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 Wednesday, July 31, 2013 at 5:39 AM, Christian Müller wrote:
> >
> >> It's the same for me. I think the intention was to skip the assembly
> step...
> >> Feel free to "fix" it.
> >>
> >> 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 Fri, Jul 19, 2013 at 12:14 PM, 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>.
On Wed, Jul 31, 2013 at 2:45 AM, Willem jiang <wi...@gmail.com> wrote:
> It looks like setting the properties through the Profile doesn't work.
> To work around it we could disable the assembly step by default, but we need to enable it by using -Passembly when doing deploy and release.
>
> Any thought?
>

-1

I want the assembly to run when I do my builds to ensure that it
works. And this has been the default every since the start of the
project.


> --
> 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 Wednesday, July 31, 2013 at 5:39 AM, Christian Müller wrote:
>
>> It's the same for me. I think the intention was to skip the assembly step...
>> Feel free to "fix" it.
>>
>> 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 Fri, Jul 19, 2013 at 12:14 PM, 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 Willem jiang <wi...@gmail.com>.
It looks like setting the properties through the Profile doesn't work.
To work around it we could disable the assembly step by default, but we need to enable it by using -Passembly when doing deploy and release.

Any thought?  

--  
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 Wednesday, July 31, 2013 at 5:39 AM, Christian Müller wrote:

> It's the same for me. I think the intention was to skip the assembly step...
> Feel free to "fix" it.
>  
> 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 Fri, Jul 19, 2013 at 12:14 PM, 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>.
It's the same for me. I think the intention was to skip the assembly step...
Feel free to "fix" it.

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 Fri, Jul 19, 2013 at 12:14 PM, Aki Yoshida <el...@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
>