Yes, the plugin already exists!

Here: it has a tiny source 
https://bitbucket.org/emilianbold/maven.search.remote/src/748e56fbaec383ec915f7bb6c473564c52428107/ro.emilianbold.modules.maven.search.remote/src/ro/emilianbold/modules/maven/search/remote/?at=default

It's even BSD licensed and I will gladly relicense it as Apache or donate it 
myself via a PR.

The *majority* of users have problems with Maven Central.

While we are hunting for a perfect universal solution we are wasting probably * 
100 TeraBytes * of disk space world wide across our users by not providing a 
simple Maven Central query like this tiny plugin does.

It could even be a nice bullet point for an Apache NetBeans release: "saves you 
1GB of Maven index disk space". Some users would migrate for this feature alone!

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 24 April 2018 4:12 PM, Geertjan Wielenga <geertjan.wiele...@googlemail.com> 
wrote:

> Or use this:
> 
> https://jaxenter.com/netbeans/keep-netbeans-nimble-with-maven-remote-search
> 
> Gj
> 
> On Tue, Apr 24, 2018 at 3:09 PM, Ondro Mihályi ondrej.miha...@gmail.com
> 
> wrote:
> 
> > Hi Jaroslav,
> > 
> > You have my full support for this. Getting rid of Maven indexer and
> > 
> > searching on the fly is exactly what I'd like to do too - in fact I always
> > 
> > set indexing to "never" and run manually from time to time because the
> > 
> > indexer freezes the IDE.
> > 
> > A partial workaround would be to add pauses during unpacking and indexing
> > 
> > artifacts to avoid freezing the IDE. But still, it doesn't make sense to
> > 
> > index whole maven repo and store a couple of GB on disk. I run Netbeans
> > 
> > under 2 different user accounts and I had to point Netbeasn to the same
> > 
> > directory to store the index to save a couple of GB by a redundant index.
> > 
> > Ondro
> > 
> > 2018-04-23 8:14 GMT+02:00 Jaroslav Tulach jaroslav.tul...@gmail.com:
> > 
> > > > I just spent the past 2 weeks using IntelliJ IDEA exclusively (having
> > > > 
> > > > used
> > > > 
> > > > it sporatically before). I'm going to share some brief thoughts in the
> > > > 
> > > > hopes that it helps.
> > > > 
> > > > As far as I can tell, IntelliJ's killer feature is their debugger (more
> > > > 
> > > > broadly, their UI). Our killer feature is our profiler, and Maven
> > > > 
> > > > integration (more broadly, bundling more functionality standard).
> > > > 
> > > > -   Netbeans drives development of Maven projects through Maven. This
> > > >     
> > > >     results in better integration than IntelliJ provides (e.g. good luck
> > > >     
> > > >     trying to start a debugging session through Maven)
> > > >     
> > > 
> > > Yeah, I can confirm setting up debugging (for Maven) in IntelliJ is so
> > > 
> > > complicated...
> > > 
> > > Once I called NetBeans the IDE for devops and admins and this is what I 
> > > meant. If you
> > > 
> > > care about your overall project structure, there shall be benefits of
> > > 
> > > using
> > > 
> > > NetBeans+Maven. If you just care about the code, the IntelliJ's editor
> > > 
> > > focus may give you better experience.
> > > 
> > > Moreover the NetBeans approach is more fragile. Structures of pom.xml
> > > 
> > > files
> > > 
> > > differ wildly and when they get out of expectations, things may get
> > > 
> > > broken
> > > 
> > > or slow...
> > > 
> > > > indexing and performance levels can be done with the
> > > > 
> > > > code currently in Apache NetBeans Git. Jaroslav Tulach will have
> > > > 
> > > > insights
> > > 
> > > > as well as gratitude for help in this area
> > > 
> > > My thought is simple: there should be no Maven index processing on the
> > > 
> > > client (by default). There should be a webservice the IDE would query
> > > 
> > > instead. However my idea was rejected by last Oracle NetBeans performance
> > > 
> > > team last time I proposed it. It was found too complicated. Anybody wants
> > > 
> > > to pick that challenge up now?
> > > 
> > > -jt


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to