It turns out that the reason that the m2 -U site:site did not work when
I first tried it was that I am using a proxy for ibiblio and the proxy
was not updating its cache.

I think maven-proxy could stand modification so that it doesn't cache
the metadata (something to look into if I get a chance).

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 27, 2005 18:32
To: Maven Users List
Subject: Re: [m20b2] Upgrade Problem with Site Plugin


It seems you don't have the latest site plugin that was also released to
match this change. This particular isssue required an API  breaking
change, unfortunately. Try m2 -U site:site once to see if it gets it.

I'll update the download page with a note.

- Brett

On 9/28/05, Allison, Bob <[EMAIL PROTECTED]> wrote:
> I upgraded from -beta-1 to -beta-2 this morning.  When I try to build
a
> site (m2 clean:clean site:site), I get the dump at the end of the
> message.  I tried flushing my local repository in case there was a
> problem but the problem remains.  I have also tried updating the site
> plugin (m2 -U site:site) but that did no good (as I would expect since
I
> started with an empty local repository).  The site plugin version
> currently in my local repository is 2.0-beta-1.  The POM lists the
> following reports:  project-info-reports, checkstyle, javadoc, and
pmd.
> Is there something else I need to do to update the plugin or is there
> something else to look at to determine why the wrong version was
> downloaded?
>
> [INFO] [site:site]
> ---------------------------------------------------
> constituent[0]: file:/opt/maven/2/lib/maven-core-2.0-beta-2.jar
> constituent[1]:
> file:/opt/maven/2/lib/plexus-input-handler-1.0-alpha-2.jar
> constituent[2]: file:/opt/maven/2/lib/maven-artifact-2.0-beta-2.jar
> constituent[3]: file:/opt/maven/2/lib/maven-monitor-2.0-beta-2.jar
> constituent[4]:
> file:/opt/maven/2/lib/maven-plugin-descriptor-2.0-beta-2.jar
> constituent[5]: file:/opt/maven/2/lib/maven-project-2.0-beta-2.jar
> constituent[6]: file:/opt/maven/2/lib/commons-cli-1.0.jar
> constituent[7]: file:/opt/maven/2/lib/maven-profile-2.0-beta-2.jar
> constituent[8]:
> file:/opt/maven/2/lib/maven-repository-metadata-2.0-beta-2.jar
> constituent[9]: file:/opt/maven/2/lib/maven-plugin-api-2.0-beta-2.jar
> constituent[10]: file:/opt/maven/2/lib/jsch-0.1.21.jar
> constituent[11]:
> file:/opt/maven/2/lib/wagon-provider-api-1.0-alpha-4.jar
> constituent[12]:
> file:/opt/maven/2/lib/maven-reporting-api-2.0-beta-2.jar
> constituent[13]: file:/opt/maven/2/lib/wagon-file-1.0-alpha-4.jar
> constituent[14]:
> file:/opt/maven/2/lib/maven-artifact-manager-2.0-beta-2.jar
> constituent[15]: file:/opt/maven/2/lib/maven-settings-2.0-beta-2.jar
> constituent[16]:
> file:/opt/maven/2/lib/maven-plugin-registry-2.0-beta-2.jar
> constituent[17]: file:/opt/maven/2/lib/maven-model-2.0-beta-2.jar
> constituent[18]: file:/opt/maven/2/lib/jline-0.9.1.jar
> constituent[19]: file:/opt/maven/2/lib/doxia-sink-api-1.0-alpha-4.jar
> constituent[20]: file:/opt/maven/2/lib/wagon-ssh-1.0-alpha-4.jar
> constituent[21]:
> file:/opt/maven/2/lib/wagon-http-lightweight-1.0-alpha-4.jar
> ---------------------------------------------------
> java.lang.NoSuchMethodError: getReports
>         at
>
org.apache.maven.doxia.DoxiaMojo.getReports()Ljava.util.List;(DoxiaMojo.
> java:1095)
>         at
> org.apache.maven.doxia.DoxiaMojo.execute()V(DoxiaMojo.java:237)
>         at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Lorg.apache.mav
>
en.project.MavenProject;Lorg.apache.maven.plugin.MojoExecution;Lorg.apac
> he.maven.execution.MavenSession;)V(DefaultPluginManager.java:401)
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Ljava.u
>
til.List;Lorg.apache.maven.execution.MavenSession;Lorg.apache.maven.proj
> ect.MavenProject;)V(DefaultLifecycleExecutor.java:515)
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
>
l(Ljava.lang.String;Lorg.apache.maven.execution.MavenSession;Lorg.apache
> .maven.project.MavenProject;)V(DefaultLifecycleExecutor.java:478)
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Ljava.la
>
ng.String;Lorg.apache.maven.execution.MavenSession;Lorg.apache.maven.pro
> ject.MavenProject;)V(DefaultLifecycleExecutor.java:460)
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>
Ljava.util.List;Lorg.apache.maven.execution.ReactorManager;Lorg.apache.m
>
aven.execution.MavenSession;Lorg.apache.maven.project.MavenProject;Lorg.
>
apache.maven.monitor.event.EventDispatcher;)V(DefaultLifecycleExecutor.j
> ava:278)
>         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Lorg.apache.
>
maven.execution.MavenSession;Lorg.apache.maven.execution.ReactorManager;
>
Lorg.apache.maven.monitor.event.EventDispatcher;)Lorg.apache.maven.execu
> tion.MavenExecutionResponse;(DefaultLifecycleExecutor.java:136)
>         at
>
org.apache.maven.DefaultMaven.execute(Lorg.apache.maven.execution.MavenE
>
xecutionRequest;)Lorg.apache.maven.execution.MavenExecutionResponse;(Def
> aultMaven.java:216)
>         at
>
org.apache.maven.cli.MavenCli.main([Ljava.lang.String;Lorg.codehaus.clas
> sworlds.ClassWorld;)I(MavenCli.java:246)
>         at
>
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lan
> g.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
>         at
>
jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang
> .Object;)Ljava.lang.Object;(Unknown Source)
>         at
>
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
> java.lang.Object;(Unknown Source)
>         at
>
org.codehaus.classworlds.Launcher.launchEnhanced([Ljava.lang.String;)V(L
> auncher.java:315)
>         at
>
org.codehaus.classworlds.Launcher.launch([Ljava.lang.String;)V(Launcher.
> java:255)
>         at
>
org.codehaus.classworlds.Launcher.mainWithExitCode([Ljava.lang.String;)I
> (Launcher.java:430)
>         at
>
org.codehaus.classworlds.Launcher.main([Ljava.lang.String;)V(Launcher.ja
> va:375)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to