pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.dianping.cat</groupId>
  6. <artifactId>parent</artifactId>
  7. <version>2.0.0</version>
  8. <name>parent</name>
  9. <description>Central Application Tracking</description>
  10. <packaging>pom</packaging>
  11. <modules>
  12. <module>cat-client</module>
  13. <module>cat-core</module>
  14. <module>cat-consumer</module>
  15. <module>cat-hadoop</module>
  16. <module>cat-home</module>
  17. </modules>
  18. <dependencyManagement>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.unidal.framework</groupId>
  22. <artifactId>framework-bom</artifactId>
  23. <version>${framework.version}</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.dianping.cat</groupId>
  29. <artifactId>cat-client</artifactId>
  30. <version>${project.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.dianping.cat</groupId>
  34. <artifactId>cat-core</artifactId>
  35. <version>${project.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.dianping.cat</groupId>
  39. <artifactId>cat-hadoop</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.dianping.cat</groupId>
  44. <artifactId>cat-consumer</artifactId>
  45. <version>${project.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.dianping.cat</groupId>
  49. <artifactId>cat-consumer-advanced</artifactId>
  50. <version>${project.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>javax.servlet</groupId>
  54. <artifactId>javax.servlet-api</artifactId>
  55. <version>${servlet-api.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.unidal.webres</groupId>
  59. <artifactId>WebResServer</artifactId>
  60. <version>1.2.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>junit</groupId>
  64. <artifactId>junit</artifactId>
  65. <version>4.8.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mortbay.jetty</groupId>
  69. <artifactId>jetty</artifactId>
  70. <version>6.1.14</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.mortbay.jetty</groupId>
  74. <artifactId>jetty-util</artifactId>
  75. <version>6.1.14</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.mortbay.jetty</groupId>
  79. <artifactId>jsp-api-2.1</artifactId>
  80. <version>6.1.14</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.mortbay.jetty</groupId>
  85. <artifactId>jsp-2.1</artifactId>
  86. <version>6.1.14</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>javax.servlet</groupId>
  90. <artifactId>servlet-api</artifactId>
  91. <version>2.5</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>javax.servlet.jsp</groupId>
  95. <artifactId>jsp-api</artifactId>
  96. <version>2.1</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>mysql</groupId>
  100. <artifactId>mysql-connector-java</artifactId>
  101. <version>5.1.20</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>io.netty</groupId>
  105. <artifactId>netty-all</artifactId>
  106. <version>4.0.25.Final</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.google.code.gson</groupId>
  110. <artifactId>gson</artifactId>
  111. <version>1.6</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>log4j</groupId>
  115. <artifactId>log4j</artifactId>
  116. <version>1.2.14</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-api</artifactId>
  121. <version>2.3</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.logging.log4j</groupId>
  125. <artifactId>log4j-core</artifactId>
  126. <version>2.3</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>ch.qos.logback</groupId>
  130. <artifactId>logback-classic</artifactId>
  131. <version>1.1.7</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.slf4j</groupId>
  135. <artifactId>slf4j-api</artifactId>
  136. <version>1.7.2</version>
  137. </dependency>
  138. </dependencies>
  139. </dependencyManagement>
  140. <build>
  141. <pluginManagement>
  142. <plugins>
  143. <plugin>
  144. <artifactId>maven-compiler-plugin</artifactId>
  145. <version>2.5.1</version>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-surefire-plugin</artifactId>
  149. <version>2.9</version>
  150. <configuration>
  151. <includes>
  152. <include>**/AllTests.java</include>
  153. </includes>
  154. <!-- <debugForkedProcess>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE</debugForkedProcess> -->
  155. </configuration>
  156. <dependencies>
  157. <dependency>
  158. <groupId>org.apache.maven.surefire</groupId>
  159. <artifactId>surefire-junit47</artifactId>
  160. <version>2.9</version>
  161. </dependency>
  162. </dependencies>
  163. </plugin>
  164. <plugin>
  165. <artifactId>maven-eclipse-plugin</artifactId>
  166. <version>2.9</version>
  167. <configuration>
  168. <downloadSources>true</downloadSources>
  169. <ajdtVersion>none</ajdtVersion>
  170. <additionalConfig>
  171. <file>
  172. <name>.settings/org.eclipse.jdt.core.prefs</name>
  173. <content><![CDATA[
  174. org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
  175. eclipse.preferences.version=1
  176. org.eclipse.jdt.core.compiler.source=1.7
  177. org.eclipse.jdt.core.compiler.compliance=1.7
  178. ]]></content>
  179. </file>
  180. <file>
  181. <name>.settings/org.eclipse.core.resources.prefs</name>
  182. <content><![CDATA[
  183. eclipse.preferences.version=1
  184. encoding/<project>=UTF-8
  185. ]]></content>
  186. </file>
  187. </additionalConfig>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.unidal.maven.plugins</groupId>
  192. <artifactId>codegen-maven-plugin</artifactId>
  193. <version>2.5.8</version>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.unidal.maven.plugins</groupId>
  197. <artifactId>plexus-maven-plugin</artifactId>
  198. <version>2.5.8</version>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.eclipse.m2e</groupId>
  202. <artifactId>lifecycle-mapping</artifactId>
  203. <version>1.0.0</version>
  204. <configuration>
  205. <lifecycleMappingMetadata>
  206. <pluginExecutions>
  207. <pluginExecution>
  208. <pluginExecutionFilter>
  209. <groupId>org.unidal.maven.plugins</groupId>
  210. <artifactId>plexus-maven-plugin</artifactId>
  211. <versionRange>[2.0,)</versionRange>
  212. <goals>
  213. <goal>plexus</goal>
  214. </goals>
  215. </pluginExecutionFilter>
  216. <action>
  217. <ignore></ignore>
  218. </action>
  219. </pluginExecution>
  220. <pluginExecution>
  221. <pluginExecutionFilter>
  222. <groupId>org.unidal.maven.plugins</groupId>
  223. <artifactId>codegen-maven-plugin</artifactId>
  224. <versionRange>[2.0,)</versionRange>
  225. <goals>
  226. <goal>dal-model</goal>
  227. <goal>dal-jdbc</goal>
  228. </goals>
  229. </pluginExecutionFilter>
  230. <action>
  231. <ignore></ignore>
  232. </action>
  233. </pluginExecution>
  234. </pluginExecutions>
  235. </lifecycleMappingMetadata>
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. </pluginManagement>
  240. <plugins>
  241. <plugin>
  242. <artifactId>maven-source-plugin</artifactId>
  243. <version>2.2</version>
  244. <executions>
  245. <execution>
  246. <id>attach-sources</id>
  247. <phase>package</phase>
  248. <goals>
  249. <goal>jar-no-fork</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. </plugins>
  255. </build>
  256. <repositories>
  257. <repository>
  258. <id>central</id>
  259. <name>Maven2 Central Repository</name>
  260. <layout>default</layout>
  261. <url>http://repo1.maven.org/maven2</url>
  262. </repository>
  263. <repository>
  264. <id>unidal.releases</id>
  265. <url>http://unidal.org/nexus/content/repositories/releases/</url>
  266. </repository>
  267. </repositories>
  268. <pluginRepositories>
  269. <pluginRepository>
  270. <id>central</id>
  271. <url>http://repo1.maven.org/maven2</url>
  272. </pluginRepository>
  273. <pluginRepository>
  274. <id>unidal.releases</id>
  275. <url>http://unidal.org/nexus/content/repositories/releases/</url>
  276. </pluginRepository>
  277. </pluginRepositories>
  278. <distributionManagement>
  279. <repository>
  280. <id>releases</id>
  281. <url>${releases.repo}</url>
  282. </repository>
  283. <snapshotRepository>
  284. <id>snapshots</id>
  285. <url>${snapshots.repo}</url>
  286. </snapshotRepository>
  287. </distributionManagement>
  288. <properties>
  289. <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
  290. <framework.version>4.0.0</framework.version>
  291. <jetty.version>9.2.9.v20150224</jetty.version>
  292. <servlet-api.version>3.1.0</servlet-api.version>
  293. </properties>
  294. </project>