When you have changed a plugin it's always better to call a fake goal (such
as cleanr or something) to make sure the cache is up-to-date. Some plugins
have a weird behavior in this case (such as the site/xdoc plugins)

Cheers,
Stéphane

On 5/4/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

Hello

It seems that there was a glitch during the upgrade. I tried a couple of
other projects and they all ran fine. So I went back and tried my project
again, and it worked.
Then I looked back to the beginning of the session and found this snippet
right at the start:

plugin maven-site-plugin-1.6.1 is cached (goal) but no longer present
Cache invalidated due to out of date plugins
Plugin 'maven-xdoc-plugin' in project 'JetStyle' is not available
Plugin 'maven-xdoc-plugin' in project 'JetStyle' is not available
Plugin 'maven-xdoc-plugin' in project 'JetStyle' is not available
Plugin 'maven-xdoc-plugin' in project 'JetStyle' is not available
build:start:
...

So your suspicion that it had something to do with the plugin cache seems
correct. Anyway, things seems to be working nicely now. Sorry for the false
alarm.

Arnaud HERITIER wrote:
> Hi Dennis,
>
>  Can you try to clean your plugins cache ?
>  The new site plugin doesn't need a newer release of the xdoc plugin.
>  It seems that maven lost your xdoc plugin 1.9.2.
>
> Arnaud
>
> On 5/4/06, Dennis Lundberg <[EMAIL PROTECTED]> 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/
>>
>>
>> Lukas Theussl wrote:
>> >
>> > Hi,
>> >
>> > I think the following m1 plugins are ready for a release:
>> >
>> > [] maven-jalopy-plugin-1.5
>> > [] maven-multiproject-plugin-1.5
>> > [] maven-site-plugin-1.7
>> > [] maven-test-plugin-1.8
>> >
>> >
>> > For changes in each version, check the jira and changes reports on
the
>> > stage sites given below.
>> >
>> > +1, 72h...
>> >
>> > Cheers,
>> > -Lukas
>> >
>> >
>> >
>> >
>>
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/jalopy/
>>
>> >
>> >
>>
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/multiproject/
>>
>> >
>> >
>>
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/site/
>>
>> >
>>
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/test/
>>
>> >
>> >
>> > maven plugin:download
>> > -Dmaven.repo.remote=http://www.ibiblio.org/maven,
>> http://cvs.apache.org/repository/
>> >
>> > -DgroupId=maven -DartifactId=maven-jalopy-plugin -Dversion=
1.5-SNAPSHOT
>> >
>> > maven plugin:download
>> > -Dmaven.repo.remote=http://www.ibiblio.org/maven,
>> http://cvs.apache.org/repository/
>> >
>> > -DgroupId=maven -DartifactId=maven-multiproject-plugin
>> > -Dversion=1.5-SNAPSHOT
>> >
>> > maven plugin:download
>> > -Dmaven.repo.remote=http://www.ibiblio.org/maven,
>> http://cvs.apache.org/repository/
>> >
>> > -DgroupId=maven -DartifactId=maven-site-plugin -Dversion=1.7-SNAPSHOT
>> >
>> > maven plugin:download
>> > -Dmaven.repo.remote=http://www.ibiblio.org/maven,
>> http://cvs.apache.org/repository/
>> >
>> > -DgroupId=maven -DartifactId=maven-test-plugin -Dversion=1.8-SNAPSHOT
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
.::You're welcome ::.

Reply via email to