pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>org.apache.dolphinscheduler</groupId>
  23. <artifactId>dolphinscheduler</artifactId>
  24. <version>3.2.2-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-microbench</artifactId>
  27. <packaging>jar</packaging>
  28. <name>${project.artifactId}</name>
  29. <properties>
  30. <jmh.version>1.21</jmh.version>
  31. <javac.target>1.8</javac.target>
  32. <uberjar.name>benchmarks</uberjar.name>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.apache.dolphinscheduler</groupId>
  38. <artifactId>dolphinscheduler-bom</artifactId>
  39. <version>${project.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. </dependencies>
  44. </dependencyManagement>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.apache.dolphinscheduler</groupId>
  48. <artifactId>dolphinscheduler-extract-base</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.openjdk.jmh</groupId>
  52. <artifactId>jmh-core</artifactId>
  53. <version>${jmh.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.openjdk.jmh</groupId>
  57. <artifactId>jmh-generator-annprocess</artifactId>
  58. <version>${jmh.version}</version>
  59. <scope>provided</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.junit.jupiter</groupId>
  63. <artifactId>junit-jupiter-api</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>slf4j-api</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-compiler-plugin</artifactId>
  75. <version>${maven-compiler-plugin.version}</version>
  76. <configuration>
  77. <compilerVersion>${javac.target}</compilerVersion>
  78. <source>${javac.target}</source>
  79. <target>${javac.target}</target>
  80. <useIncrementalCompilation>false</useIncrementalCompilation>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-assembly-plugin</artifactId>
  86. <version>${maven-assembly-plugin.version}</version>
  87. <configuration>
  88. <archive>
  89. <manifest>
  90. <mainClass>org.openjdk.jmh.Main</mainClass>
  91. </manifest>
  92. </archive>
  93. <descriptorRefs>
  94. <descriptorRef>jar-with-dependencies</descriptorRef>
  95. </descriptorRefs>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>