pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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.alvin</groupId>
  7. <artifactId>alvin-mybatis-plus-generator</artifactId>
  8. <version>1.0</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>mysql</groupId>
  16. <artifactId>mysql-connector-java</artifactId>
  17. <version>8.0.28</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>cn.smallbun.screw</groupId>
  21. <artifactId>screw-core</artifactId>
  22. <version>1.0.5</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.zaxxer</groupId>
  26. <artifactId>HikariCP</artifactId>
  27. <version>4.0.3</version>
  28. <scope>compile</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba</groupId>
  32. <artifactId>fastjson</artifactId>
  33. <version>1.2.79</version>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <!--使用Maven编译可执行的jar-->
  38. <plugins>
  39. <plugin>
  40. <artifactId>maven-assembly-plugin</artifactId>
  41. <configuration>
  42. <appendAssemblyId>false</appendAssemblyId>
  43. <descriptorRefs>
  44. <descriptorRef>jar-with-dependencies</descriptorRef>
  45. </descriptorRefs>
  46. <archive>
  47. <manifest>
  48. <mainClass>com.alvin.Generator</mainClass>
  49. </manifest>
  50. </archive>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>single</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>