Niall Pemberton wrote:
> I'm hitting the following problem trying to build the site for a
> couple of components:
> 
> http://maven.markmail.org/message/nwrpf3ym4wanajyq
> 
> Tony's solution works for me (adding the commons lang dependency to
> the site plugin in the parent pom) - just wondered if anyone else is
> seeing this (could be related to the new parent pom version)? Anyway

I have not been able to reproduce this on my machine:

Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.5.0_21
Java home: C:\Program\Java\jdk1.5.0_21\jre
Default locale: sv_SE, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

I think that you have some bad metadata and/or pom.xml file in your
local repository.

The following line in the output suggests that the problem lies with the
Project Information Reports Plugin.

[INFO] Generating "Project Team" report.

You could try to delete the directory
.../org/apache/maven/plugins/maven-project-info-reports-plugin/ from
your local repository. This will trigger a new download of that plugin
the next time it is used.

> if noone obejcts I'm going to apply the following to commons parent:
> 
> Niall
> 
> 
> Index: commons-parent/pom.xml
> ===================================================================
> --- commons-parent/pom.xml    (revision 827828)
> +++ commons-parent/pom.xml    (working copy)
> @@ -187,6 +187,18 @@
>          </plugin>
>          <plugin>
>            <groupId>org.apache.maven.plugins</groupId>
> +          <artifactId>maven-site-plugin</artifactId>
> +          <version>2.0.1</version>
> +          <dependencies>
> +              <dependency>
> +                  <groupId>commons-lang</groupId>
> +                  <artifactId>commons-lang</artifactId>
> +                  <version>2.4</version>
> +              </dependency>
> +          </dependencies>
> +        </plugin>
> +        <plugin>
> +          <groupId>org.apache.maven.plugins</groupId>
>            <artifactId>maven-source-plugin</artifactId>
>            <version>2.1.1</version>
>          </plugin>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to