2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

update readme, fix complation, 0.7.2

This commit is contained in:
mohammed jasem alaajel 2022-05-26 00:53:25 +04:00
parent 7b2db2899e
commit ade1604987
5 changed files with 56 additions and 60 deletions

View File

@ -26,28 +26,18 @@ git clone https://github.com/ProxioDev/RedisBungee.git
cd RedisBungee cd RedisBungee
mvn clean install mvn clean install
``` ```
If you want to have `RedisBungeeAPI` class then to import for bungeecord use:
``` ```
<dependency> <dependency>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee-API</artifactId> <artifactId>RedisBungee-Bungee</artifactId>
<version>0.7.1-SNAPSHOT</version> <version>0.7.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
and if you want to use the events Import RedisBungee-BungeeEvents which for bungeecord
`note: you need API imported too`
```
<dependency>
<groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee-BungeeEvents</artifactId>
<version>0.7.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
## Javadocs ## Javadocs
Check out our Java docs on github pages Check out our Java docs on github pages
https://proxiodev.github.io/RedisBungee-JavaDocs/0.7.0-SNAPSHOT https://proxiodev.github.io/RedisBungee-JavaDocs/0.7.2-SNAPSHOT
## Configuration ## Configuration

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>RedisBungee</artifactId> <artifactId>RedisBungee</artifactId>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<version>0.7.1-SNAPSHOT</version> <version>0.7.2-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -22,6 +22,7 @@
<destDir>${project.name}</destDir> <destDir>${project.name}</destDir>
</configuration> </configuration>
</plugin> </plugin>
<!--
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
@ -29,9 +30,6 @@
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration> <configuration>
<relocations> <relocations>
<relocation> <relocation>
@ -79,43 +77,10 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
-->
</plugins> </plugins>
</build> </build>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>4.2.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.11.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.7.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>RedisBungee</artifactId> <artifactId>RedisBungee</artifactId>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<version>0.7.1-SNAPSHOT</version> <version>0.7.2-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -39,6 +39,16 @@
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<source>8</source>
<reportOutputDirectory>../javadoc</reportOutputDirectory>
<destDir>${project.name}</destDir>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
@ -46,9 +56,7 @@
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals><goal>shade</goal></goals>
<goal>shade</goal>
</goals>
<configuration> <configuration>
<relocations> <relocations>
<relocation> <relocation>
@ -103,12 +111,12 @@
<dependency> <dependency>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee-API</artifactId> <artifactId>RedisBungee-API</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>${parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee-BungeeEvents</artifactId> <artifactId>RedisBungee-BungeeEvents</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>${parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.md-5</groupId> <groupId>net.md-5</groupId>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>RedisBungee</artifactId> <artifactId>RedisBungee</artifactId>
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.2-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

35
pom.xml
View File

@ -7,7 +7,7 @@
<groupId>com.imaginarycode.minecraft</groupId> <groupId>com.imaginarycode.minecraft</groupId>
<artifactId>RedisBungee</artifactId> <artifactId>RedisBungee</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.7.1-SNAPSHOT</version> <version>0.7.2-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -26,4 +26,37 @@
<module>RedisBungee-BungeeEvents</module> <module>RedisBungee-BungeeEvents</module>
</modules> </modules>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>4.2.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.11.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.7.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project> </project>