pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>11</maven.compiler.source>
  12. <maven.compiler.target>11</maven.compiler.target>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.redkale</groupId>
  17. <artifactId>redkale</artifactId>
  18. <version>${redkale.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.redkalex</groupId>
  22. <artifactId>redkale-plugins</artifactId>
  23. <version>${redkale.version}</version>
  24. </dependency>
  25. </dependencies>
  26. <repositories>
  27. <repository>
  28. <id>central</id>
  29. <name>Central Repository</name>
  30. <url>https://repo.maven.apache.org/maven2</url>
  31. </repository>
  32. <repository>
  33. <id>sonatype-nexus-snapshots</id>
  34. <name>Sonatype Nexus Snapshots</name>
  35. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  36. </repository>
  37. </repositories>
  38. <pluginRepositories>
  39. <pluginRepository>
  40. <id>central</id>
  41. <name>Central Repository</name>
  42. <url>https://repo.maven.apache.org/maven2</url>
  43. </pluginRepository>
  44. <pluginRepository>
  45. <id>sonatype-nexus-snapshots</id>
  46. <name>Sonatype Nexus Snapshots</name>
  47. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  48. <releases>
  49. <enabled>false</enabled>
  50. </releases>
  51. <snapshots>
  52. <enabled>true</enabled>
  53. </snapshots>
  54. </pluginRepository>
  55. </pluginRepositories>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.10.0</version>
  62. <configuration>
  63. <showDeprecation>true</showDeprecation>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.redkale.maven.plugins</groupId>
  68. <artifactId>redkale-maven-plugin</artifactId>
  69. <version>1.2.0-SNAPSHOT</version>
  70. <configuration>
  71. <nativeimageArgs>
  72. <arg>--no-fallback</arg>
  73. </nativeimageArgs>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <id>redkale-compile</id>
  78. <phase>process-classes</phase>
  79. <goals>
  80. <goal>compile</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-shade-plugin</artifactId>
  88. <version>3.3.0</version>
  89. <executions>
  90. <execution>
  91. <phase>package</phase>
  92. <goals>
  93. <goal>shade</goal>
  94. </goals>
  95. <configuration>
  96. <transformers>
  97. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  98. <mainClass>${main.class}</mainClass>
  99. </transformer>
  100. </transformers>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>