Apache Maven
mavenApache Maven is a software project management and comprehension tool.
Apache Maven is a software project management and comprehension tool.
Otty extracts these into your secret store instead of syncing the files. Every generated manager config below leaves them out too.
<password><passphrase>The rest of the file syncs. Only these values are lifted out and kept in your secret store.
<localRepository><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> Otty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
<jdkHome> <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>Otty splits these out before upload and puts each machine’s own back on the way down — no templates to write. The lines above come from this tool’s test fixture in the catalog.
Not a subtraction from the paths above: this is everything else Apache Maven writes in your home directory that is state, not configuration. It keeps a whole-home manager like chezmoi from sweeping those up, and it still holds if the synced paths are ever widened.
<localRepository><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.
<jdkHome> <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.
Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.
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.