Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,18 @@ resources into the Maven artifact. Verification includes code style checks:
Spotless (palantir-java-format for Java, sortPom for `pom.xml`) and
Checkstyle (`dev/checkstyle.xml`; minimal rules, e.g. tests must use JUnit 5).

To make the packaged artifact resolvable by local builds of downstream
projects (e.g. `sourcelume-registry`), install it into the local Maven
repository:

```bash
mvn install
```

`mvn verify` only builds the JAR under `target/`; `mvn install` additionally
publishes `sourcelume-spec-<version>-SNAPSHOT.jar` to `~/.m2`, where the
Registry build resolves it.

To fix formatting violations automatically, run:
```bash
mvn spotless:apply
Expand Down