I'm not using windows so I can't really comment but I don't think that vmware or windows in general are causing this kind of problems.

I would suggest the following to further nail down the cause:

- look at the contents of the files in your local repository sometimes the HTML error pages are stored there instead of the actual content. Perhaps this sheds some more light on the root of the problem.

- get a command line download utility (wget for windows) [1] and try downloading the pom manually. If this fails perhaps the wget error is more meaningful than the maven one.

- If not a proxy could it be the windows firewall, some other firewall or virus scanner?

- As the error has some text mentioning that it is 'attempting to create parent directories for destination'. Could it be some local permission problem?

Hope this helps
-Tim

[1] http://www.christopherlewis.com/WGet/WGetFiles.htm

Claudio Tamietto schrieb:
No , i haven't configured a hhtp proxy o repository proxy . However maven is installed on a vmware machine with windows 2003 enterprise
edition.
Can this triggers some problems ?

-----Messaggio originale-----
Da: Tim Kettler [mailto:[EMAIL PROTECTED] Inviato: martedì 21 agosto 2007 10.37
A: Maven Users List
Oggetto: Re: R: error on site goal

The pom in the central repo [1] is valid. This has to be something in your environment. Have you configured a http proxy, repository proxy or defined a mirror for central that could be causing this?

-Tim

[1] http://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe
/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom

Claudio Tamietto schrieb:
i have deleted
.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/ e restarted
maven but i obtain the error
attempting to create parent directories for destination:
maven-scm-provider-cvsexe-1.0-beta-3.pom.tmp
Downloading [central] ->

http://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe
/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom
.
[WARN] *** CHECKSUM FAILED - Checksum failed on download: local =
'fb0899e06bef9e79c61202e9cd73eee1dcbf8f0b'; remote = '<!DOCTYPE' -
RETRYING
attempting to create parent directories for destination:
maven-scm-provider-cvsexe-1.0-beta-3.pom.tmp
Downloading [central] ->

http://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe
/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom
.

I think there is something wrong in the central repository


-----Messaggio originale-----
Da: Tim Kettler [mailto:[EMAIL PROTECTED] Inviato: martedì 21 agosto 2007 9.25
A: Maven Users List
Oggetto: Re: error on site goal

Hi,

have a look here [1] for how to configure the project-info-reports plugin to only render a set of specified reports.

However, when doing 'mvn site' on your pom I don't get the error you posted. The scm-report generated page just contains a 'No source configuration management system is defined. Please check back at a later date.' message and this is the expected behaviour.

Looking at the log output there are many of these:

---
[WARN] POM for 'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
---

Probably the pom somehow got corrupted in your local repository. Just delete the directory containing the artifact from disk (.m2/repository/org/apache/maven/scm/maven-scm-provider-cvsexe/) and run 'mvn site' again so that maven redownloads the artifact and most probably the error will go away.

-Tim

Claudio Tamietto schrieb:
I'm tryng to use maven 2.0.7 with the following POM

<?xml version="1.0" encoding="UTF-8"?>

<!--


/***************************************************************************
****

* Copyright (c) 2005, 2007 Naci Dai, Lawrence Mandel, and Arthur Ryman.

* All rights reserved. This program and the accompanying materials

* are made available under the terms of the Eclipse Public License v1.0

* which accompanies this distribution, and is available at

* http://www.eclipse.org/legal/epl-v10.html

*

* This sample developed for the book

*     Eclipse Web Tools Platform: Developing Java Web Applications

* See http://eclipsewtp.org


****************************************************************************
***/

-->

<project xmlns="http://maven.apache.org/POM/4.0.0";

            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0

                        http://maven.apache.org/maven-v4_0_0.xsd";>

            <modelVersion>4.0.0</modelVersion>

            <artifactId>leagueplanet</artifactId>

            <groupId>com.leagueplanet</groupId>

            <name>LeaguePlanet.com Web Project</name>

            <version>1.0-SNAPSHOT</version>

            <packaging>war</packaging>

            <organization>

                        <name>LeaguePlanet.com</name>

                        <url>http://www.leagueplanet.com/</url>

            </organization>

            <description>

                        An example project showing how to use eclipse
WebTools Platform

                        and Maven for Java Web Development.

            </description>

            <licenses>

                        <license>

                                    <comments>Eclipse Public Licence
(EPL)v1.0</comments>

<url>http://www.eclipse.org/legal/epl-v10.html</url>

                        </license>

            </licenses>

            <developers>

                        <developer>

                                    <id>ndai</id>

                                    <name>Naci Dai</name>

                                    <email>[EMAIL PROTECTED]</email>


<organization>Eteration</organization>
                        </developer>

                        <developer>

                                    <id>lmandel</id>

                                    <name>Lawrence Mandel</name>

                                    <email>[EMAIL PROTECTED]</email>

                                    <organization>IBM</organization>

                        </developer>

                        <developer>

                                    <id>ryman</id>

                                    <name>Arthur Ryman</name>

                                    <email>[EMAIL PROTECTED]</email>

                                    <organization>IBM</organization>

                        </developer>

            </developers>

            <build>

                        <finalName>${artifactId}-${version}</finalName>

            </build>

            <dependencies>

                        <dependency>

                                    <groupId>junit</groupId>

                                    <artifactId>junit</artifactId>

                                    <version>3.8.1</version>

                                    <scope>test</scope>

                        </dependency>

                        <dependency>

                                    <groupId>struts</groupId>

                                    <artifactId>struts</artifactId>

                                    <version>1.2.7</version>

                        </dependency>

                        <dependency>

                                    <groupId>struts</groupId>

                                    <artifactId>struts-el</artifactId>

                                    <version>1.2.7</version>

                        </dependency>

                        <dependency>

                                    <groupId>commons-validator</groupId>

<artifactId>commons-validator</artifactId>

                                    <version>1.1.4</version>

                        </dependency>

                        <dependency>

                                    <groupId>commons-logging</groupId>


<artifactId>commons-logging</artifactId>
                                    <version>1.0.3</version>

                        </dependency>

                        <dependency>

                                    <groupId>commons-fileupload</groupId>

<artifactId>commons-fileupload</artifactId>

                                    <version>1.0</version>

                        </dependency>

                        <dependency>

                                    <groupId>antlr</groupId>

                                    <artifactId>antlr</artifactId>

                                    <version>2.7.5</version>

                        </dependency>

                        <dependency>

                                    <groupId>commons-digester</groupId>

<artifactId>commons-digester</artifactId>

                                    <version>1.7</version>

                        </dependency>

                        <dependency>

                                    <groupId>commons-beanutils</groupId>

<artifactId>commons-beanutils</artifactId>

                                    <version>1.7.0</version>

                        </dependency>

                        <dependency>

                                    <groupId>oro</groupId>

                                    <artifactId>oro</artifactId>

                                    <version>2.0.8</version>

                        </dependency>

                        <dependency>

                                    <groupId>servletapi</groupId>

                                    <artifactId>servletapi</artifactId>

                                    <version>2.3</version>

                        </dependency>

            </dependencies>

            <reporting>

                        <plugins>

                                    <plugin>

<groupId>org.apache.maven.plugins</groupId>

                                                <artifactId>

maven-project-info-reports-plugin

                                                </artifactId>

                                    </plugin>

                                    <plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-report-plugin</artifactId>

                                    </plugin>

                        </plugins>

            </reporting>

</project>

When i run the command

mvn site
i get the following error

[INFO] Scanning for projects...

[INFO]

----------------------------------------------------------------------------
[INFO] Building LeaguePlanet.com Web Project

[INFO]    task-segment: [site]

[INFO]

----------------------------------------------------------------------------
[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] statemgmt:start-fork

[INFO] Starting forked execution [fork id: -2027349867]

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.

[INFO] Setting property: velocimacro.messages.on => 'false'.

[INFO] Setting property: resource.loader => 'classpath'.

[INFO] Setting property: resource.manager.logwhenfound => 'false'.

[INFO] project-info-reports:cim

[INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
updates from central

[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got
0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[WARN] While downloading javax.servlet:servlet-api:2.3

  This artifact has been relocated to javax.servlet:servlet-api:2.3.

[INFO] project-info-reports:dependencies

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:dependency-convergence

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:issue-tracking

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:license

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:mailing-list

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:index

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:summary

[WARN] POM for
'org.apache.maven.scm:maven-scm-provider-cvsexe:pom:1.0-beta-3:runtime'
is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
POM.

[INFO] project-info-reports:scm

java.lang.NoClassDefFoundError:
org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository

            at

org.apache.maven.report.projectinfo.ScmReport.executeReport(ScmReport.java:8
4)

            at

org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.
java:101)

            at

org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute(Abstra
ctProjectInfoReport.java:164)

            at

org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:653)

            at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:354)

            at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:255)

            at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:141)

            at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:304)

            at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:124)
            at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)

            at

org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:82)
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code
=
-2

JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):
[../../../src/share/back/util.c:820]

it seems to me that maven try to use a cvs command but in this project i
don't use CVS or another scm.

How can I disable this section of the reports ?

Thanks for any answer



---------------------------------------------------------------------
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]




---------------------------------------------------------------------
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