Kushal Jain
Kushal Jain

Reputation: 3186

Could not find artifact org.jboss.seam:jboss-seam:jar:2.3.5.Final-redhat-1 in central

I am using maven to add dependency. I added

<!-- https://mvnrepository.com/artifact/org.jboss.seam/jboss-seam -->
<dependency>
   <groupId>org.jboss.seam</groupId>
   <artifactId>jboss-seam</artifactId>
   <version>2.3.5.Final-redhat-1</version>
</dependency>

jboss-seam jar by using above lines in pom.xml. When I run mvn clean install it gives an error

enter image description here

What is the issue and how to solve this error?

Upvotes: 0

Views: 902

Answers (1)

Praveen
Praveen

Reputation: 1881

Try adding the below repository in your pom file,

<repositories>
    <repository>
        <id>redhat</id>
        <url>https://maven.repository.redhat.com/ga/</url>
    </repository>
</repositories>

The artifact is not available in maven central repository. Its available only in redhat-ga repository.

Upvotes: 1

Related Questions