pom.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. <dependencies>
  13. <dependency>
  14. <groupId>com.xy</groupId>
  15. <artifactId>authorize-api-service</artifactId>
  16. <version>1.0</version>
  17. </dependency>
  18. </dependencies>
  19. <build>
  20. <plugins>
  21. <!-- 打包 -->
  22. <plugin>
  23. <groupId>org.apache.maven.plugins</groupId>
  24. <artifactId>maven-assembly-plugin</artifactId>
  25. </plugin>
  26. <plugin>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-maven-plugin</artifactId>
  29. <version>2.3.12.RELEASE</version>
  30. <configuration>
  31. <mainClass>com.xy.StartCloud</mainClass>
  32. </configuration>
  33. <executions>
  34. <execution>
  35. <goals>
  36. <goal>repackage</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. </plugin>
  41. <!-- 上传源码 -->
  42. <plugin>
  43. <artifactId>maven-source-plugin</artifactId>
  44. <version>2.4</version>
  45. <configuration>
  46. <attach>true</attach>
  47. </configuration>
  48. <executions>
  49. <execution>
  50. <phase>compile</phase>
  51. <goals>
  52. <goal>jar</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. </plugins>
  58. </build>
  59. </project>