You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jaroslav Tulach <ja...@gmail.com> on 2020/09/06 04:32:42 UTC

Re: Speed of Maven build

Dne úterý 25. srpna 2020 13:26:33 CEST, Jeff Jensen napsal(a):
> In case this helps, Jason Dillon has a "Maven Shell" that does what you
> seek for CLI - launches a Maven instance and runs interactive commands with
> it, saving the startup time.
> https://github.com/jdillon/mvnsh

Thanks Jeff. The idea seems fine. Too bad the project doesn't even build: 
https://github.com/jdillon/mvnsh/issues/38 

-jt


> 
> 
> On Tue, Aug 25, 2020 at 12:27 AM Jaroslav Tulach <ja...@gmail.com>
> wrote:
> > > And it's Apache Maven, over the corner at https://maven.apache.org/ so
> > > I suppose that community would be happy to get such contributions.
> > > 
> > > -Bertrand
> > 
> > You are right, Bertrand. Why not ask!
> > 
> > Hello Maven guys,
> > we had a discussion on the NetBeans mailing list recently and here is a
> > summary:
> > * Apache NetBeans IDE is delegating most of its work directly to Maven
> > * Users however complain that the speed isn't great
> > * One of the ideas was to launch a "zombie" instance of Maven in advance
> > * then actions like build, exec or test would be faster
> > 
> > Have you thought about something like this already? Any advices?
> > 
> > Best regards.
> > Jaroslav Tulach
> > NetBeans Platform Architect
> > 
> > ne 23. 8. 2020 v 9:06 odesílatel Jaroslav Tulach <
> > jaroslav.tulach@gmail.com>
> > 
> > napsal:
> > > > I agree with others, Ant is much faster day to day. But the pom.xml
> > > > has
> > > > become the universal project file for Java,
> > > 
> > > Thank you all for sharing your thoughts. I know Maven start is slower,
> > 
> > but
> > 
> > > I
> > > learned to live with it. It is interesting to hear that some of you
> > > maintain a
> > > dual Ant based copy of your project metadata. Once we were trying a
> > > different
> > > approach:
> > > 
> > > There is a way to speed Maven in the IDE. Launch Maven, let it read all
> > > XML &
> > > co. files and stop it. As soon as we need to build/run/test, wake up
> > > this
> > > zombie Maven process, tell it what to do and let it continue. If the XML
> > > files
> > > are modified, throw the process away and initialize it again. Tomáš
> > 
> > Stupka
> > 
> > > implemented a prototype of this and there were no issues, as far as I
> > 
> > know
> > 
> > > (nobody tested it thoroughly however).
> > > 
> > > Maybe the support is even in and there is a property to turn it on. If
> > 
> > the
> > 
> > > Maven startup is the biggest problem for you guys, we shall investigate
> > > how to
> > > turn Tomáš's work on...
> > > 
> > > -jt





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org