[GeoNetwork-devel] trouble building from trunk

Hi,
Using Maven 3.0.2, ANT 1.8.2 and Java JDK 1.6.0_25 on a Debian 32 bit,
I was able to build GN from trunk until some week ago.
But now Maven report me some Errors.

This is the error it report for
trying to build the last trunk version (r7840) :


[INFO] ------------------------------------------------------------------------
[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B [WARNING] Checksum validation failed, could not read expected checksum: Error transferring file: Connection timed out for http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml from/to central (http://repo1.maven.org/maven2): Error transferring file: Connection timed out
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource … FAILURE [6:19.662s]
[INFO] Caching xslt module … SKIPPED
[INFO] Jeeves modules … SKIPPED
[INFO] Oaipmh modules … SKIPPED
[INFO] ArcSDE module (dummy-api) … SKIPPED
[INFO] GeoNetwork Web module … SKIPPED
[INFO] GeoServer module … SKIPPED
[INFO] Gast module … SKIPPED
[INFO] GeoNetwork Integration Tests … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:22.349s
[INFO] Finished at: Fri Jun 10 12:17:22 CEST 2011
[INFO] Final Memory: 3M/39M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repositories [local (/home/archivio/tomcat/.m2/repository), oss.sonatype.org-github-releases (http://oss.sonatype.org/content/repositories/github-releases), central (http://repo1.maven.org/maven2))]: Plugin not found in any plugin repository → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

Also I attach the full Log to this email.

I try some changing to the pom.xml but without success.

I like to know if this is a generalized problem or if is only for my PC.

thx,

Andrea Peri
. . . . . . . . .
qwerty àèìòù

(attachments)

log.txt (12.2 KB)

Hi Andrea,

Sounds weird to me, as far as the plugin seems to be available there :
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/

Did you try again or did you check your internet connection?

Cheers,

Mathieu

On Fri, Jun 10, 2011 at 12:24 PM, Andrea Peri <aperi2007@anonymised.com> wrote:

Hi,
Using Maven 3.0.2, ANT 1.8.2 and Java JDK 1.6.0_25 on a Debian 32 bit,
I was able to build GN from trunk until some week ago.
But now Maven report me some Errors.

This is the error it report for
trying to build the last trunk version (r7840) :


[INFO] ------------------------------------------------------------------------
[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B [WARNING] Checksum validation failed, could not read expected checksum: Error transferring file: Connection timed out for http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml from/to central (http://repo1.maven.org/maven2): Error transferring file: Connection timed out
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource … FAILURE [6:19.662s]
[INFO] Caching xslt module … SKIPPED
[INFO] Jeeves modules … SKIPPED
[INFO] Oaipmh modules … SKIPPED
[INFO] ArcSDE module (dummy-api) … SKIPPED
[INFO] GeoNetwork Web module … SKIPPED
[INFO] GeoServer module … SKIPPED
[INFO] Gast module … SKIPPED
[INFO] GeoNetwork Integration Tests … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:22.349s
[INFO] Finished at: Fri Jun 10 12:17:22 CEST 2011
[INFO] Final Memory: 3M/39M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repositories [local (/home/archivio/tomcat/.m2/repository), oss.sonatype.org-github-releases (http://oss.sonatype.org/content/repositories/github-releases), central (http://repo1.maven.org/maven2))]: Plugin not found in any plugin repository → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

Also I attach the full Log to this email.

I try some changing to the pom.xml but without success.

I like to know if this is a generalized problem or if is only for my PC.

thx,

Andrea Peri
. . . . . . . . .
qwerty àèìòù


EditLive Enterprise is the world’s most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Mathieu,

I retry again.

Again the Build is failed.

There is no problem to connection because as the new log show,
Maven successfully connect to some site and download files.
But after some download there is a trouble on a specific connection (the checksum was failed)

as report the log here:

So I was thinking there was some problem in the site.
The only explanation I can guess is that your Maven Build work because you have a local copy in the maven repository in your pc.
Infact I go in trouble when for a my mistake I have erase all the maven repository in my pc.
After that I was not able to rebuild GN because Maven go in trouble downloading the files as the log report.

(the new log)

[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (597 B at 0.5 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
776 B
3 KB
7 KB
8 KB

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom (8 KB at 9.3 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
758 B
3 KB
7 KB
9 KB
13 KB

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom (13 KB at 16.6 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/maven-parent/16/maven-parent-16.pom

Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
748 B
2 KB
6 KB
7 KB
11 KB
15 KB
17 KB
20 KB
23 KB

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom (23 KB at 37.6 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/apache/7/apache-7.pom

Downloading: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
753 B
2 KB
4 KB
7 KB
11 KB
14 KB
15 KB

Downloaded: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom (15 KB at 23.2 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
671 B
2 KB
..skipped..
29 KB

Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar (29 KB at 31.0 KB/sec)
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

657 B
[WARNING] Checksum validation failed, could not read expected checksum: Error transferring file: Connection timed out for http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml from/to central (http://repo1.maven.org/maven2): Error transferring file: Connection timed out
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. FAILURE [6:26.109s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] Jeeves modules .................................... SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:30.528s
[INFO] Finished at: Fri Jun 10 20:01:59 CEST 2011
[INFO] Final Memory: 3M/54M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-resources-plugin' from the repositories [local (/home/archivio/tomcat/.m2/repository), oss.sonatype.org-github-releases (http://oss.sonatype.org/content/repositories/github-releases), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

Il 10/06/2011 13:10, Mathieu Coudert ha scritto:

Hi Andrea,

Sounds weird to me, as far as the plugin seems to be available there :
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/

Did you try again or did you check your internet connection?

Cheers,

Mathieu

On Fri, Jun 10, 2011 at 12:24 PM, Andrea Peri <aperi2007@anonymised.com
<mailto:aperi2007@anonymised.com>> wrote:

    Hi,
    Using Maven 3.0.2, ANT 1.8.2 and Java JDK 1.6.0_25 on a Debian 32 bit,
    I was able to build GN from trunk until some week ago.
    But now Maven report me some Errors.

    This is the error it report for
    trying to build the last trunk version (r7840) :

    ------
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
    [INFO]
    ------------------------------------------------------------------------
    Downloading:
    http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
    Downloading:
    http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
    597 B [WARNING] Checksum validation failed, could not read
    expected checksum: Error transferring file: Connection timed out for
    http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
             [WARNING] Could not transfer metadata
    org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml
    from/to central (http://repo1.maven.org/maven2): Error transferring
    file: Connection timed out
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] GeoNetwork opensource ............................. FAILURE
    [6:19.662s]
    [INFO] Caching xslt module ............................... SKIPPED
    [INFO] Jeeves modules .................................... SKIPPED
    [INFO] Oaipmh modules .................................... SKIPPED
    [INFO] ArcSDE module (dummy-api) ......................... SKIPPED
    [INFO] GeoNetwork Web module ............................. SKIPPED
    [INFO] GeoServer module .................................. SKIPPED
    [INFO] Gast module ....................................... SKIPPED
    [INFO] GeoNetwork Integration Tests ...................... SKIPPED
    [INFO]
    ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Total time: 6:22.349s
    [INFO] Finished at: Fri Jun 10 12:17:22 CEST 2011
    [INFO] Final Memory: 3M/39M
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] Error resolving version for plugin
    'org.apache.maven.plugins:maven-compiler-plugin' from the
    repositories [local (/home/archivio/tomcat/.m2/repository),
    oss.sonatype.org-github-releases
    (http://oss.sonatype.org/content/repositories/github-releases),
    central (http://repo1.maven.org/maven2)]: Plugin not found in any
    plugin repository -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with
    the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible
    solutions, please read the following articles:
    [ERROR] [Help 1]
    http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException
    ----------

    Also I attach the full Log to this email.

    I try some changing to the pom.xml but without success.

    I like to know if this is a generalized problem or if is only for my PC.

    thx,

    --
    -----------------
    Andrea Peri
    . . . . . . . . .
    qwerty àèìòù
    -----------------

    ------------------------------------------------------------------------------
    EditLive Enterprise is the world's most technically advanced content
    authoring tool. Experience the power of Track Changes, Inline Image
    Editing and ensure content is compliant with Accessibility Checking.
    http://p.sf.net/sfu/ephox-dev2dev
    _______________________________________________
    GeoNetwork-devel mailing list
    GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork

Hi, You could try the -o option to work offline ?

HTH.

Francois

2011/6/10 aperi2007 <aperi2007@anonymised.com>:

Hi Mathieu,

I retry again.

Again the Build is failed.

There is no problem to connection because as the new log show,
Maven successfully connect to some site and download files.
But after some download there is a trouble on a specific connection (the
checksum was failed)

as report the log here:

So I was thinking there was some problem in the site.
The only explanation I can guess is that your Maven Build work because
you have a local copy in the maven repository in your pc.
Infact I go in trouble when for a my mistake I have erase all the maven
repository in my pc.
After that I was not able to rebuild GN because Maven go in trouble
downloading the files as the log report.

(the new log)

[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
(597 B at 0.5 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
776 B
3 KB
7 KB
8 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
(8 KB at 9.3 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
758 B
3 KB
7 KB
7 KB
9 KB
13 KB
13 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
(13 KB at 16.6 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/maven-parent/16/maven-parent-16.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
748 B
2 KB
6 KB
7 KB
11 KB
11 KB
15 KB
17 KB
20 KB
23 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
(23 KB at 37.6 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/apache/7/apache-7.pom

Downloading: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
753 B
2 KB
4 KB
7 KB
11 KB
14 KB
15 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom (15 KB at
23.2 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
671 B
2 KB
2 KB
..skipped..
29 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
(29 KB at 31.0 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

657 B
[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

[WARNING] Could not transfer metadata
org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml
from/to central (http://repo1.maven.org/maven2): Error transferring
file: Connection timed out
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. FAILURE
[6:26.109s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] Jeeves modules .................................... SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6:30.528s
[INFO] Finished at: Fri Jun 10 20:01:59 CEST 2011
[INFO] Final Memory: 3M/54M
[INFO]
------------------------------------------------------------------------
[ERROR] Error resolving version for plugin
'org.apache.maven.plugins:maven-resources-plugin' from the repositories
[local (/home/archivio/tomcat/.m2/repository),
oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases), central
(http://repo1.maven.org/maven2)]: Plugin not found in any plugin
repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

Il 10/06/2011 13:10, Mathieu Coudert ha scritto:

Hi Andrea,

Sounds weird to me, as far as the plugin seems to be available there :
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/

Did you try again or did you check your internet connection?

Cheers,

Mathieu

On Fri, Jun 10, 2011 at 12:24 PM, Andrea Peri <aperi2007@anonymised.com
<mailto:aperi2007@anonymised.com>> wrote:

Hi,
Using Maven 3\.0\.2, ANT 1\.8\.2 and Java JDK 1\.6\.0\_25 on a Debian 32 bit,
I was able to build GN from trunk until some week ago\.
But now Maven report me some Errors\.

This is the error it report for
trying to build the last trunk version \(r7840\) :

\-\-\-\-\-\-
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\[INFO\] Building GeoNetwork opensource 2\.7\.0\-SNAPSHOT
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B   \[WARNING\] Checksum validation failed, could not read
expected checksum: Error transferring file: Connection timed out for
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
         \[WARNING\] Could not transfer metadata
org\.apache\.maven\.plugins:maven\-compiler\-plugin/maven\-metadata\.xml
from/to central \(http://repo1.maven.org/maven2): Error transferring
file: Connection timed out
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\[INFO\] Reactor Summary:
\[INFO\]
\[INFO\] GeoNetwork opensource \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. FAILURE
\[6:19\.662s\]
\[INFO\] Caching xslt module \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] Jeeves modules \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] Oaipmh modules \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] ArcSDE module \(dummy\-api\) \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] GeoNetwork Web module \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] GeoServer module \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] Gast module \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\] GeoNetwork Integration Tests \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\. SKIPPED
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\[INFO\] BUILD FAILURE
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\[INFO\] Total time: 6:22\.349s
\[INFO\] Finished at: Fri Jun 10 12:17:22 CEST 2011
\[INFO\] Final Memory: 3M/39M
\[INFO\]
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\[ERROR\] Error resolving version for plugin
&#39;org\.apache\.maven\.plugins:maven\-compiler\-plugin&#39; from the
repositories \[local \(/home/archivio/tomcat/\.m2/repository\),
oss\.sonatype\.org\-github\-releases
\(http://oss.sonatype.org/content/repositories/github-releases),
central \(http://repo1.maven.org/maven2)\]: Plugin not found in any
plugin repository \-&gt; \[Help 1\]
\[ERROR\]
\[ERROR\] To see the full stack trace of the errors, re\-run Maven with
the \-e switch\.
\[ERROR\] Re\-run Maven using the \-X switch to enable full debug logging\.
\[ERROR\]
\[ERROR\] For more information about the errors and possible
solutions, please read the following articles:
\[ERROR\] \[Help 1\]
http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException
\-\-\-\-\-\-\-\-\-\-

Also I attach the full Log to this email\.

I try some changing to the pom\.xml but without success\.

I like to know if this is a generalized problem or if is only for my PC\.

thx,

\-\-
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
Andrea Peri
\. \. \. \. \. \. \. \. \.
qwerty àèìòù
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-

\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
EditLive Enterprise is the world&#39;s most technically advanced content
authoring tool\. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking\.
http://p.sf.net/sfu/ephox-dev2dev
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
GeoNetwork\-devel mailing list
GeoNetwork\-devel@lists\.sourceforge\.net
&lt;mailto:GeoNetwork-devel@lists.sourceforge.net&gt;
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

I tryed.

But the build failed again.

Infact my local repository has not all the needed plugins.

thx,

Andrea.

===========================================================
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. FAILURE [1.020s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] Jeeves modules .................................... SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.064s
[INFO] Finished at: Fri Jun 10 20:27:18 CEST 2011
[INFO] Final Memory: 3M/55M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-resources-plugin' from the repositories [local (/home/archivio/tomcat/.m2/repository), oss.sonatype.org-github-releases (http://oss.sonatype.org/content/repositories/github-releases), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

============================================================================

Il 10/06/2011 20:25, Francois Prunayre ha scritto:

Hi, You could try the -o option to work offline ?

HTH.

Francois

2011/6/10 aperi2007<aperi2007@anonymised.com>:

Hi Mathieu,

I retry again.

Again the Build is failed.

There is no problem to connection because as the new log show,
Maven successfully connect to some site and download files.
But after some download there is a trouble on a specific connection (the
checksum was failed)

as report the log here:

So I was thinking there was some problem in the site.
The only explanation I can guess is that your Maven Build work because
you have a local copy in the maven repository in your pc.
Infact I go in trouble when for a my mistake I have erase all the maven
repository in my pc.
After that I was not able to rebuild GN because Maven go in trouble
downloading the files as the log report.

(the new log)

[INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
597 B

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
(597 B at 0.5 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
776 B
3 KB
7 KB
8 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
(8 KB at 9.3 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
758 B
3 KB
7 KB
9 KB
13 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
(13 KB at 16.6 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/maven-parent/16/maven-parent-16.pom

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
748 B
2 KB
6 KB
7 KB
11 KB
15 KB
17 KB
20 KB
23 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
(23 KB at 37.6 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/apache/7/apache-7.pom

Downloading: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
753 B
2 KB
4 KB
7 KB
11 KB
14 KB
15 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom (15 KB at
23.2 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
671 B
2 KB
..skipped..
29 KB

Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
(29 KB at 31.0 KB/sec)
Downloading:
http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

657 B
[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml

[WARNING] Could not transfer metadata
org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml
from/to central (http://repo1.maven.org/maven2): Error transferring
file: Connection timed out
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. FAILURE
[6:26.109s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] Jeeves modules .................................... SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6:30.528s
[INFO] Finished at: Fri Jun 10 20:01:59 CEST 2011
[INFO] Final Memory: 3M/54M
[INFO]
------------------------------------------------------------------------
[ERROR] Error resolving version for plugin
'org.apache.maven.plugins:maven-resources-plugin' from the repositories
[local (/home/archivio/tomcat/.m2/repository),
oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases), central
(http://repo1.maven.org/maven2)]: Plugin not found in any plugin
repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException

Il 10/06/2011 13:10, Mathieu Coudert ha scritto:

Hi Andrea,

Sounds weird to me, as far as the plugin seems to be available there :
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/

Did you try again or did you check your internet connection?

Cheers,

Mathieu

On Fri, Jun 10, 2011 at 12:24 PM, Andrea Peri<aperi2007@anonymised.com
<mailto:aperi2007@anonymised.com>> wrote:

     Hi,
     Using Maven 3.0.2, ANT 1.8.2 and Java JDK 1.6.0_25 on a Debian 32 bit,
     I was able to build GN from trunk until some week ago.
     But now Maven report me some Errors.

     This is the error it report for
     trying to build the last trunk version (r7840) :

     ------
     [INFO]
     ------------------------------------------------------------------------
     [INFO] Building GeoNetwork opensource 2.7.0-SNAPSHOT
     [INFO]
     ------------------------------------------------------------------------
     Downloading:
     http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
     Downloading:
     http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
     597 B [WARNING] Checksum validation failed, could not read
     expected checksum: Error transferring file: Connection timed out for
     http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
              [WARNING] Could not transfer metadata
     org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml
     from/to central (http://repo1.maven.org/maven2): Error transferring
     file: Connection timed out
     [INFO]
     ------------------------------------------------------------------------
     [INFO] Reactor Summary:
     [INFO]
     [INFO] GeoNetwork opensource ............................. FAILURE
     [6:19.662s]
     [INFO] Caching xslt module ............................... SKIPPED
     [INFO] Jeeves modules .................................... SKIPPED
     [INFO] Oaipmh modules .................................... SKIPPED
     [INFO] ArcSDE module (dummy-api) ......................... SKIPPED
     [INFO] GeoNetwork Web module ............................. SKIPPED
     [INFO] GeoServer module .................................. SKIPPED
     [INFO] Gast module ....................................... SKIPPED
     [INFO] GeoNetwork Integration Tests ...................... SKIPPED
     [INFO]
     ------------------------------------------------------------------------
     [INFO] BUILD FAILURE
     [INFO]
     ------------------------------------------------------------------------
     [INFO] Total time: 6:22.349s
     [INFO] Finished at: Fri Jun 10 12:17:22 CEST 2011
     [INFO] Final Memory: 3M/39M
     [INFO]
     ------------------------------------------------------------------------
     [ERROR] Error resolving version for plugin
     'org.apache.maven.plugins:maven-compiler-plugin' from the
     repositories [local (/home/archivio/tomcat/.m2/repository),
     oss.sonatype.org-github-releases
     (http://oss.sonatype.org/content/repositories/github-releases),
     central (http://repo1.maven.org/maven2)]: Plugin not found in any
     plugin repository -> [Help 1]
     [ERROR]
     [ERROR] To see the full stack trace of the errors, re-run Maven with
     the -e switch.
     [ERROR] Re-run Maven using the -X switch to enable full debug logging.
     [ERROR]
     [ERROR] For more information about the errors and possible
     solutions, please read the following articles:
     [ERROR] [Help 1]
     http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException
     ----------

     Also I attach the full Log to this email.

     I try some changing to the pom.xml but without success.

     I like to know if this is a generalized problem or if is only for my PC.

     thx,

     --
     -----------------
     Andrea Peri
     . . . . . . . . .
     qwerty àèìòù
     -----------------

     ------------------------------------------------------------------------------
     EditLive Enterprise is the world's most technically advanced content
     authoring tool. Experience the power of Track Changes, Inline Image
     Editing and ensure content is compliant with Accessibility Checking.
     http://p.sf.net/sfu/ephox-dev2dev
     _______________________________________________
     GeoNetwork-devel mailing list
     GeoNetwork-devel@lists.sourceforge.net
     <mailto:GeoNetwork-devel@lists.sourceforge.net>
     https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
     GeoNetwork OpenSource is maintained at
     http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi,
I resolve the problem. :slight_smile:

It seem to be due to the site.
So the goal was to update the settings.xml file of maven apply-ing a mirror.

I use this.

   <mirrors>
     <mirror>
       <id>UK</id>
       <mirrorOf>central</mirrorOf>
       <name>UK Central</name>
       <url>http://uk.maven.org/maven2&lt;/url&gt;
     </mirror>
   </mirrors>

Regards,

Andrea.