VMware Cloud Community
sfradkin
Contributor
Contributor

Maven Repository for HQApi?

I've tried a couple of repositories as listed in other older discussions and none of the repositories appear to work.  Does anyone know a working Maven repository to pull the HQApi library from?  maven.hyperic.org/releases doesn't work and neither does maven.hyperic.org/hqapi/milestones.

Thanks.

Reply
0 Kudos
4 Replies
admin
Immortal
Immortal

Reply
0 Kudos
sfradkin
Contributor
Contributor

If I try to create a remote repository in Artifactory that points to that URL, Artifactory tells me that it gets a 403 Forbidden error trying to talk to that URL.

Reply
0 Kudos
admin
Immortal
Immortal

To establish whether the issue is with the artifactory remote repository configuration, I suggest you first try to reference the HQApi repository directly from you project:

Add the following repository to your project pom:

<repository>

        <id>hqapi-release</id>

        <name>HQApi Release Repository</name>

        <url>http://maven.hyperic.org/hqapi/release</url>

        <snapshots>

             <enabled>false</enabled>

        </snapshots>

</repository>

Add the following dependency:

<dependency>
      <groupId>org.hyperic.hq.hqapi</groupId>
      <artifactId>hqapi1</artifactId>
      <version>5.0.0</version>
</dependency>
Adar
Hyperic Team
Reply
0 Kudos
sfradkin
Contributor
Contributor

That actually works.

I tried adding the repo to Artifactory again and tried to pull in the dependencies through Artifactory.  Artifactory definitely gets a 403 Forbidden error trying to retrieve the artifacts.

Is this some sort of configuration issue due to how the Hyperic repo is setup?  I can persue that angle if no one in the community here knows.

Thanks.

Reply
0 Kudos