Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9159853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:35:41+00:00 2026-06-17T13:35:41+00:00

So every bit of documentation I’ve been able to find about Maven and it’s

  • 0

So every bit of documentation I’ve been able to find about Maven and it’s lifecycle says that site only has 4 phases:

pre-site
site
post-site
site-deploy

However, in my pom.xml I have an ant script that gets run on the validate phase. According to the “site lifecycle”, validate isn’t a phase, but my ant script gets run… twice! Not only that, it also compiles my source and runs tests (which takes FOREVER).

What gives, Maven? Your documentation doesn’t match your runtime behavior.

Help?

Edit:

A plug-in, that explains it. Thanks, I’m using this reporting plugin:

<reporting>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-report-plugin</artifactId>
      <version>2.13</version>
    </plugin>
  </plugins>
</reporting>

I found this documentation on surefire report plug-in to be useful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:35:43+00:00Added an answer on June 17, 2026 at 1:35 pm

    Some Maven plugins (like javadoc, for example) declare a ‘forked lifecycle’. So, most likely, you have a plugin in your reporting configuration that demands a lifecycle that includes validate. If you are using an up-to-date copy of Maven (3.0.4), the -X option will include, amongst the thousands of lines of useless stuff, readable indications of this forking activity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know a little bit about TextWatcher but that fires on every character you
It's a little bit confusing since every people say it's going on a different
I have to run a bit of code in the background every one second,
we have a particle detector hard-wired to use 16-bit and 8-bit buffers. Every now
Every example I find of anyone implementing plugins in android seems to use aexp.intent.action.
I was surprised to see that there was no documentation or examples of any
Currently the documentation where I work is in a bit of a state. There
Several question have been asked on SO about the use of Lights in Notification
Here is bit more about my requirement. I am working on the mobile website
I'm having a bit of trouble understanding how python argparse works. My script has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.