Building From Source
Requirements
Section titled “Requirements”- JDK
21 - Maven
- Network/repository access untuk Maven dependencies yang dideklarasikan
- JAR RedProtect MineForge lokal yang kompatibel jika diperlukan POM
Maven project yang diperiksa menggunakan:
io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOTorg.junit.jupiter:junit-jupiter:5.11.4org.apache.maven.plugins:maven-surefire-plugin:3.5.2POM juga mereferensikan:
libs/RedProtect-8.1.3-SNAPSHOT-MineForge.jarDependency ini bersifat lokal pada source checkout developer. Periksa redistribution rights sebelum melakukan commit JAR pihak ketiga ke public repository.
Build Command
Section titled “Build Command”Dari folder project yang memiliki pom.xml:
mvn -U clean verifySource snapshot yang tersedia mendeklarasikan:
groupId: id.funixartifactId: MF-SlimeFunversion: 1.0.0Version pada source yang diperiksa tidak otomatis sama dengan GitHub Release version. Verifikasi build metadata dan plugin.yml di dalam JAR hasil build sebelum melampirkannya pada release.
Source Locations
Section titled “Source Locations”| Komponen | Lokasi |
|---|---|
| Plugin descriptor | src/main/resources/plugin.yml |
| Main configuration | src/main/resources/config.yml |
| Command registry | src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/subcommands/SlimefunSubCommands.java |
| Technology License command | src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/subcommands/LicenseCommand.java |
| License storage | src/main/java/io/github/thebusybiscuit/slimefun4/api/licenses/FilePlayerLicenseStorage.java |
Verification Status
Section titled “Verification Status”Untuk source baseline yang diperiksa:
- Static source dan documentation consistency checks: dilakukan untuk paket ini.
- Full Maven production build: Not Verified pada tugas dokumentasi ini.
- Live HyanseMC/RedProtect offline-owner test: Not Verified.
- Production database restore test: Not Verified.
Snapshot MF-SlimeFun-1.0.0.zip terakhir yang tersedia tidak menyertakan src/test/. Jangan melaporkan full test suite lulus hanya berdasarkan archive tersebut. Compilation success dan verified runtime upgrade merupakan pemeriksaan terpisah.