Maven 1.x Distribution Plugin

Dist output depends on earlier manual invocations

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    3

Description

If "dist:build" is invoked on a cleaned project, it will not call the
"site:generate" goal, but if I manually run "site:generate" before the
"dist:build" the site docs are included in the distro.

IMHO, either the dist:build calls the goals of what is expected to be
included, or it doesn't included it all, possibly by a property.

  1. exception.txt
    24/Apr/04 11:52 PM
    15 kB
    Niclas Hedhman
  2. project.xml
    24/Apr/04 11:49 PM
    3 kB
    Niclas Hedhman
  3. project-common.xml
    24/Apr/04 11:50 PM
    6 kB
    Niclas Hedhman

Issue Links

Activity

Hide
Brett Porter added a comment -

dist:build is only supposed to include the apidocs, which should work. Is this working for you? If so, please close.

You can open a new issue if you think that the whole site should optionally be included in the dist. Thanks.

Show
Brett Porter added a comment - dist:build is only supposed to include the apidocs, which should work. Is this working for you? If so, please close. You can open a new issue if you think that the whole site should optionally be included in the dist. Thanks.
Hide
Niclas Hedhman added a comment -

No it doesn't work.

If I do
maven site:generate
maven dist:build
the .gz file will contain both the APIdocs as well as site docs.

Show
Niclas Hedhman added a comment - No it doesn't work. If I do maven site:generate maven dist:build the .gz file will contain both the APIdocs as well as site docs.
Hide
Niclas Hedhman added a comment -

That was done using RC2 and I also checked out the latest maven-plugins/dist and did;
maven plugin:install
maven plugin:deploy

and then went back and redid the
maven clean
maven site:generate
maven dist:buil

Same result.

Show
Niclas Hedhman added a comment - That was done using RC2 and I also checked out the latest maven-plugins/dist and did; maven plugin:install maven plugin:deploy and then went back and redid the maven clean maven site:generate maven dist:buil Same result.
Hide
Niclas Hedhman added a comment -

The project.xml file

Show
Niclas Hedhman added a comment - The project.xml file
Hide
Niclas Hedhman added a comment -

The common POM file that all subprojects extends from.

Show
Niclas Hedhman added a comment - The common POM file that all subprojects extends from.
Hide
Niclas Hedhman added a comment -

A non-fatal exception also occurs during the Source Distribuion Creation, but I don't think it is related, but just in case.

Show
Niclas Hedhman added a comment - A non-fatal exception also occurs during the Source Distribuion Creation, but I don't think it is related, but just in case.
Hide
Brett Porter added a comment -

fixed generation, will check your other problem later

Show
Brett Porter added a comment - fixed generation, will check your other problem later
Hide
Brett Porter added a comment -

main issue fixed. Exception is because of MPDIST-10

Show
Brett Porter added a comment - main issue fixed. Exception is because of MPDIST-10

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: