Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To prevent the maven-site-plugin from checking the parent project, you can add the following configuration to your project's pom.xml file:

<project>
  ...
  <build>
    ...
    <plugins>
    ...
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.9.0</version>
        <configuration>
          <skipParent>true</skipParent>
        </configuration>
      </plugin>
    ...
    </plugins>
    ...
  </build>
  ...
</project>

This configuration sets the skipParent property of the maven-site-plugin to true, which prevents it from checking the parent project.