This rule checks that this pom or its parents don't define a repository.
The following parameters are supported by this rule:
Sample Plugin Configuration (showing some defaults, defaults can be skipped):
<project> [...] <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>1.4.1</version> <executions> <execution> <id>enforce-no-repositories</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireNoRepositories> <message>Best Practice is to never define repositories in pom.xml (use a repository manager instead)</message> </requireNoRepositories> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> [...] </project>