Andrea Aime ha scritto:
> Jody Garnett ha scritto:
>> Thanks for trying to help me this morning Gabriel; I was able to get a 
>> little further...
>> The instructions for building/running geoserver do not quite match what 
>> is going on on trunk; here is what I have been able to try thus far.
>> - upgrade to maven 2.0.10
>> - mvn clean install -Plegacy (this fails due to a compile error in 
>> legacy WMS)
>> - web/ - not to be used; since web2 is in use now
>> - community/web2 -could not start jetty - unable to find the correct 
>> version:
> 
> The proper directory would have been community/web2/app, but
> as you note below, there is another issue.
> 
>>> [INFO] Searching repository for plugin with prefix: 'jetty'.
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does 
>>> not exist or no valid version could be found
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> ------------------------------------------------------------------------
>> I wonder if the jetty plugin is now in everyones local repository; and 
>> nobody has notice it go missing from the central repositories?
> 
> Hmmm... most likely. In fact I cannot see it here:
> http://repo2.maven.org/maven2/org/apache/maven/plugins/
> 
> I'm looking into it.

Ok, no, it's just the first issue. By running it from the wrong 
directory maven tries to guess the name of the plugin and comes up with
org.apache.maven.plugins:maven-jetty-plugin

Whilst if you run it from the app directory it works as expected,
looking for org.mortbay.jetty:maven-jetty-plugin, which is still there:
http://repo2.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.8/

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to