Hi,
Is there a maven repository available for the apminsight-javaagent-api.jar file? I tried using the local repo method I found on https://devcenter.heroku.com/articles/local-maven-dependencies, but it isn't working with our multi-module project. Alternatively, would using my own classes for @ApmTracker annotations work?
Thanks,
Vaughn
Hello Vaughn,
Currently we haven't published our API jar in the maven public repository. We will publish them shortly.
Meanwhile, you can add our API jars to your local repository using maven-install-plugin
mvn install:install-file -Dfile=[path-to-api-jar-file] \
-DgroupId=com.manageengine.apminsight \
-DartifactId=site24x7-apminsight-java-api \
-Dversion=1.1 -Dpackaging=jar
Note: This will add the API jar to your maven local repository
References:
https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project
Hello Vaughn,
We are pleased to let you know that we have published our APM Insight Java agent API in Maven central repository. Please follow our help document to add Java agent API as dependency to your Maven project.
Thanks