"scott.stark@jboss.org" wrote:"pgier" wrote:
I have a question about one of the dependencies. There is a jar file called snmptrapappender.jar. It is located in the repository here http://repository.jboss.org/snmptrapappender/. It appears to be a dependency of apache-log4j in our thirdparty repo.
This jar is not in the central maven repo. Should I add it to our repo? Can this be replaced by anything else?
It looks like Fernando created a jpackage bundle for it:
http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=6100
The link to the http://www.m2technologies.net/asp/snmpTrapAppender.asp is not responding, so I guess its defunct. I don't know of a replacement.
I'm not sure about the best way to handle the "resources" folders in some of the app server dependencies. I created a workaround in the plugin that allows the plugin to copy files from the directory "thirdparty/src/main/resources" to the appropriate locations, but this has some drawbacks because these files are now version controlled in the app server source tree instead of their respective projects.
In the long term maybe the projects should jar these files and create an artifact with a classifier of "resources" that can be downloaded to the appropriate place. So for example aop would have a file called something like "aop-2.0-resources.jar". I'm open to suggestions on this if anyone has ideas of how to best handle it.