<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.11</version> <type>maven-plugin</type> </dependency>
<dependency org="org.apache.maven.plugins" name="maven-checkstyle-plugin" rev="2.11"> <artifact name="maven-checkstyle-plugin" type="maven-plugin" /> </dependency>