pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>1.4.1.RELEASE</version>
  9. </parent>
  10. <groupId>com.uas.search</groupId>
  11. <artifactId>search-parent</artifactId>
  12. <version>0.1.9-SNAPSHOT</version>
  13. <packaging>pom</packaging>
  14. <modules>
  15. <module>search-common</module>
  16. </modules>
  17. <profiles>
  18. <profile>
  19. <id>all</id>
  20. <activation>
  21. <activeByDefault>true</activeByDefault>
  22. </activation>
  23. <modules>
  24. <module>mall-search</module>
  25. <module>search-api-b2b</module>
  26. <module>search-console-b2b</module>
  27. </modules>
  28. </profile>
  29. <profile>
  30. <id>b2c_release</id>
  31. <modules>
  32. <module>mall-search</module>
  33. </modules>
  34. </profile>
  35. <profile>
  36. <id>b2b_release</id>
  37. <modules>
  38. <module>search-api-b2b</module>
  39. <module>search-console-b2b</module>
  40. </modules>
  41. </profile>
  42. </profiles>
  43. <properties>
  44. <project.version>0.1.9-SNAPSHOT</project.version>
  45. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  46. <java.source.version>1.7</java.source.version>
  47. <java.target.version>1.7</java.target.version>
  48. <maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version>
  49. <search.common.version>0.1.9-SNAPSHOT</search.common.version>
  50. <dubbo.version>2.8.4</dubbo.version>
  51. <zookeeper.version>3.4.6</zookeeper.version>
  52. <fastjson.version>1.2.15</fastjson.version>
  53. <zkclient.version>0.1</zkclient.version>
  54. <druid.version>1.1.10</druid.version>
  55. <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
  56. <lucene.version>5.2.0</lucene.version>
  57. <ikanalyzer.version>2012_v5</ikanalyzer.version>
  58. </properties>
  59. <dependencyManagement>
  60. <dependencies>
  61. <dependency>
  62. <groupId>com.uas.search</groupId>
  63. <artifactId>search-common</artifactId>
  64. <version>${search.common.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>junit</groupId>
  68. <artifactId>junit</artifactId>
  69. <version>${junit.version}</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <!-- jdbc -->
  73. <dependency>
  74. <groupId>com.oracle</groupId>
  75. <artifactId>ojdbc6</artifactId>
  76. <version>${oracle.jdbc.version}</version>
  77. </dependency>
  78. <!-- dubbo -->
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>dubbo</artifactId>
  82. <version>${dubbo.version}</version>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>javax.servlet</groupId>
  86. <artifactId>javax.servlet-api</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>commons-logging</groupId>
  90. <artifactId>commons-logging</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <!-- alibaba -->
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>fastjson</artifactId>
  98. <version>${fastjson.version}</version>
  99. </dependency>
  100. <!-- zookeeper -->
  101. <dependency>
  102. <groupId>org.apache.zookeeper</groupId>
  103. <artifactId>zookeeper</artifactId>
  104. <version>${zookeeper.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.sgroschupf</groupId>
  108. <artifactId>zkclient</artifactId>
  109. <version>${zkclient.version}</version>
  110. </dependency>
  111. <!-- druid -->
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>druid</artifactId>
  115. <version>${druid.version}</version>
  116. </dependency>
  117. <!-- lucene -->
  118. <dependency>
  119. <groupId>org.apache.lucene</groupId>
  120. <artifactId>lucene-core</artifactId>
  121. <version>${lucene.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.lucene</groupId>
  125. <artifactId>lucene-queryparser</artifactId>
  126. <version>${lucene.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.lucene</groupId>
  130. <artifactId>lucene-analyzers-common</artifactId>
  131. <version>${lucene.version}</version>
  132. </dependency>
  133. <!-- IKAnalyzer -->
  134. <dependency>
  135. <groupId>org.wltea.analyzer</groupId>
  136. <artifactId>IKAnalyzer</artifactId>
  137. <version>${ikanalyzer.version}</version>
  138. </dependency>
  139. </dependencies>
  140. </dependencyManagement>
  141. <distributionManagement>
  142. <!-- 发布release仓库 -->
  143. <repository>
  144. <id>platform-release</id>
  145. <name>platform-release</name>
  146. <url>http://10.10.100.21:8081/artifactory/libs-release-local</url>
  147. </repository>
  148. <!-- 发布快照版本 -->
  149. <snapshotRepository>
  150. <id>platform-snapshots</id>
  151. <name>platform-snapshots</name>
  152. <url>http://10.10.100.21:8081/artifactory/libs-snapshot-local</url>
  153. </snapshotRepository>
  154. </distributionManagement>
  155. </project>