> -----Original Message----- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==////== > > From: "Pilgrim, Peter" <[EMAIL PROTECTED]> > > > Being new to Maven and with a copy of the O'Reilly book in front > > me I am looking at the Maven 1.0.2 release, and I am trying > > to convert a Ant project to Maven bit by bit. > > Do you have to maintain the Ant build? Can you move things > around to suit > Maven? It can be pretty painful when you're constrained by > an un-Maven-like > existing project structure.
It is my own sourceforge project at the mo. So I have moved source code around and split out core and unit test just like in the O'Reilly MADN book. I got the ``core'' part to build, compile and run unit tests. The one thing that is very hard is the primary artifact to folder rule that probably stops Maven being accepted in corporations where they already have well defined legacy structures of codebase directories. > > > Does the Struts codebase actually depend on M2 or M1, then? > > Struts is currently using m1, but we'll switch sooner or > later. I got m2 to > build and test Struts Core without too much trouble: > http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsMaven2 > The one thing I see from your pom is that Struts does not follow the src/main/java and src/test/java thing. Will Struts change this? I have also not followed this recommendation. Is it really a bad thing? > No guarantees that it's "right," (and comments are welcome!) > but it did at > least work. Look for some m2 build files to show up in Shale > before too > long. Right after I figure out "profiles." :) > > -- > Wendy Smoak ==////== -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
