DX Application Performance Management

Expand all | Collapse all

CA APM MongoDB Name Formatter build ext jar

  • 1.  CA APM MongoDB Name Formatter build ext jar

    Posted 04-17-2017 12:36 PM

    Hello Community,

     

    I like to build the apm mongoDB Name formatter extension from github (GitHub - miguelfc/ca-apm-mongo-name-formatter: Name Formatter used to show details of operations performed by Mongo Java… ).

     

    But when I tried to build (using mvn install or using mvn package) I have this error:

     

     

    [INFO] Scanning for projects...
    [WARNING] The POM for ca.apm.fieldpacks:introscope-agent-resources:jar:1.1.0 is missing, no dependency information available
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] Unresolveable build extension: Plugin ca.apm.fieldpacks:introscope-agent-resources:1.1.0 or one of its dependencies could not be resolved: Failure to find ca.apm.fieldpacks:introscope-agent-resources:jar:1.1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @
    @
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR] The project ca.apm.fieldpacks:ca-apm-mongo-name-formatter:1.0 (C:\Aldo\Proyectos\NuevoHBK\mongodb_name_formater\ca-apm-mongo-name-formatter-master\pom.xml) has 1 error
    [ERROR] Unresolveable build extension: Plugin ca.apm.fieldpacks:introscope-agent-resources:1.1.0 or one of its dependencies could not be resolved: Failure to find ca.apm.fieldpacks:introscope-agent-resources:jar:1.1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

     

    Someone who has had this same error ?

     

    Regards

     

    Aldo.



  • 2.  Re: CA APM MongoDB Name Formatter build ext jar



  • 3.  Re: CA APM MongoDB Name Formatter build ext jar

    Posted 04-18-2017 03:07 AM

    Aldo,

     

    That is a resource only in CA's artifactory server, so you will not be able to satisfy that dependency as it exists in the POM.  I have not checked this specific name formatter, but most of the time, you can work around any dependencies from that component by instead referencing the agent.jar you have downloaded instead.

    The basic steps would be to remove this dependency and see what the build issues are to verify that the Agent.jar is satisfactory and then you'd have to update the POM to use a local .jar as a resource.  

    java - How to add local jar files in maven project? - Stack Overflow 

     

    Regards,

    Tim



  • 4.  Re: CA APM MongoDB Name Formatter build ext jar

    Broadcom Employee
    Posted 01-17-2018 02:23 PM

    If you just need the binaries, you can download them from the release link.

     

    Releases · miguelfc/ca-apm-mongo-name-formatter · GitHub