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