pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.zheng</groupId>
  6. <artifactId>zheng-cms</artifactId>
  7. <version>1.0.0</version>
  8. </parent>
  9. <artifactId>zheng-cms-rpc-service</artifactId>
  10. <packaging>jar</packaging>
  11. <name>zheng-cms-rpc-service</name>
  12. <url>http://www.zhangshuzheng.cn</url>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.zheng</groupId>
  16. <artifactId>zheng-cms-rpc-api</artifactId>
  17. <version>1.0.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>junit</groupId>
  21. <artifactId>junit</artifactId>
  22. <version>4.12</version>
  23. <scope>test</scope>
  24. </dependency>
  25. </dependencies>
  26. <profiles>
  27. <profile>
  28. <id>dev</id>
  29. <properties>
  30. <env>dev</env>
  31. </properties>
  32. <activation>
  33. <activeByDefault>true</activeByDefault>
  34. </activation>
  35. </profile>
  36. <profile>
  37. <id>test</id>
  38. <properties>
  39. <env>test</env>
  40. </properties>
  41. </profile>
  42. <profile>
  43. <id>prod</id>
  44. <properties>
  45. <env>prod</env>
  46. </properties>
  47. </profile>
  48. </profiles>
  49. <build>
  50. <finalName>zheng-cms-rpc-service</finalName>
  51. <filters>
  52. <filter>src/main/resources/profiles/${env}.properties</filter>
  53. </filters>
  54. <resources>
  55. <resource>
  56. <directory>src/main/resources</directory>
  57. <filtering>true</filtering>
  58. </resource>
  59. </resources>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-surefire-plugin</artifactId>
  64. <version>2.18.1</version>
  65. <configuration>
  66. <skipTests>true</skipTests>
  67. <testFailureIgnore>true</testFailureIgnore>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </project>