[Geoserver-devel] compiling GeoServer using maven-2.0.4

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

  • Error stacktraces are turned on.

[INFO] Scanning for projects…

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO] -------------------------------------------------------------------------


[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO] -------------------------------------------------------------------------


[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for upd

ates from central

[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-sure

fire-plugin’ could not be retrieved from repository: central due to an error: Er

ror transferring file

[INFO] Repository ‘central’ will be blacklisted

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] The plugin ‘org.apache.maven.plugins:maven-surefire-plugin’ does not exis

t or no valid version could be found

[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m

aven.plugins:maven-surefire-plugin’ does not exist or no valid version could be

found

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin ‘org.apache.maven.plugins:maven-surefire-plugin’ does not exist or no vali

d version could be found

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

… 17 more

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO] ------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can manually download it but where should I copy the file and which configuration file should I change so that it doesn’t try to download it again.

Cheers,

Adit

I think you can probably drop it under your maven repository. If you are on windows, you can find it under Documents and Settings/your_name/.m2/
like this:
C:\Documents and Settings\brent\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin

It will automatically be picked up there.

Brent Owens
(The Open Planning Project)

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO] -------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO] -------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for upd

ates from central

[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exis

t or no valid version could be found

[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version could be

found

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no vali

d version could be found

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

... 17 more

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO] ------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can manually download it but where should I copy the file and which configuration file should I change so that it doesn’t try to download it again.

Cheers,

Adit

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]
-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]
-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn’t try to download it
again.

Cheers,

Adit

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,

I have tried this many times. It still gives me same errors.

I have also removed the plugin and unsuccessfully tried.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 16:31
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]
-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]
-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn't try to download it
again.

Cheers,

Adit

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hmmm, strange. There must be an issue with your repository. Can you
build if you turn of tests, ie:

mvn -Dmaven.test.skip=true clean install ?

If that doesn't work, and you have deleted the
~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin
directory from your local repository then log the result of the command
with debugging on (-X) and send it over, I will take a closer look at it.

-Justin

Adit Santokhee wrote:

Hi Justin,

I have tried this many times. It still gives me same errors.

I have also removed the plugin and unsuccessfully tried.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 16:31
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]
-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]
-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn't try to download it
again.

Cheers,

Adit

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,

The log is attached.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 19:05
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Hmmm, strange. There must be an issue with your repository. Can you
build if you turn of tests, ie:

mvn -Dmaven.test.skip=true clean install ?

If that doesn't work, and you have deleted the
~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin
directory from your local repository then log the result of the command
with debugging on (-X) and send it over, I will take a closer look at it.

-Justin

Adit Santokhee wrote:

Hi Justin,

I have tried this many times. It still gives me same errors.

I have also removed the plugin and unsuccessfully tried.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 16:31
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]
-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]
-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn't try to download it
again.

Cheers,

Adit

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

(attachments)

error.txt (9.69 KB)

Looking at the log maven fails immediately because it could not
download the "clean" plugin.

Is there anything that may be stopping maven from being able to download
dependencies, like a firewall perhaps?

If not, perhaps your maven installation is corrupt. The only other thing
I can think of is blow away your existing installation and try again.

-Justin

Adit Santokhee wrote:

Hi Justin,

The log is attached.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 19:05
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Hmmm, strange. There must be an issue with your repository. Can you
build if you turn of tests, ie:

mvn -Dmaven.test.skip=true clean install ?

If that doesn't work, and you have deleted the
~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin
directory from your local repository then log the result of the command
with debugging on (-X) and send it over, I will take a closer look at it.

-Justin

Adit Santokhee wrote:

Hi Justin,

I have tried this many times. It still gives me same errors.

I have also removed the plugin and unsuccessfully tried.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 16:31
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]
-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]
-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

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

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn't try to download it
again.

Cheers,

Adit

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

