pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.elab.core</groupId>
  8. <artifactId>elab-parent</artifactId>
  9. <version>2.0.4.14-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.elab.log</groupId>
  12. <artifactId>elab-log</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.elab.core</groupId>
  16. <artifactId>elab-core</artifactId>
  17. <version>${project.version}</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.elab.core</groupId>
  21. <artifactId>elab-annotation</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.dianping.cat</groupId>
  26. <artifactId>cat-core</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework</groupId>
  30. <artifactId>spring-webmvc</artifactId>
  31. </dependency>
  32. <!-- 最终执行的日志jar -->
  33. <dependency>
  34. <groupId>ch.qos.logback</groupId>
  35. <artifactId>logback-classic</artifactId>
  36. <version>1.2.3</version>
  37. <!--<scope>provided</scope>-->
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. </dependency>
  43. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
  44. <dependency>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>slf4j-log4j12</artifactId>
  47. <scope>provided</scope>
  48. </dependency>
  49. <!--<dependency>-->
  50. <!--<groupId>org.springframework.cloud</groupId>-->
  51. <!--<artifactId>spring-cloud-redisson-feign</artifactId>-->
  52. <!--<version>1.4.4.RELEASE</version>-->
  53. <!--<scope>provided</scope>-->
  54. <!--</dependency>-->
  55. <!--<dependency>-->
  56. <!--<groupId>com.netflix.hystrix</groupId>-->
  57. <!--<artifactId>hystrix-core</artifactId>-->
  58. <!--<version>1.5.12</version>-->
  59. <!--<scope>provided</scope>-->
  60. <!--</dependency>-->
  61. <!--<dependency>-->
  62. <!--<groupId>com.elab.cloud</groupId>-->
  63. <!--<artifactId>elab-cloud-commons</artifactId>-->
  64. <!--<version>1.0.0</version>-->
  65. <!--<scope>provided</scope>-->
  66. <!--</dependency>-->
  67. <dependency>
  68. <groupId>junit</groupId>
  69. <artifactId>junit</artifactId>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <!-- 打包源码插件 -->
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-source-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>attach-sources</id>
  81. <goals>
  82. <goal>jar</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <!-- 打包javadoc插件 -->
  88. <!--<plugin>-->
  89. <!--<groupId>org.apache.maven.plugins</groupId>-->
  90. <!--<artifactId>maven-javadoc-plugin</artifactId>-->
  91. <!--&lt;!&ndash;<version>2.9</version>&ndash;&gt;-->
  92. <!--<executions>-->
  93. <!--<execution>-->
  94. <!--<id>attach-javadocs</id>-->
  95. <!--<goals>-->
  96. <!--<goal>jar</goal>-->
  97. <!--</goals>-->
  98. <!--<doc>-->
  99. <!--<additionalparam>-Xdoclint:none</additionalparam>-->
  100. <!--<charset>UTF-8</charset>-->
  101. <!--<encoding>UTF-8</encoding>-->
  102. <!--<docencoding>UTF-8</docencoding>-->
  103. <!--</doc>-->
  104. <!--</execution>-->
  105. <!--</executions>-->
  106. <!--</plugin>-->
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <configuration>
  111. <source>1.8</source>
  112. <target>1.8</target>
  113. </configuration>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. <distributionManagement>
  118. <repository>
  119. <id>releases</id>
  120. <name>Nexus Release Repository</name>
  121. <url>http://192.168.0.11:8081/nexus/content/repositories/elab/</url>
  122. </repository>
  123. </distributionManagement>
  124. </project>