Hi Ravi,
(could you please keep mail on the public list so others can learn from the experience as well)
Unfortunately you are hitting trunk when it is in a volatile state. We just had a code sprint a few weekends ago, and part of what we did move the web module to a folder called "legacy".
To pick it up we use what is called a "mvn profile". Basically any time you want do a maven command, you need the switch -P legacy to include the old web module.
We are also avtively working on a new web module to take its place, named web2, it lives in teh community folder. To enable it you use the probile "web2".
So, to compile with the old web module:
mvn -P legacy clean install
Where the web module will be found under legacy/web.
Hope that helps. Let me know if you have any more problems. Again my apologies for the state of trunk right now.
-Justin
Ravichandra K.N wrote:
Thanks for your reply.
Now i was able to build successfully. but what next i didn't understand.
let me tell you the steps i followed.
1. created a folder geoserver_dev in c: drive. [i'm using windows].
2. then svn checkout https://svn.codehaus.org/geoserver/trunk/src <http://svn.codehaus.org/geoserver/trunk/src>
i did the check using above url. Inside c:\geoserver_dev. It checked in all the folders as it was shown in the site.
3. mvn install. this time mvn install was Build successful. This commonad executed from c:\geoserver_dev\src.
4. now i'm not able to find the web directory, to start the Jetty:run. i didn't find the /web directory inside my geoserver_dev folder. I was trying to execute the command from the same path. but i was not able to.
Please let me know where i have to find the /web directory. I tried from .m2 repository but i could not find there.
I'm bit confused how to run the jetty. [:(]
Hope you understood my problem.
regards,
Ravi
On Thu, Mar 5, 2009 at 9:12 PM, Justin Deoliveira <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>> wrote:
Hi Ravi,
it is a little out of date but the maven quickstart can be found here:
http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart
It would help if you included the failures you are getting so we can
better comment on what might be wrong.
Another thing to keep in mind is that trunk can be unstable at
times, and it might just be that the build is broken. You can check
this by visiting http://hudson.opengeo.org/hudson/, and noting the
status of "geoserver-trunk". Which at the moment appears to be down 
-Justin
ravichandrakn wrote:
Hi All,
I'm new to this community, I'm trying to Build geoserver using
maven.
the following are the version i'm using.
apache-maven-2.0.10
subversion: svn-1.3.0-setup
After i checkout the geoserver code from svn checkout
https://svn.codehaus.org/geoserver/trunk
i was trying to build using mvn install. Build failure and 8
failures its
showing.
I don't know why it's throwing so may failures.
Can anyone please post the step-by-step procedure to build
geoserver using
maven. The Available reference in geoser.org <http://geoser.org>
is too confusing and didn't
explain properly.
regards,
Ravi.
-- Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Regards,
Ravi,
Integra Micro Systems(P) ltd,
Bangalore-92.
+919845787811
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.