pom.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. </dependencies>
  37. <build>
  38. <!--使用Maven编译可执行的jar-->
  39. <plugins>
  40. <plugin>
  41. <artifactId>maven-assembly-plugin</artifactId>
  42. <configuration>
  43. <appendAssemblyId>false</appendAssemblyId>
  44. <descriptorRefs>
  45. <descriptorRef>jar-with-dependencies</descriptorRef>
  46. </descriptorRefs>
  47. <archive>
  48. <manifest>
  49. <mainClass>com.alvin.Generator</mainClass>
  50. </manifest>
  51. </archive>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <id>make-assembly</id>
  56. <phase>package</phase>
  57. <goals>
  58. <goal>single</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>