Ask Your Question
0

What is the method to prevent the maven-site-plugin from checking the parent project?

asked 2021-07-19 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-10-21 00:00:00 +0000

qstack gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-07-19 11:00:00 +0000

Seen: 10 times

Last updated: Oct 21 '22