C:\GeoServerWCS>mvn -X -Dmaven.test.skip=true clean install
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin
gs\ads\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\maven\maven-2.0.4\
bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Web Coverage Service Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] -------------------------------------------------------------------------
---
[INFO] Building GeoServer
[INFO] task-segment: [clean, install]
[INFO] -------------------------------------------------------------------------
---
[DEBUG] Skipping disabled repository codehaus-snapshot-plugins
[DEBUG] Trying repository central
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-
plugin/2.1/maven-clean-plugin-2.1.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-clean-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-clean-plugin' from
the repository: Error transferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project
for plugin 'org.apache.maven.plugins:maven-clean-plugin': Error getting POM for
'org.apache.maven.plugins:maven-clean-plugin' from the repository: Error transfe
rring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1269)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1517)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
ackaging(DefaultLifecycleExecutor.java:1011)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
eMappings(DefaultLifecycleExecutor.java:975)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:453)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build proje
ct for plugin 'org.apache.maven.plugins:maven-clean-plugin': Error getting POM f
or 'org.apache.maven.plugins:maven-clean-plugin' from the repository: Error tran
sferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio
n(DefaultPluginManager.java:265)
        at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De
faultPluginManager.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:163)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1252)
        ... 18 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM
for 'org.apache.maven.plugins:maven-clean-plugin' from the repository: Error tra
nsferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:501)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:225)
        at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio
n(DefaultPluginManager.java:249)
        ... 21 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Error
transferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:140)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
        ... 23 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring fi
le
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
ata(LightweightHttpWagon.java:99)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(D
efaultWagonManager.java:369)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:282)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:244)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
        ... 25 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:521)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:498)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:626)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
ata(LightweightHttpWagon.java:85)
        ... 30 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Wed Oct 25 19:08:23 BST 2006
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------

C:\GeoServerWCS>

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453fac26161741460912952!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453fac26161741460912952!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira ha scritto:

Looking at the log maven fails immediately because it could not
download the "clean" plugin.

Is there anything that may be stopping maven from being able to download
dependencies, like a firewall perhaps?

If not, perhaps your maven installation is corrupt. The only other thing
I can think of is blow away your existing installation and try again.

Blow away: totally remove the repository too, delete
c:\documents & settings\<your user>\.m2 completely (if you're on Windows).

Cheers
Andrea Aime

I am running it behind firewall actually. I followed the instructions on:

http://maven.apache.org/guides/mini/guide-proxies.html

but it didn't work.

I may have to uninstall everything I guess.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 19:39
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Looking at the log maven fails immediately because it could not
download the "clean" plugin.

Is there anything that may be stopping maven from being able to download
dependencies, like a firewall perhaps?

If not, perhaps your maven installation is corrupt. The only other thing
I can think of is blow away your existing installation and try again.

-Justin

Adit Santokhee wrote:

Hi Justin,

The log is attached.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 19:05
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Hmmm, strange. There must be an issue with your repository. Can you
build if you turn of tests, ie:

mvn -Dmaven.test.skip=true clean install ?

If that doesn't work, and you have deleted the
~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin
directory from your local repository then log the result of the command
with debugging on (-X) and send it over, I will take a closer look at it.

-Justin

Adit Santokhee wrote:

Hi Justin,

I have tried this many times. It still gives me same errors.

I have also removed the plugin and unsuccessfully tried.

Cheers,

Adit

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 25 October 2006 16:31
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Can you reproduce this error over and over? Maven often produces errors
due to servers being overloaded, and running the same command again may
work.

Downloading maven dependencies manually is tricky because you have to
deal with transitive dependencies and timestamps, i don't really
recommend it, although it might just work.

I would recommend removing any versions of the plugin you currently have
in your maven repository and see what happens. If the problems persists
let us know.

-Justin

Adit Santokhee wrote:

Hello,

I am trying to compile GeoServer 1.4.0-M2-WCS using mvn compile.

I am obtaining the following error message:

C:\GeoServerWCS>mvn -e compile

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO] GeoServer

[INFO] Core Platform Module

[INFO] Data Module

[INFO] Main Module

[INFO] Web Coverage Service Module

[INFO] Validation Module

[INFO] Web Feature Service Module

[INFO] Web Map Service Module

[INFO] GeoServer Maven Plugins

[INFO] Configuration Deployment PlugIn

[INFO] Web Application Module

[INFO] Artifact Merger PlugIn

[INFO] Test Module

[INFO]

-------------------------------------------------------------------------

---

[INFO] Building GeoServer

[INFO] task-segment: [compile]

[INFO]

-------------------------------------------------------------------------

---

