pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. <parent>
  5. <groupId>com.lc.ibps.base</groupId>
  6. <artifactId>ibps-base-root</artifactId>
  7. <version>3.3.7-LC.RELEASE</version>
  8. <relativePath>../../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ibps-base-model</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>net.sf.json-lib</groupId>
  15. <artifactId>json-lib</artifactId>
  16. <classifier>jdk15</classifier>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.hibernate</groupId>
  20. <artifactId>hibernate-validator</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.lc.ibps.persist</groupId>
  24. <artifactId>ibps-persist-common</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>io.swagger</groupId>
  28. <artifactId>swagger-annotations</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>net.oschina.j2cache</groupId>
  32. <artifactId>j2cache-mybatis</artifactId>
  33. </dependency>
  34. </dependencies>
  35. <profiles>
  36. <profile>
  37. <id>ibps-8081</id>
  38. <activation>
  39. <activeByDefault>true</activeByDefault>
  40. </activation>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <artifactId>maven-compiler-plugin</artifactId>
  45. <version>3.3</version>
  46. <configuration>
  47. <source>1.8</source>
  48. <target>1.8</target>
  49. <encoding>UTF-8</encoding>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. </build>
  54. </profile>
  55. <profile>
  56. <id>ibps-8082</id>
  57. <build>
  58. <plugins>
  59. <plugin>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.3</version>
  62. <configuration>
  63. <source>1.8</source>
  64. <target>1.8</target>
  65. <encoding>UTF-8</encoding>
  66. </configuration>
  67. </plugin>
  68. <!-- <plugin>
  69. <groupId>com.pyx4me</groupId>
  70. <artifactId>proguard-maven-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <phase>package</phase>
  74. <goals>
  75. <goal>proguard</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. <configuration>
  80. <obfuscate>true</obfuscate>
  81. <libs>
  82. <lib>${JAVA_HOME}/jre/lib/rt.jar</lib>
  83. </libs>
  84. <options>
  85. <option>-ignorewarnings</option>
  86. <option>-keepattributes
  87. Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*</option>
  88. <option>-keepdirectories</option>
  89. <option>-keep class **.* {public *;protected *;private
  90. &lt;fields&gt;;}</option>
  91. </options>
  92. </configuration>
  93. <dependencies>
  94. <dependency>
  95. <groupId>net.sf.proguard</groupId>
  96. <artifactId>proguard</artifactId>
  97. <version>5.2</version>
  98. <scope>runtime</scope>
  99. </dependency>
  100. </dependencies>
  101. </plugin> -->
  102. </plugins>
  103. </build>
  104. </profile>
  105. </profiles>
  106. </project>