Brapi
A java project with modules to interact with BrAPI data.
Install / Use
/learn @Breeding-Insight/BrapiREADME
brapi
Java libraries for modeling BrAPI objects (brapi-java-model) and interacting with external BrAPI services (brapi-java-client) in the JVM
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Core/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Phenotyping/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Genotyping/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Germplasm/2.1
Integration
Maven:
<dependency>
<groupId>org.brapi</groupId>
<artifactId>brapi-java-client</artifactId>
<version>${brapi-java-client.version}</version>
</dependency>
...
<dependency>
<groupId>org.brapi</groupId>
<artifactId>brapi-java-model</artifactId>
<version>${brapi-java-model.version}</version>
</dependency>
Referencing Snapshots: Add the Nexus Sonatype Snapshots repository to your pom:
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
Development Environment Setup
This project uses lombok so your development environment has to be configured to handle the lombok annotations. Instructions for popular editors are available here.
Building the project
If using IntelliJ, create a new configuration for Maven to build your project.
Working Directory: <your_path>/brapi
Command: clean install
If not using IntelliJ, running the command
mvn clean install
when in your brapi directory will build the project.
Running the tests
You can run all the tests running mvn test.
License
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
