You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mi...@iag.com.au on 2003/12/09 01:33:41 UTC

multiproject:site and multiproject:install not playing together

**************************************************************************

Note: This e-mail is subject to the disclaimer contained at the bottom
of this message.

**************************************************************************
:
I have an empty project with five subprojects.
I can successfully invoke Maven rc-1to attain the multiproject:install 
goal and I can successfully invoke Maven to invoke the multiproject:site 
goal.

What I cannot do is chain the two goals together 
e.g. maven multiproject:install multiproject:site

I get the following exception when I try:

Unable to obtain goal [site] -- 
file:/C:/dev/cibuild/ci/maven-1.0-rc1/plugins/ma
ven-site-plugin-1.3/:22:42: <attainGoal> Goal [xdoc:register-reports] has 
no act
ion definition.

If I try 
maven -Dgoal=install,site multiproject:goal 
I do generate the jars and the site docs for the subprojects, what I do 
not get is the site docs for the master project with the links to the 
subprojects.

I notice the similarities with a previous post (detailed below) and wonder 
if a fix is now available.

Thanks in advance,
Mike



From: Emmanuel Bernard 
Subject: preGoal and multiproject RC1 
Date: Wed, 22 Oct 2003 03:44:09 -0700 

Hi,
I use multiproject:site, it works if I did a multiproject:install before.
I want to link multiproject:site to multiproject:install.

I did a preGoal name="multiproject:site" but I get this error

BUILD FAILED
File...... file:/C:/Documents and
Settings/ebernard/.maven/plugins/maven-multiproject-plugin-1.1/
Element... maven:reactor
Line...... 69
Column.... 7
Unable to obtain goal [site] -- file:/C:/Documents and
Settings/ebernard.DSI/.maven/plugins/maven-word2html-plugin-1.4/:49:46:
<attainGoal> Goal [xdoc:init] has no action definition.
Total time: 1 minutes 6 seconds
Finished at: Wed Oct 22 12:40:51 CEST 2003


To summarize
artifact:install works for subprojects
multiproject:site works
multiproject:install works
multiproject:install -> multiproject:site fails

Any ideas
Thanks

Emmanuel

 
:
********************************************************************************

The information transmitted in this message and attachments (if any)
is intended only for the person or entity to which it is addressed.  
The message may contain confidential and/or privileged material.  
Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information, by persons or entities
other than the intended recipient is prohibited.  

If you have received this in error, please contact the sender and delete this
e-mail and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or
distribute the information contained in this e-mail and any attached files,
with the permission of the sender.

This message has been scanned for viruses and cleared by MailMarshal.

********************************************************************
: