fixed maven not compiling correctly

This commit is contained in:
mohammed jasem alaajel 2020-12-14 16:20:17 +04:00 committed by Govindas
parent 141388829c
commit c8176f3cf9
3 changed files with 37 additions and 4 deletions

4
.gitignore vendored
View File

@ -3,3 +3,7 @@ out
.idea
compile
*.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!
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:
```

34
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>net.limework.rediskript</groupId>
<artifactId>RediSkript</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
<packaging>jar</packaging>
<build>
@ -27,6 +27,30 @@
<encoding>UTF-8</encoding>
</configuration>
</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>
</build>
@ -44,8 +68,12 @@
<url>https://mvnrepository.com/artifact/org.apache.commons/commons-pool2</url>
</repository>
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
<id>PaperMC</id>
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
</repository>
<repository>
<id>sk89q</id>
<url>http://maven.sk89q.com/repo</url>
</repository>
</repositories>