• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Maven2 repository with old index

 
Luiz Abrahao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've just started working with Maven and I'm porting my company's applications to Maven2. We have a couple of applications using Seam and as far as I now I should use the JBoss Maven2 respository because the Central Maven2 repository doesn't have the Seam libraries.

The problem is when my Maven updates the JBoss repository's (http://repository.jboss.org/maven2/) index I get this:



With this my Maven doesn't find some of the libraries I need, for example the Seam 2.2.0.GA

If I use my browser to navigate through the repository I can see all new the libraries there. I might be doing something pretty stupid.

I'm using the m2eclipse plugin.

Thanks!
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using Maven from the Command Line? It could be a plugin issue.
 
Luiz Abrahao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you open the JBoss repository's properties file (http://repository.jboss.org/maven2/.index/nexus-maven-repository-index.properties)

you see this:

I'm trying to find how to add and update the JBoss repository using the command line.

Thank you for your reply!

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to add and update the JBoss repository

Does this mean what I think it means? Are you saying that you want to upload the artifact that your pom.xml generates into the JBoss' Maven repository? First question: why? Second question: are you a Red Hat employee working on a JBoss product? Only if you are working on a JBoss product should you be updating the JBoss Maven repository.

If that is not what you are doing, then I am not understanding what you are attempting to accomplish.
 
Luiz Abrahao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Peter, I'm sorry if I wasn't clear enough.

I don't know if you have used the m2eclipse plugin. You can add repositories "to the plugin" and when you are writing your POM using the plugin's POM editor you can easily look up for artefacts.

Every time you start Eclipse the plugin updates the indexes of the all repositories that you have. But when the plugin updates the JBoss repository I'm getting a old index, from Jul 08 2008, so the plugin cannot find the latest releases when I use the POM editor to add dependencies, exclusions and so on.

If I manually insert the artefacts, without using the wizard to find the artefacts everything works fine.

Thanks,
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That indeed is an issue. I'll see if we can get that index updated by setting up a cron job. Will update this thread when that happens. Thanks for reporting.
 
Luiz Abrahao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jaikiran!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luiz, thanks for the clarification - now I know what you are talking about (I am familiar with and have used that same feature). This points out the importance of being very specific when describing a problem - you might know the context for your question but not everyone will automatically guess what the context is.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:That indeed is an issue. I'll see if we can get that index updated by setting up a cron job. Will update this thread when that happens. Thanks for reporting.

The index has been updated http://repository.jboss.org/maven2/.index/nexus-maven-repository-index.properties. See if it fixes your issue.
 
Ted Bergeron
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This index is stale again.

As of April 3rd:

http://repository.jboss.org/maven2/.index/nexus-maven-repository-index.properties

#Mon Feb 01 19:32:46 EST 2010
nexus.index.chain-id=1256577597688
nexus.index.time=20100202003210.688 +0000
nexus.index.timestamp=20100202003210.688 +0000
nexus.index.id=jboss-maven2-release-repository
nexus.index.last-incremental=0
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some changes being done the JBoss Maven repo. Specifically, a new repository is being created. I believe these issues will be sorted out by the new repo.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to Javaranch Ted!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic