(Hopefully) fix Travis builds, set compat. to Java 8 for consistency

This commit is contained in:
DoNotSpamPls 2018-08-17 10:01:02 +03:00
parent 8dc0859cba
commit 09e1b17bab
3 changed files with 26 additions and 25 deletions

View File

@ -1,5 +1,5 @@
language: java language: java
jdk: [ openjdk7 ] jdk: [ openjdk8 ]
branches: branches:
except: except:
- gh-pages - gh-pages

View File

@ -1,24 +1,25 @@
# VaultAPI - Abstraction Library API for Bukkit Plugins - ![Travis-ci](https://travis-ci.org/MilkBowl/VaultAPI.svg?branch=master) # VaultAPI - Abstraction Library API for Bukkit Plugins - [![](https://travis-ci.org/MilkBowl/VaultAPI.svg?branch=master)](https://travis-ci.org/MilkBowl/VaultAPI)
How to use with maven: note that the VaultAPI version is 2 numerals, unlike Vault versions which are 3. The 2 numerals in the VaultAPI will always correspond to the 2 beginning numerals in a Vault version to make it clear what versions your plugin will for sure work with. How to include the API with Maven:
``` ```
<repositories> <repositories>
<repository> <repository>
<id>vault-repo</id> <id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url> <url>http://nexus.hc.to/content/repositories/pub_releases</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.milkbowl.vault</groupId> <groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId> <artifactId>VaultAPI</artifactId>
<version>1.6</version> <version>1.6</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```
**Note**: The VaultAPI version has 2 numbers (major.minor), unlike Vault, which has 3. The 2 numbers in the VaultAPI will always correspond to the 2 beginning numbers in a Vault version to make it clear what versions your plugin will for sure work with.
## Why Vault? ## Why Vault?
I have no preference which library suits your plugin and development efforts I have no preference which library suits your plugin and development efforts
best. Really, I thought a central suite (rather...Vault) of solutions was the best. Really, I thought a central suite (rather...Vault) of solutions was the
@ -32,7 +33,7 @@ So, what features do I _think_ you'll like the most?
* Choice! * Choice!
## License ## License
Copyright (C) 2011 Morgan Humes <morgan@lanaddict.com> Copyright (C) 2011-2018 Morgan Humes <morgan@lanaddict.com>
Vault is free software: you can redistribute it and/or modify Vault is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by it under the terms of the GNU Lesser General Public License as published by
@ -50,7 +51,6 @@ along with Vault. If not, see <http://www.gnu.org/licenses/>.
## Building ## Building
VaultAPI comes with all libraries needed to build from the current branch. VaultAPI comes with all libraries needed to build from the current branch.
## Implementing Vault ## Implementing Vault
Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit ServiceManager. See the example below: Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit ServiceManager. See the example below:

11
pom.xml
View File

@ -4,7 +4,12 @@
<groupId>net.milkbowl.vault</groupId> <groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId> <artifactId>VaultAPI</artifactId>
<version>1.6</version> <version>1.6</version>
<name>VaultAPI</name> <name>VaultAPI</name>
<description>Vault is a Permissions &amp; Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.
Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms, bPerms2, SimplyPerms, DroxPerms, zPermissions, rscPermissions, KPerms, Starburst, iConomy (4/5/6) BOSEconomy *6/7), EssentialsEcon, 3Co, MultiConomy, MineConomy, EconXP, eWallet, CurrencyCore, XPBank, CraftConomy, AEco, SDFEconomy, TAEcon
</description>
<url>http://dev.bukkit.org/server-mods/vault/</url> <url>http://dev.bukkit.org/server-mods/vault/</url>
<properties> <properties>
@ -25,7 +30,7 @@
</scm> </scm>
<ciManagement> <ciManagement>
<system>travis</system> <system>Travis-CI</system>
<url>https://travis-ci.org/MilkBowl/VaultAPI</url> <url>https://travis-ci.org/MilkBowl/VaultAPI</url>
</ciManagement> </ciManagement>
@ -103,8 +108,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<description>Vault is a Permissions &amp; Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.
Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms, bPerms2, SimplyPerms, DroxPerms, zPermissions, rscPermissions, KPerms, Starburst, iConomy (4/5/6) BOSEconomy *6/7), EssentialsEcon, 3Co, MultiConomy, MineConomy, EconXP, eWallet, CurrencyCore, XPBank, CraftConomy, AEco, SDFEconomy, TAEcon
</description>
</project> </project>