pom.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <parent>
  6. <artifactId>usoft-credit-parent</artifactId>
  7. <groupId>com.usoft.credit</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>usoft-credit-dal</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.mybatis.spring.boot</groupId>
  19. <artifactId>mybatis-spring-boot-starter</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>mysql</groupId>
  23. <artifactId>mysql-connector-java</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.usoft.credit</groupId>
  27. <artifactId>usoft-credit-utils</artifactId>
  28. <version>1.0.0-SNAPSHOT</version>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <finalName>usoft-credit-dal</finalName>
  33. <!-- 一定要声明如下配置-->
  34. <resources>
  35. <resource>
  36. <directory>src/main/java</directory>
  37. <includes>
  38. <include>**/com/usoft/credit/dal/xml/*.xml</include>
  39. </includes>
  40. <!-- 是否替换资源中的属性-->
  41. <filtering>false</filtering>
  42. </resource>
  43. </resources>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.mybatis.generator</groupId>
  47. <artifactId>mybatis-generator-maven-plugin</artifactId>
  48. <version>1.3.7</version>
  49. <configuration>
  50. <verbose>true</verbose>
  51. <overwrite>true</overwrite>
  52. </configuration>
  53. <dependencies>
  54. <dependency>
  55. <groupId>com.usoft.credit</groupId>
  56. <artifactId>usoft-credit-utils</artifactId>
  57. <version>1.0.0-SNAPSHOT</version>
  58. </dependency>
  59. </dependencies>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. </project>