Skip to content

Commit bfab253

Browse files
committed
readme updates
1 parent 8ae4b3e commit bfab253

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ For finding GitHub Package (public package):
6464
<repositories>
6565
<repository>
6666
<id>github</id>
67+
<name>GitHub Packages</name>
6768
<url>https://maven.pkg.github.com/featurevisor/featurevisor-java</url>
6869
</repository>
6970
</repositories>
@@ -78,7 +79,7 @@ Add Featurevisor Java SDK as a dependency with your desired version:
7879
<dependency>
7980
<groupId>com.featurevisor</groupId>
8081
<artifactId>featurevisor-java</artifactId>
81-
<version>0.0.3</version>
82+
<version>0.0.6</version>
8283
</dependency>
8384
</dependencies>
8485
```
@@ -87,9 +88,7 @@ Find latest version here: [https://github.com/featurevisor/featurevisor-java/pac
8788

8889
### Authentication
8990

90-
**Note:** This package is published as a public package and should be accessible without authentication. If you encounter 401 errors, please ensure you're using the correct repository URL.
91-
92-
If you need to authenticate with GitHub Packages (for private packages), in your `~/.m2/settings.xml` file, add the following:
91+
To authenticate with GitHub Packages, in your `~/.m2/settings.xml` file, add the following:
9392

9493
```xml
9594
<?xml version="1.0" encoding="UTF-8"?>
@@ -123,7 +122,7 @@ import com.featurevisor.types.DatafileContent;
123122

124123
// Load datafile content
125124
String datafileUrl = "https://cdn.yoursite.com/datafile.json";
126-
String datafileContent = // ... load your datafile content
125+
String datafileContent = "..." // ... load your datafile content
127126

128127
// Parse the JSON into DatafileContent object
129128
DatafileContent datafile = DatafileContent.fromJson(datafileContent);

0 commit comments

Comments
 (0)