An open API service indexing awesome lists of open source software.

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

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