pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <!--suppress ALL -->
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.bjlt.spider</groupId>
  6. <artifactId>spider_search_service</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>spider_plugin_service</name>
  10. <url>http://maven.apache.org</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <java.version>1.8</java.version>
  17. <swagger2.version>2.6.1</swagger2.version>
  18. <spider_common.version>0.0.1-SNAPSHOT</spider_common.version>
  19. <!--<spider_common.version>1.0.1-SNAPSHOT</spider_common.version>-->
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>com.bjlt.spider</groupId>
  24. <artifactId>spider_plugin_rpc</artifactId>
  25. <version>0.0.1-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.bjlt.spider</groupId>
  29. <artifactId>spider_common</artifactId>
  30. <version>${spider_common.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>junit</groupId>
  34. <artifactId>junit</artifactId>
  35. <version>RELEASE</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>xml-apis</groupId>
  39. <artifactId>xml-apis</artifactId>
  40. <version>1.4.01</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.tripto.rpc</groupId>
  44. <artifactId>tripto_rpc</artifactId>
  45. <version>1.0-SNAPSHOT</version>
  46. </dependency>
  47. <!--&lt;!&ndash; 6 dubbo zookeeper相关依赖start &ndash;&gt;-->
  48. <!--<dependency>-->
  49. <!--<groupId>com.alibaba</groupId>-->
  50. <!--<artifactId>dubbo</artifactId>-->
  51. <!--<version>2.5.3</version>-->
  52. <!--<exclusions>-->
  53. <!--<exclusion>-->
  54. <!--<groupId>org.springframework</groupId>-->
  55. <!--<artifactId>spring</artifactId>-->
  56. <!--</exclusion>-->
  57. <!--<exclusion>-->
  58. <!--<groupId>org.jboss.netty</groupId>-->
  59. <!--<artifactId>netty</artifactId>-->
  60. <!--</exclusion>-->
  61. <!--</exclusions>-->
  62. <!--</dependency>-->
  63. <!--<dependency>-->
  64. <!--<groupId>org.apache.zookeeper</groupId>-->
  65. <!--<artifactId>zookeeper</artifactId>-->
  66. <!--<version>3.4.10</version>-->
  67. <!--</dependency>-->
  68. <!--<dependency>-->
  69. <!--<groupId>com.github.sgroschupf</groupId>-->
  70. <!--<artifactId>zkclient</artifactId>-->
  71. <!--<version>0.1</version>-->
  72. <!--</dependency>-->
  73. <!--&lt;!&ndash; dubbo zookeeper相关依赖end &ndash;&gt;-->
  74. </dependencies>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <configuration>
  81. <mainClass>com.bjlt.spider.UserServiceApplication</mainClass>
  82. <fork>true</fork>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <configuration>
  96. <source>${maven.compiler.source}</source>
  97. <target>${maven.compiler.target}</target>
  98. </configuration>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <configuration>
  104. <!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
  105. <fork>true</fork>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. <repositories>
  111. <repository>
  112. <id>public</id>
  113. <name>public</name>
  114. <url>http://123.103.51.13:8088/nexus/content/groups/public/</url>
  115. <snapshots>
  116. <enabled>true</enabled>
  117. </snapshots>
  118. </repository>
  119. </repositories>
  120. <distributionManagement>
  121. <repository>
  122. <id>releases</id>
  123. <name>releases</name>
  124. <url>http://123.103.51.13:8088/nexus/content/repositories/releases/</url>
  125. </repository>
  126. <snapshotRepository>
  127. <id>snapshots</id>
  128. <name>snapshots</name>
  129. <url>http://123.103.51.13:8088/nexus/content/repositories/snapshots/</url>
  130. </snapshotRepository>
  131. </distributionManagement>
  132. </project>