All tools/Apache Maven

Apache Maven

maven

Apache Maven is a software project management and comprehension tool.

Detected by mvn | macOS, Linux, Windows |maven.apache.org

Sync rules

What travels, what stays, what never leaves
Apache Maven in your home directory Every rule on this page, by file
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<localRepository>/Users/octocat/.m2/repository</localRepository>machine-local
<interactiveMode>true</interactiveMode>
<offline>false</offline>

Each machine keeps its own copy of these.

<password><passphrase>

Lifted into your secret store; the rest of the file syncs.

<vendor>temurin</vendor>
</provides>
<configuration>
<jdkHome>/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home</jdkHome>machine-local
</configuration>
</toolchain>
<toolchain>
<vendor>temurin</vendor>
</provides>
<configuration>
<jdkHome>/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home</jdkHome>machine-local
</configuration>
</toolchain>
</toolchains>

Each machine keeps its own copy of these.

· repository/ Exclude
· wrapper/ Exclude
· settings-security.xml Never synced

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/maven. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these keeps the credential file out. None of them splits <localRepository> and <jdkHome> for you — that part is Otty’s own sync, or a template you write by hand.