-
-
Notifications
You must be signed in to change notification settings - Fork 4
How to import Guilded4J to your Maven project
MCUmbrella edited this page Nov 14, 2022
·
5 revisions
Open your pom.xml and then:
- Add repository from URL "https://maven.floatationdevice.vip/"
After that the file will look like this:
...
<repositories>
<repository>
...
</repository>
<repository>
...
</repository>
<repository>
<id>floatationdevice</id>
<url>https://maven.floatationdevice.vip/</url>
</repository>
</repositories>
...
- Add vip.floatationdevice.guilded4j as dependency
After that the file will look like this:
...
<dependencies>
<dependency>
...
</dependency>
<dependency>
...
</dependency>
<dependency>
<groupId>vip.floatationdevice</groupId>
<artifactId>guilded4j</artifactId>
<version>0.9.2</version>
</dependency>
</dependencies>
...
- Re-import the Maven project if needed
NOTE:
- The value in the
<version>
tag doesn't always have to be0.9.2
. You can go to the release page to check the full version list - You can browse the
fakeMaven repository by browsing https://github.com/MCUmbrella/maven. (The repository will be migrated to Maven Central after the bot API's public release)