pom.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <!-- 父类定义 -->
  5. <parent>
  6. <groupId>com.iamberry</groupId>
  7. <artifactId>iamberry-parent</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <!-- 系统公众的核心模块,编写核心的数据模块(公众的Bean等等) -->
  11. <artifactId>watero-common-core</artifactId>
  12. <!-- 核心模块依赖tool -->
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.iamberry</groupId>
  16. <artifactId>watero-common-tool</artifactId>
  17. <version>1.0.0</version>
  18. </dependency>
  19. </dependencies>
  20. <build>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.apache.maven.plugins</groupId>
  24. <artifactId>maven-compiler-plugin</artifactId>
  25. <version>3.3</version>
  26. <configuration>
  27. <source>1.7</source>
  28. <target>1.7</target>
  29. </configuration>
  30. </plugin>
  31. <plugin>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-surefire-plugin</artifactId>
  34. <version>2.12.4</version>
  35. <configuration>
  36. <skipTests>false</skipTests>
  37. </configuration>
  38. </plugin>
  39. </plugins>
  40. </build>
  41. <!-- 配置 -->
  42. <profiles>
  43. <profile>
  44. <id>jdk-1.7</id>
  45. <activation>
  46. <activeByDefault>true</activeByDefault>
  47. <jdk>1.7</jdk>
  48. </activation>
  49. <properties>
  50. <maven.compiler.source>1.7</maven.compiler.source>
  51. <maven.compiler.target>1.7</maven.compiler.target>
  52. <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
  53. </properties>
  54. </profile>
  55. </profiles>
  56. </project>