<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- 父类定义 --> <parent> <groupId>com.iamberry</groupId> <artifactId>iamberry-parent</artifactId> <version>1.0.0</version> </parent> <!-- 公众的web模块,比如跨域访问等等,本身并不依赖其他模块 --> <groupId>com.iamberry</groupId> <artifactId>wechat-common-web</artifactId> <version>1.0.0</version> <!-- 配置 --> <profiles> <profile> <id>sonar</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <sonar.host.url>http://sonar.iamberry.com/</sonar.host.url> <sonar.login>admin</sonar.login> <sonar.password>iamberry123</sonar.password> </properties> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> <!-- 爱贝源仓库 --> <repositories> <repository> <id>Iamberr_Nexus</id> <name>iamberry nexus</name> <url>http://maven.iamberry.com/content/groups/public/</url> </repository> </repositories> </project>