There is a bug in the plugin caching mechanism in m1.0. Sometimes just
running the same goal a second time resolves the problem (or running a
fake goal, as Stephane suggests), but the best thing to do is just
clearing your cache.
However, I don't know exactly under which circumstances this happens, if
someone can clarify that we could add a note somewhere in the docs.
Thanks,
-Lukas
Dennis Lundberg wrote:
Lukas,
I tried the site plugin on a SourceForge project I work on, but the site
generation fails. Here's what I did:
- maven clean
- maven site (all is well)
- maven clean
- upgrade from maven-site-plugin-1.6.1 to maven-site-plugin-1.7-SNAPSHOT
- maven site (ERROR see below)
...
xdoc:generate-from-pom:
[echo] Generating xdocs from POM ...
Plugin 'maven-xdoc-plugin' in project 'JetStyle' is not available
BUILD FAILED
File...... C:\Documents and
Settings\dlg01\.maven\cache\maven-xdoc-plugin-1.9.2\plugin.jelly
Element... velocity:merge
Line...... 676
Column.... 13
Invocation of method 'getPluginContext' in class
org.apache.maven.project.Project threw exception class
org.apache.maven.plugin.UnknownPluginException : Un
known plugin "maven-xdoc-plugin"
Total time: 13 seconds
Finished at: Thu May 04 12:21:22 CEST 2006
I'm using Maven 1.0.2 and have xdoc-plugin 1.9.2 installed. Does the new
site plugin require a newer version of the xdoc-plugin?
Here's the address to the SF project if someone wants to have a go:
http://sourceforge.net/projects/jetstyle/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]