TheCalypso

Velocity config .pom

Apr 17th, 2024
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>fr.gaspezia</groupId>
  8. <artifactId>GProxyV2</artifactId>
  9. <version>0.0.0</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>GProxyV2</name>
  13.  
  14. <properties>
  15. <java.version>17</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18.  
  19. <build>
  20. <resources>
  21. <resource>
  22. <directory>src/main/resources</directory>
  23. <filtering>true</filtering> <!-- remplace ${project.version} in plugin.yml par la version de ce fichier -->
  24. </resource>
  25. </resources>
  26. <plugins>
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-compiler-plugin</artifactId>
  30. <version>3.8.1</version>
  31. <configuration>
  32. <source>${java.version}</source>
  33. <target>${java.version}</target>
  34. </configuration>
  35. </plugin>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-shade-plugin</artifactId>
  39. <version>3.2.4</version>
  40. <executions>
  41. <execution>
  42. <phase>package</phase>
  43. <goals>
  44. <goal>shade</goal>
  45. </goals>
  46. <configuration>
  47. <createDependencyReducedPom>false</createDependencyReducedPom>
  48. </configuration>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. </plugins>
  53. </build>
  54.  
  55. <repositories>
  56. <repository>
  57. <id>papermc-repo</id>
  58. <url>https://repo.papermc.io/repository/maven-public/</url>
  59. </repository>
  60. </repositories>
  61.  
  62. <dependencies>
  63. <dependency>
  64. <groupId>com.velocitypowered</groupId>
  65. <artifactId>velocity-api</artifactId>
  66. <version>3.3.0-SNAPSHOT</version>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.zaxxer</groupId>
  71. <artifactId>HikariCP</artifactId>
  72. <version>5.0.1</version> <!-- Vérifiez la dernière version -->
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <version>1.18.28</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.auth0</groupId>
  83. <artifactId>java-jwt</artifactId>
  84. <version>4.4.0</version>
  85. <scope>compile</scope>
  86. </dependency>
  87. </dependencies>
  88. </project>
  89.  
Advertisement
Add Comment
Please, Sign In to add comment