pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>1.5.10.RELEASE</version>
  10. </parent>
  11. <groupId>com.yihu.wlyy</groupId>
  12. <artifactId>wlyy-ftp-files</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
  17. <thymeleaf-layout-dialect.version>2.0.4</thymeleaf-layout-dialect.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- jstl -->
  25. <dependency>
  26. <groupId>javax.servlet</groupId>
  27. <artifactId>jstl</artifactId>
  28. <!--<scope>compile</scope>-->
  29. </dependency>
  30. <!-- jasper -->
  31. <dependency>
  32. <groupId>org.apache.tomcat.embed</groupId>
  33. <artifactId>tomcat-embed-jasper</artifactId>
  34. <!--<scope>compile</scope>-->
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-tomcat</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mybatis.spring.boot</groupId>
  43. <artifactId>mybatis-spring-boot-starter</artifactId>
  44. <version>1.1.1</version>
  45. </dependency>
  46. <!-- 添加 junit 环境的 jar 包 -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-test</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <!--<version>${version.slf4j}</version>-->
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.47</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-lang3</artifactId>
  64. <version>3.3.2</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>commons-collections</groupId>
  68. <artifactId>commons-collections</artifactId>
  69. <version>3.2.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-net</groupId>
  73. <artifactId>commons-net</artifactId>
  74. <version>3.3</version>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-net</groupId>
  79. <artifactId>commons-net</artifactId>
  80. <version>3.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.httpcomponents</groupId>
  84. <artifactId>httpclient</artifactId>
  85. <version>4.3.6</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.httpcomponents</groupId>
  89. <artifactId>httpmime</artifactId>
  90. <version>4.3.6</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.axis</groupId>
  94. <artifactId>axis</artifactId>
  95. <version>1.4</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <configuration>
  104. <!-- 指定该Main Class为全局的唯一入口 -->
  105. <mainClass>com.yihu.wlyy.Application</mainClass>
  106. <layout>ZIP</layout>
  107. </configuration>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>