https://github.com/featurevisor/featurevisor-example-java
Example application using Featurevisor Java SDK
https://github.com/featurevisor/featurevisor-example-java
Last synced: 7 months ago
JSON representation
Example application using Featurevisor Java SDK
- Host: GitHub
- URL: https://github.com/featurevisor/featurevisor-example-java
- Owner: featurevisor
- Created: 2025-08-03T00:07:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-08-05T15:18:01.000Z (8 months ago)
- Last Synced: 2025-08-05T17:23:19.383Z (8 months ago)
- Language: Java
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# featurevisor-example-java
A simple Java application that uses Featurevisor Java SDK.
Learn more about Featurevisor: https://featurevisor.com
## Installation
Clone the repository, and install the dependencies:
## Setup `settings.xml`
Create a new file at `~/.m2/settings.xml` with the following content:
```xml
github
YOUR_GITHUB_USERNAME
YOUR_GITHUB_TOKEN
```
You can generate a new GitHub token here with `read:packages` scope: https://github.com/settings/tokens
This file is meant to not be committed to the repository, as `.gitignore` is configured to ignore it.
## Install dependencies
```
$ mvn install
```
## Compile
```
$ mvn clean compile
```
## Usage
```
$ mvn exec:java -Dexec.mainClass="com.example.App"
```
## Featurevisor project
Uses this Featurevisor project to fetch the configuration from: https://github.com/featurevisor/featurevisor-example-cloudflare