[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for upd

ates from central

[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-sure

fire-plugin' could not be retrieved from repository: central due to an
error: Er

ror transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
not exis

t or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m

aven.plugins:maven-surefire-plugin' does not exist or no valid version
could be

found

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1281)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec

ycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:982)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)

        at

org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p

lugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or
no vali

d version could be found

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:225)

        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl

uginVersion(DefaultPluginVersionManager.java:87)

        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:158)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Wed Oct 25 14:56:47 BST 2006

[INFO] Final Memory: 2M/4M

[INFO]
------------------------------------------------------------------------

It is unsuccessfully trying to download the maven-surefire-plugin. I can
manually download it but where should I copy the file and which
configuration file should I change so that it doesn't try to download it
again.

Cheers,

Adit

------------------------------------------------------------------------

-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services,

security?

Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453f6e11127581116498154!

------------------------------------------------------------------------

C:\GeoServerWCS>mvn -X -Dmaven.test.skip=true clean install
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and

Settin

gs\ads\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:

'C:\maven\maven-2.0.4\

bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Web Coverage Service Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO]

-------------------------------------------------------------------------

---
[INFO] Building GeoServer
[INFO] task-segment: [clean, install]
[INFO]

-------------------------------------------------------------------------

---
[DEBUG] Skipping disabled repository codehaus-snapshot-plugins
[DEBUG] Trying repository central
Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-

plugin/2.1/maven-clean-plugin-2.1.pom
[INFO]

------------------------------------------------------------------------

[ERROR] BUILD ERROR
[INFO]

------------------------------------------------------------------------

[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-clean-plugin

Reason: Error getting POM for

'org.apache.maven.plugins:maven-clean-plugin' from

the repository: Error transferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

[INFO]

------------------------------------------------------------------------

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build

project

for plugin 'org.apache.maven.plugins:maven-clean-plugin': Error getting

POM for

'org.apache.maven.plugins:maven-clean-plugin' from the repository: Error

transfe

rring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1269)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor

(DefaultLifecycleExecutor.java:1517)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP

ackaging(DefaultLifecycleExecutor.java:1011)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl

eMappings(DefaultLifecycleExecutor.java:975)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:453)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:306)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:273)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)
        at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at

org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at

org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build

proje

ct for plugin 'org.apache.maven.plugins:maven-clean-plugin': Error getting

POM f

or 'org.apache.maven.plugins:maven-clean-plugin' from the repository:

Error tran

sferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at

org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio

n(DefaultPluginManager.java:265)
        at

org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De

faultPluginManager.java:183)
        at

org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug

inManager.java:163)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa

ultLifecycleExecutor.java:1252)
        ... 18 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error

getting POM

for 'org.apache.maven.plugins:maven-clean-plugin' from the repository:

Error tra

nsferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at

org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

sitory(DefaultMavenProjectBuilder.java:501)
        at

org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito

ry(DefaultMavenProjectBuilder.java:225)
        at

org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio

n(DefaultPluginManager.java:249)
        ... 21 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:

Error

transferring file
  org.apache.maven.plugins:maven-clean-plugin:pom:2.1

from the specified remote repositories:
  ibiblio (http://www.ibiblio.org/maven2),
  central (http://repo1.maven.org/maven2),
  refractions (http://lists.refractions.net/m2/),
  espace (http://maven.espace.ird.nc),
  codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
  geotools (http://maven.geotools.fr/repository/)

        at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

faultArtifactResolver.java:140)
        at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

faultArtifactResolver.java:63)
        at

org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

sitory(DefaultMavenProjectBuilder.java:467)
        ... 23 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error

transferring fi

le
        at

org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD

ata(LightweightHttpWagon.java:99)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at

org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(D

efaultWagonManager.java:369)
        at

org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def

aultWagonManager.java:282)
        at

org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def

aultWagonManager.java:244)
        at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

faultArtifactResolver.java:124)
        ... 25 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at

java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at

sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne

ction.java:521)
        at

sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection

.java:498)
        at

sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:626)
        at

org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD

ata(LightweightHttpWagon.java:85)
        ... 30 more
[INFO]

------------------------------------------------------------------------

