Adding additional Maven repositories to your pom.xml

Not all jars can be located in the default maven repo. org.jboss jars for example can be picked up from JBoss’ own repo.

To add an additional repo to your pom.xml, add a section like this:

	<repositories>
		<repository>
			<id>JBoss Repo</id>
			<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
			<name>JBoss Repo</name>
		</repository>
	</repositories>

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.