pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <dependency>
  29. <groupId>org.elasticsearch.client</groupId>
  30. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  31. <version>7.14.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.elasticsearch</groupId>
  35. <artifactId>elasticsearch</artifactId>
  36. <version>7.14.0</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <!-- 打包 -->
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-assembly-plugin</artifactId>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-maven-plugin</artifactId>
  49. <version>2.3.12.RELEASE</version>
  50. <configuration>
  51. <mainClass>com.xy.StartCloud</mainClass>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <goals>
  56. <goal>repackage</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. <!-- 上传源码 -->
  62. <plugin>
  63. <artifactId>maven-source-plugin</artifactId>
  64. <version>2.4</version>
  65. <configuration>
  66. <attach>true</attach>
  67. </configuration>
  68. <executions>
  69. <execution>
  70. <phase>compile</phase>
  71. <goals>
  72. <goal>jar</goal>
  73. </goals>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. </project>