wiki:MavenSetup

Version 1 (modified by lauer, 14 years ago) (diff)

maven repo setup info edit

Maven Repository Setup

Add following profile and servers-section into your settings.xml

	<profiles>
        [...]
		<profile>
			<id>dfki-artifactory2-repositories</id>
			<activation><activeByDefault>true</activeByDefault></activation>
			<repositories>
				<repository>
					<id>dfki-libs-releases</id>
					<url>http://www.dfki.uni-kl.de/artifactory2/libs-releases</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>false</enabled>
					</snapshots>
				</repository>
			</repositories>
		</profile>
           [...]
	</profiles>
       <servers>
          [...]
		<server>
			<id>dfki-libs-releases</id>
			<username>guest</username>
			<password>guest</password>
		</server>
          [...]
       </servers>