You can add jboss maven2 repository to settings.xml file. This will work
both in m2e and when you run maven build from cli. See [1] for more details.
[1] http://www.sonatype.com/book/reference/settings-details.html#d0e21435
buters wrote:
Hi,
E.g. there is an artifact antlr-2.7.7.jar in
"http://repository.jboss.org/maven2", but m2eclipse doesn't show it in Add
Dependency. If I try to put it manual in pom.xml with <dependency>, Maven
doesn't accept it. I don't want to copy an artifact from repository in my
local repository.
How can I configure my settings.xml or pom.xml that Maven accepts artifacts
from other than central repositories?
Thanks beforehand,
regards, buters
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email