[INFO] Total time: 21 seconds
[INFO] Finished at: Wed Oct 25 19:08:23 BST 2006
[INFO] Final Memory: 2M/4M
[INFO]

------------------------------------------------------------------------

C:\GeoServerWCS>

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,453fac26161741460912952!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453fac26161741460912952!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hello,

It worked finally :~)) I re-installed everything.

Thanks,

Adit

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: 25 October 2006 20:07
To: Justin Deoliveira
Cc: Adit Santokhee; geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] compiling GeoServer using maven-2.0.4

Justin Deoliveira ha scritto:

Looking at the log maven fails immediately because it could not
download the "clean" plugin.

Is there anything that may be stopping maven from being able to download
dependencies, like a firewall perhaps?

If not, perhaps your maven installation is corrupt. The only other thing
I can think of is blow away your existing installation and try again.

Blow away: totally remove the repository too, delete
c:\documents & settings\<your user>\.m2 completely (if you're on Windows).

Cheers
Andrea Aime

I was too quick to jump to a conclusion.

It is actually not completing successfully. I have installed the
jai_imageio-1_1-lib package though.

[INFO] [compiler:compile]
Compiling 104 source files to C:\GeoServerWCS\main\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[19,
23] package javax.media.jai does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[20,
23] package javax.media.jai does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[26,
30] package com.sun.media.jai.util does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[51,
22] cannot resolve symbol
symbol : class JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[52,
16] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[748
,15] cannot resolve symbol
symbol : class JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[752
,15] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[51,
35] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[552
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[555
,22] cannot resolve symbol
symbol : class RecyclingTileFactory
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[555
,66] cannot resolve symbol
symbol : class RecyclingTileFactory
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[556
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[557
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[560
,28] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\xml\XMLConfigRe
ader
.java:[2017,57] cannot access javax.media.jai.util.Range
file javax\media\jai\util\Range.class not found
                                dimensions[dim].setRange(new
NumberRange(min, ma
x));

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\config\CoverageConfig.
java
:[209,24] cannot access javax.media.jai.PropertySourceImpl
file javax\media\jai\PropertySourceImpl.class not found
                crs = gc.getCoordinateReferenceSystem();

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:555)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
fail
ure
        at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:505)
        at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Wed Oct 25 20:50:29 BST 2006
[INFO] Final Memory: 13M/39M
[INFO]
------------------------------------------------------------------------

Cheers,

Adit

Well luckily this one is an easy one. You you need to install the java
advanced imaging extensions in your jdk.

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaiio-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

-Justin

Adit Santokhee wrote:

I was too quick to jump to a conclusion.

It is actually not completing successfully. I have installed the
jai_imageio-1_1-lib package though.

[INFO] [compiler:compile]
Compiling 104 source files to C:\GeoServerWCS\main\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[19,
23] package javax.media.jai does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[20,
23] package javax.media.jai does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[26,
30] package com.sun.media.jai.util does not exist

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[51,
22] cannot resolve symbol
symbol : class JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[52,
16] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[748
,15] cannot resolve symbol
symbol : class JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[752
,15] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[51,
35] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[552
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[555
,22] cannot resolve symbol
symbol : class RecyclingTileFactory
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[555
,66] cannot resolve symbol
symbol : class RecyclingTileFactory
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[556
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[557
,40] cannot resolve symbol
symbol : variable JAI
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\GeoServer.java:
[560
,28] cannot resolve symbol
symbol : class SunTileCache
location: class org.vfny.geoserver.global.GeoServer

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\global\xml\XMLConfigRe
ader
.java:[2017,57] cannot access javax.media.jai.util.Range
file javax\media\jai\util\Range.class not found
                                dimensions[dim].setRange(new
NumberRange(min, ma
x));

C:\GeoServerWCS\main\src\main\java\org\vfny\geoserver\config\CoverageConfig.
java
:[209,24] cannot access javax.media.jai.PropertySourceImpl
file javax\media\jai\PropertySourceImpl.class not found
                crs = gc.getCoordinateReferenceSystem();

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:555)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
fail
ure
        at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:505)
        at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Wed Oct 25 20:50:29 BST 2006
[INFO] Final Memory: 13M/39M
[INFO]
------------------------------------------------------------------------

Cheers,

Adit

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,453fc17a176402223018498!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com