Dashboard > Development > Development > Maven repository bootstrap instructions
Maven repository bootstrap instructions Log In View a printable version of the current page.

Added by Herko ter Horst , last edited by Herko ter Horst on 2008-04-25
Labels: 
(None)

All Aduna projects make use of a couple of "root" pom files. We're working on getting these pom files deployed to the central Maven repository so they are automatically available to all Maven users.

Until we do, however, you may run into problems getting individual projects to compile using Maven. The solution for now is to add the following information to your ~/.m2/settings.xml (%USER_HOME%\.m2\settings.xml on Windows):

<settings xmlns="http://maven.apache.org/POM/4.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
[...]
	<profiles>
[...]
		<profile>
			<id>aduna.bootstrap</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<repositories>
				<repository>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>false</enabled>
					</snapshots>
					<id>aduna-opensource.releases</id>
					<name>Aduna Open Source - Maven releases</name>
					<url>http://repo.aduna-software.org/maven2/releases</url>
				</repository>
			</repositories>
		</profile>
	</profiles>
[...]
</settings>
Powered by a free Atlassian Confluence Open Source Project License granted to Aduna Open Source. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators