I'm using NewRelic for monitoring. I want Maven to package both newrelic.jar and newrelic.yaml files into my WEB-INF/lib
inside the war file. With the newrelic.jar there is no problem since it's a simple dependency, but newrelic.yaml is a resource file. It resides in resources directory. I want Maven (war plugin) to copy it to WEB-INF/lib
when packaging the war.
Thanks.
Alex
WEB-INF/classes
by default? This is where non-JAR resources need to go on the classpath – SofaWEB-INF/lib
rather than to just load it from the classpath – Sofa