You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 3.5 kB

5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.yitter</groupId>
  7. <artifactId>yitter.idgenerator</artifactId>
  8. <packaging>jar</packaging>
  9. <version>1.0.0</version>
  10. <name>yitter.idgenerator</name>
  11. <description>Shorter ID and faster generation with a new snowflake drift algorithm. The core is to shorten the ID length, but also can have a very high instantaneous concurrent processing capacity (50W/0.1s), and powerful configuration capacity.</description>
  12. <developers>
  13. <developer>
  14. <id>yitter</id>
  15. <name>yitter</name>
  16. <email>yitter@126.com</email>
  17. <url>https://gitee.com/yitter/idgenerator</url>
  18. </developer>
  19. </developers>
  20. <properties>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <maven.compiler.source>1.8</maven.compiler.source>
  24. <maven.compiler.target>1.8</maven.compiler.target>
  25. <java.version>1.8</java.version>
  26. </properties>
  27. <build>
  28. <pluginManagement>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-compiler-plugin</artifactId>
  33. <version>3.8.0</version>
  34. <configuration>
  35. <source>${java.version}</source>
  36. <target>${java.version}</target>
  37. <encoding>UTF-8</encoding>
  38. </configuration>
  39. </plugin>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-jar-plugin</artifactId>
  43. <version>3.1.0</version>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-surefire-plugin</artifactId>
  48. <configuration>
  49. <skip>true</skip>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. </pluginManagement>
  54. <resources>
  55. <resource>
  56. <directory>${project.basedir}</directory>
  57. <targetPath>META-INF</targetPath>
  58. <includes>
  59. <include>LICENSE</include>
  60. <include>NOTICE</include>
  61. </includes>
  62. </resource>
  63. <resource>
  64. <directory>src/main/resources</directory>
  65. <filtering>true</filtering>
  66. <includes>
  67. <include>**</include>
  68. </includes>
  69. </resource>
  70. </resources>
  71. <testResources>
  72. <testResource>
  73. <directory>src/test/resources</directory>
  74. <includes>
  75. <include>**</include>
  76. </includes>
  77. </testResource>
  78. </testResources>
  79. </build>
  80. <licenses>
  81. <license>
  82. <name>The Apache Software License, Version 2.0</name>
  83. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  84. </license>
  85. </licenses>
  86. </project>

雪花算法中非常好用的数字ID生成器