pom.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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>wateroPF-common-core</artifactId>
  12. <!-- 核心模块依赖tool -->
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.iamberry</groupId>
  16. <artifactId>wateroPF-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.sonarsource.scanner.maven</groupId>
  33. <artifactId>sonar-maven-plugin</artifactId>
  34. <version>3.3.0.603</version>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. <!-- 配置 -->
  39. <profiles>
  40. <profile>
  41. <id>sonar</id>
  42. <activation>
  43. <activeByDefault>true</activeByDefault>
  44. </activation>
  45. <properties>
  46. <sonar.host.url>http://sonar.iamberry.com/</sonar.host.url>
  47. <sonar.login>admin</sonar.login>
  48. <sonar.password>iamberry123</sonar.password>
  49. </properties>
  50. </profile>
  51. </profiles>
  52. </project>