michaelhyatt / elastic-apm-mule4-agent

APM agent for tracing Mule 4 applications using Elastic APM
17 stars 9 forks source link

Deploy with maven #23

Open wapaula opened 10 months ago

wapaula commented 10 months ago

Hello friend, first of all thanks for that project.

My problem is that I can't deploy my project with apm plugin with azure devops pipeline, Im getting errors dependencies. I didn't find the mule4-agent in any repository then I supose that is the problem. Do you have any idea what I should do?

michaelhyatt commented 10 months ago

Hey, I am not too familiar with Azure devops, but you will need to make the jar file available for maven to pick it up from somewhere. This is how you can install the local dependency, I am guessing there is a way to add additional jar files for Azure devops to pick them up:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=co.elastic.apm \
    -DartifactId=apm-mule4-agent -Dversion=x.yy.zzz -Dpackaging=jar