pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>com.lc.ibps.base</groupId>
  5. <artifactId>ibps-base-root</artifactId>
  6. <version>3.3.7-LC.RELEASE</version>
  7. <relativePath>../../pom.xml</relativePath>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>ibps-base-datasource</artifactId>
  11. <properties>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.lc.ibps.persist</groupId>
  16. <artifactId>ibps-persist-core</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-jdbc</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>commons-logging</groupId>
  24. <artifactId>commons-logging</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.cloudhopper.proxool</groupId>
  28. <artifactId>proxool</artifactId>
  29. <type>jar</type>
  30. <scope>compile</scope>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>avalon-framework</groupId>
  34. <artifactId>avalon-framework-api</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.cloudhopper.proxool</groupId>
  40. <artifactId>proxool-cglib</artifactId>
  41. <type>jar</type>
  42. <scope>compile</scope>
  43. <exclusions>
  44. <exclusion>
  45. <groupId>avalon-framework</groupId>
  46. <artifactId>avalon-framework-api</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid</artifactId>
  53. <scope>compile</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>junit</groupId>
  62. <artifactId>junit</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. </dependencies>
  66. <profiles>
  67. <profile>
  68. <id>ibps-8081</id>
  69. <activation>
  70. <activeByDefault>true</activeByDefault>
  71. </activation>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <artifactId>maven-compiler-plugin</artifactId>
  76. <version>3.3</version>
  77. <configuration>
  78. <source>1.8</source>
  79. <target>1.8</target>
  80. <encoding>UTF-8</encoding>
  81. </configuration>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </profile>
  86. <profile>
  87. <id>ibps-8082</id>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>3.3</version>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. <encoding>UTF-8</encoding>
  97. </configuration>
  98. </plugin>
  99. <!-- <plugin>
  100. <groupId>com.pyx4me</groupId>
  101. <artifactId>proguard-maven-plugin</artifactId>
  102. <executions>
  103. <execution>
  104. <phase>package</phase>
  105. <goals>
  106. <goal>proguard</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. <configuration>
  111. <obfuscate>true</obfuscate>
  112. <libs>
  113. <lib>${JAVA_HOME}/jre/lib/rt.jar</lib>
  114. </libs>
  115. <options>
  116. <option>-ignorewarnings</option>
  117. <option>-keepattributes
  118. Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*</option>
  119. <option>-keepdirectories</option>
  120. <option>-keep class **.* {public *;protected *;private
  121. &lt;fields&gt;;}</option>
  122. </options>
  123. </configuration>
  124. <dependencies>
  125. <dependency>
  126. <groupId>net.sf.proguard</groupId>
  127. <artifactId>proguard</artifactId>
  128. <version>5.2</version>
  129. <scope>runtime</scope>
  130. </dependency>
  131. </dependencies>
  132. </plugin> -->
  133. </plugins>
  134. </build>
  135. </profile>
  136. </profiles>
  137. </project>