pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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>xy-authorize</artifactId>
  7. <groupId>com.xy</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>authorize-start</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.xy</groupId>
  20. <artifactId>authorize-api-service</artifactId>
  21. <version>1.0</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.xy</groupId>
  25. <artifactId>xy-logback</artifactId>
  26. <version>1.0</version>
  27. </dependency>
  28. <!-- torna swagger 插件 -->
  29. <dependency>
  30. <groupId>com.xy</groupId>
  31. <artifactId>xy-torna</artifactId>
  32. <version>1.0</version>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <plugins>
  37. <!-- 打包 -->
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-assembly-plugin</artifactId>
  41. </plugin>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. <version>2.3.12.RELEASE</version>
  46. <configuration>
  47. <mainClass>com.xy.StartCloud</mainClass>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>repackage</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <!-- 上传源码 -->
  58. <plugin>
  59. <artifactId>maven-source-plugin</artifactId>
  60. <version>2.4</version>
  61. <configuration>
  62. <attach>true</attach>
  63. </configuration>
  64. <executions>
  65. <execution>
  66. <phase>compile</phase>
  67. <goals>
  68. <goal>jar</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>