Hi Peter,
I just started to take a closer look at incremental index updates, so
far I concentrated on the index itself and the initial extraction which
caused most of the problems.
(a lot of this is already testable if you download a dev build and is
planned to be in NB 19)
the data for the central remote index is here:
https://repo1.maven.org/maven2/.index
the metadata is:
https://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
Since I have it all local for testing purposes, the last updates were:
May 10, Jun 01, Jun 05
The same properties file is also in your cache folder and should be
identical if the index is up2date.
So, even if NB would check for updates often, there shouldn't be
anything to update - which is why I can't quite explain how it is
possible that it updated twice in one day.
Are you sure both updates were for maven central? Since it could in
theory also update another repo, e.g apache - if it is used in a pom for
example.
The good news is that NB19+ will be able to use the latest maven-indexer
libraries, which allows us to contribute changes upstream.
e.g one change is pending here:
https://github.com/apache/maven-indexer/pull/318 which should make
incremental updates at least 4x faster.
best regards,
michael
On 09.06.23 15:11, Peter Hull wrote:
Hi,
It seems to me that the maven indexing is running more often than it
used to, and certainly more than 'once per week' which is what I've
set it up for. For example, it's run twice today.
Is there a log which shows how often it's run and what made it start,
then I can confirm what the situation is? There's nothing useful
AFAICS in the IDE log.
Peter
ps I'm running NB 18 with JDK 17 on Windows 11. The maven is the built-in one.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists