Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleexample maven settings
linenumberstrue
<settings>
	<profiles>
		<profile>
			<id>netProfileId</id>
			<repositories>
				<repository>
					<id>nexus-stepover-maven-public</id>
					<name>StepOver </name>
					<url>https<url>http://nexus.stepover.de:80438081/repository/maven-public/</url>
				</repository>
			</repositories>
		</profile>
	</profiles>

	<activeProfiles>
		<activeProfile>netProfileId</activeProfile>
	</activeProfiles>
	<servers>
		<server>
			<id>nexus-stepover-maven-public</id>
			<username>net</username>
			<password>letmein</password>
		</server>
	</servers>
</settings>

...

Code Block
languagexml
firstline1
titleexample pom.xml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>
<project 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/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>your-group-id</groupId>
	<artifactId>your-artifact-id</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>jar</packaging>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>14</maven.compiler.source>
		<maven.compiler.target>14</maven.compiler.target>
	</properties>
	
	<repositories>
		<repository>
			<id>nexus-stepover-maven-public</id>
			<url>https<url>http://nexus.stepover.de:80438081/repository/maven-public</url>
		</repository>
	</repositories>
	
	<dependencies>
		<dependency>
			<groupId>com.so</groupId>
			<artifactId>net</artifactId>
			<version>[0.0.5,1.0.0)</version>
		</dependency>
	</dependencies>
</project>

...