pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <parent>
  22. <artifactId>dolphinscheduler</artifactId>
  23. <groupId>org.apache.dolphinscheduler</groupId>
  24. <version>2.0.0-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>dolphinscheduler-microbench</artifactId>
  28. <packaging>jar</packaging>
  29. <name>${project.artifactId}</name>
  30. <properties>
  31. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  32. <jmh.version>1.21</jmh.version>
  33. <javac.target>1.8</javac.target>
  34. <uberjar.name>benchmarks</uberjar.name>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.openjdk.jmh</groupId>
  39. <artifactId>jmh-core</artifactId>
  40. <version>${jmh.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.openjdk.jmh</groupId>
  44. <artifactId>jmh-generator-annprocess</artifactId>
  45. <version>${jmh.version}</version>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>junit</groupId>
  50. <artifactId>junit</artifactId>
  51. <scope>compile</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.dolphinscheduler</groupId>
  59. <artifactId>dolphinscheduler-remote</artifactId>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>${maven-compiler-plugin.version}</version>
  68. <configuration>
  69. <compilerVersion>${javac.target}</compilerVersion>
  70. <source>${javac.target}</source>
  71. <target>${javac.target}</target>
  72. <useIncrementalCompilation>false</useIncrementalCompilation>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-assembly-plugin</artifactId>
  78. <version>${maven-assembly-plugin.version}</version>
  79. <configuration>
  80. <archive>
  81. <manifest>
  82. <mainClass>org.openjdk.jmh.Main</mainClass>
  83. </manifest>
  84. </archive>
  85. <descriptorRefs>
  86. <descriptorRef>jar-with-dependencies</descriptorRef>
  87. </descriptorRefs>
  88. </configuration>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>