As to your second question, m2eclipse will only index the repositories you tell 
it to. Open up the Index View and you'll see the list of repos.
 
Justin

________________________________

From: Harper, Brad [mailto:brad.har...@fiserv.com]
Sent: Fri 7/10/2009 6:00 PM
To: Maven Users List
Subject: dependency on artifact javax.activation:activation version 1.1.1



While trying to keep our third-party dependencies current, we found that
[1] reports a version 1.1.1 available for javax.activation:activation
... yet no such artifact version appears to exist in the central maven2
repo.



On the other hand, [2] reports this version for the JavaBeans Activation
Framework and references the repo at http://repository.jboss.com/maven2.




According to content at [3], this version of JAF was announced on
2007-Oct-22. The final release is available separately and in Java SE 6
[presumably via subsequent updates].



Oddly, an out-of-the-box maven running on the command line can't resolve
javax.activation:activation:1.1.1, but it seems that m2eclipse can ...
suggesting that the IDE plugin is hitting the jboss repo [even when the
installed maven conf/settings.xml doesn't define jboss as a
<repository>].



Questions:



  Shouldn't this artifact version be available from the central repo?
[Admittedly, the changes in the subject version appear to be minor.]



  Does m2eclipse hit the jboss repo by default [in addition to central,
etc.]?



Brad



[1] http://www.mavenbrowser.com/pom-report.html

[2] http://www.mavensearch.net/

[3] http://java.sun.com/javase/technologies/desktop/javabeans/jaf/





Reply via email to