pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.noear.solon</groupId>
  5. <artifactId>solon-benchmark</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <maven.compiler.source>11</maven.compiler.source>
  11. <maven.compiler.target>11</maven.compiler.target>
  12. <solon.version>2.0.0</solon.version>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.noear</groupId>
  17. <artifactId>solon.boot.smarthttp</artifactId>
  18. <version>${solon.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.noear</groupId>
  22. <artifactId>solon.serialization.snack3</artifactId>
  23. <version>${solon.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. <finalName>${project.artifactId}</finalName>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <version>3.8.1</version>
  63. <configuration>
  64. <compilerArgument>-parameters</compilerArgument>
  65. <source>1.8</source>
  66. <target>1.8</target>
  67. <encoding>UTF-8</encoding>
  68. <debug>false</debug>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-assembly-plugin</artifactId>
  74. <version>3.3.0</version>
  75. <configuration>
  76. <descriptorRefs>
  77. <descriptorRef>jar-with-dependencies</descriptorRef>
  78. </descriptorRefs>
  79. <archive>
  80. <manifest>
  81. <mainClass>pmg.Main</mainClass>
  82. </manifest>
  83. </archive>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <id>make-assembly</id>
  88. <phase>package</phase>
  89. <goals>
  90. <goal>single</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. </project>