pom.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <!-- 公众的web模块,比如跨域访问等等,本身并不依赖其他模块 -->
  11. <groupId>com.iamberry</groupId>
  12. <artifactId>wateroPF-common-web</artifactId>
  13. <version>1.0.0</version>
  14. <!-- 配置 -->
  15. <profiles>
  16. <profile>
  17. <id>sonar</id>
  18. <activation>
  19. <activeByDefault>true</activeByDefault>
  20. </activation>
  21. <properties>
  22. <sonar.host.url>http://sonar.iamberry.com/</sonar.host.url>
  23. <sonar.login>admin</sonar.login>
  24. <sonar.password>iamberry123</sonar.password>
  25. </properties>
  26. </profile>
  27. </profiles>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-compiler-plugin</artifactId>
  33. <version>3.3</version>
  34. <configuration>
  35. <source>1.7</source>
  36. <target>1.7</target>
  37. </configuration>
  38. </plugin>
  39. </plugins>
  40. </build>
  41. </project>