Maven
- 'modelVersion' child tag should be defined
Reports the absence of <modelVersion> tag.
- Duplicate Dependencies
Reports duplicate dependencies.
- Duplicate plugin declaration
Reports the duplication of the plugin declaration in pom.xml.
- Maven Model Inspection
Reports resolution problems in a Maven model.
- Maven version 4+ is required for projects with 4.1.0 schema
Reporst about old maven version in projects with model 4.1.0.
- Model version 4.1.0 is required for the packaging
Ensures that the new Maven packaging does not appear in the legacy model version.
- Multi-module directory is not defined
Reports the absence of the .mvn directory/root tag, or when .mvn is located above the managed root project.
- Parent groupId or artifactId is missing
Reports the absence of <groupId> and <artifactId> elements in the <parent> tag.
- Parent version missed
Reports the absence of the parent version element for versions that do not support consumer POM feature.
- Redundant groupId
Reports the unnecessary <groupId> definition since it is already defined in the parent pom.xml.
- Redundant version
Reports an unnecessary <version> definition, as it is already specified in the parent pom.xml.
- The <modules> tag is deprecated; use <subprojects> instead
Reports the presence of the <modules> tag in the Maven 4.1.0 model version.
- The parent coordinates are redundant and not required in Maven 4
Reports redundant parent coordinates for Maven 4 projects.
- Usage of properties in parent description
Reports that the usage of properties in modules parent definition is prohibited.
- Wrong model version. Model version should be 4.1.0 for this tag
Reports the new model tags in the old project schema.