pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. <!--mysql-->
  15. <dependency>
  16. <groupId>mysql</groupId>
  17. <artifactId>mysql-connector-java</artifactId>
  18. <version>8.0.28</version>
  19. </dependency>
  20. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus -->
  21. <dependency>
  22. <groupId>com.baomidou</groupId>
  23. <artifactId>mybatis-plus-boot-starter</artifactId>
  24. <version>3.5.1</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.baomidou</groupId>
  28. <artifactId>mybatis-plus-generator</artifactId>
  29. <version>3.5.1</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.freemarker</groupId>
  33. <artifactId>freemarker</artifactId>
  34. <version>2.3.23</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.junit.jupiter</groupId>
  38. <artifactId>junit-jupiter</artifactId>
  39. <version>RELEASE</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <!--使用Maven编译可执行的jar-->
  45. <plugins>
  46. <plugin>
  47. <artifactId>maven-assembly-plugin</artifactId>
  48. <configuration>
  49. <appendAssemblyId>false</appendAssemblyId>
  50. <descriptorRefs>
  51. <descriptorRef>jar-with-dependencies</descriptorRef>
  52. </descriptorRefs>
  53. <archive>
  54. <manifest>
  55. <mainClass>com.alvin.Generator</mainClass>
  56. </manifest>
  57. </archive>
  58. </configuration>
  59. <executions>
  60. <execution>
  61. <id>make-assembly</id>
  62. <phase>package</phase>
  63. <goals>
  64. <goal>single</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. </project>