Sasa
Sasa

Reputation: 43

JBoss as client 5.1.0.GA repository missing

Just recently I was creating new maven project on new computer and it seams that the dependency for jboss as client isn't available anymore:

 <dependency>
    <groupId>org.jboss.jbossas</groupId>
    <artifactId>jboss-as-client</artifactId>
    <version>5.1.0.GA</version>
    <type>pom</type>
    <scope>provided</scope>
</dependency>

And the repository resource is:

<repositories>
    <repository>
        <id>jboss-maven2</id>
        <url>http://repository.jboss.com/maven2</url>
    </repository>
</repositories>

Is there any new repository url, because I can not download any dependency since this site is broken?

Upvotes: 4

Views: 4909

Answers (2)

Jon Onstott
Jon Onstott

Reputation: 13727

I ran into the same issue with a project that depends on jboss-as-client:5.1.0.GA.

First, you can search the JBoss Nexus Maven repository for the artifact that is missing. Clicking on it will show you what repository it is in (such as JBoss Thirdparty Releases). Then you can view the list of JBoss repositories to get the URL for the repository you need. I had to add the JBoss Releases, JBoss Deprecated, and JBoss Thirdparty repositories.

Upvotes: 3

wjans
wjans

Reputation: 10115

Check this post. JBoss Maven repository has been migrated to a new Nexus repository. Old repo has been kept for a while, but it looks like they revoked public access in the meanwhile.

See the documentation for details, but you'll probably need the new repo url https://repository.jboss.org/nexus/content/groups/public which does contain your required artifact.

Upvotes: 3

Related Questions