[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] m2e is not indexing poi 3.10-FINAL
|
Hi Igor,
no, I'm a maven beginner, so I didn't kow that.
But we found the problem: maven central took 6 days to reindex.
Absolutely, gob-smackingly, incredible!!
Last 2 Index-Timestamps:
nexus.index.timestamp=20140209134945.568 +0000 (@ 05:39 CET today!!)
nexus.index.timestamp=20140216125157.106 +0000 (@ 16:35 CET)
So the problem is a maven central bug & there's probably no point
investing in remote queries of indices that are 6 days out-of-date.
All the best,
DaveLaw
On 16.02.2014 16:28, Igor Fedorenko wrote:
You do realize you don't need the index to use the artifact, right?
Just add the version you need in pom.xml and Maven (and m2e) will
resolve it from the repository regardless of the index.
In case you do need near-real-time index update, you can either provide
a patch to m2e or fund development of a solution that will use remote
index queries instead of relying on local index download.
--
Regards,
Igor
On 2/16/2014, 0:29, David Law wrote:
Hi Again Folks,
I've been playing around some more with this:
I think org.apache.poi 3.10-FINAL is not available for selection as a
dependency, because either:
a) maven is ignoring it for some reason (maybe its somehow
inconsistent), or...
b) m2eclipse is not downloading it for some reason
Q1) is anybody out there able to "see" it for selection as a maven
dependency in m2eclipse?
Q2) what can I do to isolate/determine the problem?
Here's what lead me to the above conclusion:
0) repo is: http://repo.maven.apache.org/maven2
1) org.apache.poi 3.10-FINAL was committed @ 09-Feb-2014 11:50
2) as of now repo Timestamp is: 09-Feb-2014 13:50
(nexus.index.timestamp=20140209134945.568 +0000)
(found in
http://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties)
3) -> so repo has been reindexed since org.apache.poi 3.10-FINAL commit
(6 days ago).
4) exit eclipse
5) deleted
C:\...\Eclipse\workspace\.metadata\.plugins\org.eclipse.m2e.core\nexus
6) start eclipse -> "updating index"
7) org.apache.poi 3.10-FINAL is still not there (that is: "here") in my
list of artifacts
All the best,
DaveLaw
On 15.02.2014 21:18, David Law wrote:
Hi Igor,
while a few minutes latency can be lived with
(but is totally unnecessary -> bad design of maven repo),
I feel 6 days is far too much.
I'm sure something, somewhere, is not working as it should.
I wonder what can be done to find out what's wrong.
I've tried setting m2e logging to ALL but there's not that much in the
log.
All the best,
DaveLaw
On 15.02.2014 16:44, Igor Fedorenko wrote:
I am not involved in Central maintenance, sorry.
As a side note, m2e 1.5 will not download index by default (right,
Matt?), so it is probably a good idea not to rely on up-to-date
index in
your development workflow.
Longer term we plan to rework m2e not to use downloadable index, but
this is significant effort and there is no specific timeline for this
change yet.
--
Regards,
Igor
On 2/15/2014, 10:28, David Law wrote:
Hi Igor,
what sort of timescale are we talking about?
poi 3.10-FINAL was checked in nearly a week ago.
Is there any way of checking whether central has indexed it?
All the best,
DaveLaw
On 15.02.2014 13:46, Igor Fedorenko wrote:
The UI is somewhat misleading. m2e does not "index" remote
repositories
like Central directly (that would be prohibitively slow) but
downloads
repository index provided by the repository. In case of Central,
repository index is updated periodically and you just need to
wait for
new index to become available before poi 3.10-FINAL shows up in the
index.
--
Regards,
Igor
On 2/15/2014, 3:38, David Law wrote:
Hi,
I'm using Eclipse Kepler with m2eclipse and the default repo
http://repo.maven.apache.org/maven2
I've tried "Rebuild Index" & "Update Index"
but it's not picking up the latest release:
org.apache.poi 3.10-FINAL
Has anyone managed to pick up poi 3.10-FINAL with m2e?
All the best,
DaveLaw
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users