jbossas/jboss-modules — pull request #28 by patriot1burke (2013-02-25 16:43:52+00:00)
Title: maven artifact resource roots

I've added the ability to define a maven artifact as a resource-root

Tries to find a maven jar artifact from the system property "local.repository.path" This property is a list of platform separated directory names. If not specified, then it looks in ${user.home}/.m2/repository by default. If it can't find it in local paths, then will try to download from a remote repository from the system property "remote.repository". This
is not set by default so downloading doesn't happen by default. It will download both the pom and jar and put it into the first directory listed in "local.repository.path" (or the default dir). This directory will be created if it doesn't exist.

Finally, there is a progress download message. If you do not want a message to console, then set the system property "maven.download.message" to "false"