fixed maven not compiling correctly

This commit is contained in:
mohammed jasem alaajel 2020-12-14 16:20:17 +04:00
parent faf6a7d76d
commit 49c12da743
3 changed files with 37 additions and 4 deletions

4
.gitignore vendored
View File

@ -3,3 +3,7 @@ out
.idea .idea
compile compile
*.iml *.iml
.idea/jarRepositories.xml
.idea/libraries/Maven__org_spigotmc_spigot_api_1_16_2_R0_1_SNAPSHOT.xml
*.iml
.idea/jarRepositories.xml

View File

@ -2,8 +2,9 @@ RediSkript allows you to communicate between your servers with use of Redis, it'
You can transfer any data in the form of text between your servers, you can program it to execute a set of instructions on the server depending on the redis message, etc. This can be used for making scripts that sync data between all servers and much more! You can transfer any data in the form of text between your servers, you can program it to execute a set of instructions on the server depending on the redis message, etc. This can be used for making scripts that sync data between all servers and much more!
It is developed and maintained by Govindas & the team of Govindas Limework developers.
It is originally developed by the team of Govindas Limework developers and is now maintained only by Govindas. ~~It is originally developed by the team of Govindas Limework developers and is now maintained only by Govindas.~~
Redis Message: Redis Message:
``` ```

34
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>net.limework.rediskript</groupId> <groupId>net.limework.rediskript</groupId>
<artifactId>RediSkript</artifactId> <artifactId>RediSkript</artifactId>
<version>1.3.0</version> <version>1.3.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<build> <build>
@ -27,6 +27,30 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.3</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<outputDirectory>${project.basedir}/compile</outputDirectory>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
@ -44,8 +68,12 @@
<url>https://mvnrepository.com/artifact/org.apache.commons/commons-pool2</url> <url>https://mvnrepository.com/artifact/org.apache.commons/commons-pool2</url>
</repository> </repository>
<repository> <repository>
<id>papermc</id> <id>PaperMC</id>
<url>https://papermc.io/repo/repository/maven-public/</url> <url>https://repo.destroystokyo.com/repository/maven-public/</url>
</repository>
<repository>
<id>sk89q</id>
<url>http://maven.sk89q.com/repo</url>
</repository> </repository>
</repositories> </repositories>