pom-jdbc.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.redkalex</groupId>
  5. <artifactId>redkale-benchmark</artifactId>
  6. <version>1.0.0</version>
  7. <properties>
  8. <main.class>org.redkale.boot.Application</main.class>
  9. <redkale.version>2.8.0-SNAPSHOT</redkale.version>
  10. <postgresql.version>42.6.0</postgresql.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>18</maven.compiler.source>
  13. <maven.compiler.target>18</maven.compiler.target>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.redkale</groupId>
  18. <artifactId>redkale</artifactId>
  19. <version>${redkale.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.redkalex</groupId>
  23. <artifactId>redkale-plugins</artifactId>
  24. <version>${redkale.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.postgresql</groupId>
  28. <artifactId>postgresql</artifactId>
  29. <version>${postgresql.version}</version>
  30. </dependency>
  31. </dependencies>
  32. <repositories>
  33. <repository>
  34. <id>central</id>
  35. <name>Central Repository</name>
  36. <url>https://repo.maven.apache.org/maven2</url>
  37. </repository>
  38. <repository>
  39. <id>sonatype-nexus-snapshots</id>
  40. <name>Sonatype Nexus Snapshots</name>
  41. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  42. </repository>
  43. </repositories>
  44. <pluginRepositories>
  45. <pluginRepository>
  46. <id>central</id>
  47. <name>Central Repository</name>
  48. <url>https://repo.maven.apache.org/maven2</url>
  49. </pluginRepository>
  50. <pluginRepository>
  51. <id>sonatype-nexus-snapshots</id>
  52. <name>Sonatype Nexus Snapshots</name>
  53. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  54. <releases>
  55. <enabled>false</enabled>
  56. </releases>
  57. <snapshots>
  58. <enabled>true</enabled>
  59. </snapshots>
  60. </pluginRepository>
  61. </pluginRepositories>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>3.10.0</version>
  68. <configuration>
  69. <encoding>UTF-8</encoding>
  70. <compilerArgs>
  71. <arg>-parameters</arg>
  72. <arg>--enable-preview</arg>
  73. </compilerArgs>
  74. <showDeprecation>true</showDeprecation>
  75. </configuration>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.redkale.maven.plugins</groupId>
  79. <artifactId>redkale-maven-plugin</artifactId>
  80. <version>1.2.0-SNAPSHOT</version>
  81. <configuration>
  82. <nativeimageArgs>
  83. <arg>--no-fallback</arg>
  84. </nativeimageArgs>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <id>redkale-compile</id>
  89. <phase>process-classes</phase>
  90. <goals>
  91. <goal>compile</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-shade-plugin</artifactId>
  99. <version>3.3.0</version>
  100. <executions>
  101. <execution>
  102. <phase>package</phase>
  103. <goals>
  104. <goal>shade</goal>
  105. </goals>
  106. <configuration>
  107. <transformers>
  108. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  109. <mainClass>${main.class}</mainClass>
  110. </transformer>
  111. </transformers>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>