You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Nill <cn...@mms-dresden.de> on 2004/05/03 12:32:16 UTC

Mysterious "no goal" [xdoc]

Hello,

I have a mysterious problem where maven doesn't "want" to use its xdoc-Plugin (v 1.6 on
rc2). On one day invoking the site:deploy goal caused no problems while on the other day
the build fails like this:

BUILD FAILED
File...... file:/opt/tomcat/.maven/plugins/maven-site-plugin-1.5/plugin.jelly
Element... attainGoal
Line...... 40
Column.... 42
No goal [xdoc:register-reports]
Total time: 12 seconds
Finished at: Mon May 03 12:00:55 CEST 2004

Trying any xdoc goal directly leads to a NoSuchGoalException. The same project's site-goal
(and several xdoc goals) build perfectly on my local Win2000 machine, but on the server
(Sun Solaris) they won't.

The xdoc plugin is installed as far as I can tell (i.e. the maven-xdoc-plugin-1.6.jar is
in the install dir's pluging directory and the extracted files are present in the user's
maven/plugins directory), so I have not a clue right now of what is going wrong...

Can anyone offer hints?

Many thanks,
Christian Nill


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


AW: Mysterious "no goal" [xdoc]

Posted by Christian Nill <cn...@mms-dresden.de>.
>> I have a mysterious problem where maven doesn't "want" to use its xdoc-Plugin (v 1.6 on
>> rc2). On one day invoking the site:deploy goal caused no problems while on the other
day
>> the build fails like this:
>>
>> BUILD FAILED
>> File...... file:/opt/tomcat/.maven/plugins/maven-site-plugin-1.5/plugin.jelly
>> Element... attainGoal
>> Line...... 40
>> Column.... 42
>> No goal [xdoc:register-reports]
>> Total time: 12 seconds
>> Finished at: Mon May 03 12:00:55 CEST 2004

>I guess, this isn't the real cause of your problem. Is there any
>other additional error output ?

No, this really is all the output I get

>> Trying any xdoc goal directly leads to a NoSuchGoalException. The same project's
site-goal
>> (and several xdoc goals) build perfectly on my local Win2000 machine, but on the server
>> (Sun Solaris) they won't.

>This smells like a display problem, which occurs if you are e.g. using
>fonts on Unix and you neither have a DISPLAY set nor using JDK 1.4
>with the headless option. Does the problem occurs if you are running
>maven from the CLI and you are sure that you can start X programs
>(like xlock) from the command line (with a valid DISPLAY environment
>variable set) ?

As this goal _used_ to succeed, I don't think this is the cause. On my Win2000 client
calling maven -g lists among all the others the [xdoc] goals, while on that Sun machine
maven -g will not mention [xdoc]. Is there any config file that informs maven about the
plugins installed? I tried deleting the maven-plugin-xdoc directory in the user's
maven/plugin directory and called maven site:deploy once again. While it fails the
xdoc-plugin is reinstalled in the user's .maven path.

Still clueless,
Christian




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Mysterious "no goal" [xdoc]

Posted by Roland Huss <Ro...@consol.de>.
Hi,

"Christian Nill" <cn...@mms-dresden.de> writes:

> I have a mysterious problem where maven doesn't "want" to use its xdoc-Plugin (v 1.6 on
> rc2). On one day invoking the site:deploy goal caused no problems while on the other day
> the build fails like this:
>
> BUILD FAILED
> File...... file:/opt/tomcat/.maven/plugins/maven-site-plugin-1.5/plugin.jelly
> Element... attainGoal
> Line...... 40
> Column.... 42
> No goal [xdoc:register-reports]
> Total time: 12 seconds
> Finished at: Mon May 03 12:00:55 CEST 2004

I guess, this isn't the real cause of your problem. Is there any
other additional error output ?

> Trying any xdoc goal directly leads to a NoSuchGoalException. The same project's site-goal
> (and several xdoc goals) build perfectly on my local Win2000 machine, but on the server
> (Sun Solaris) they won't.

This smells like a display problem, which occurs if you are e.g. using
fonts on Unix and you neither have a DISPLAY set nor using JDK 1.4
with the headless option. Does the problem occurs if you are running
maven from the CLI and you are sure that you can start X programs
(like xlock) from the command line (with a valid DISPLAY environment
variable set) ?

cu...
-- 
                                                        ...roland huss
                                                             consol.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org