want to learn maven-scm? ;-p) try to use existing maven projects like surefire ,maven-scm itself. Learn about their poms then
use scm:checkout to fetch the source) scm:bootstrap to fetch and build. If you problem, post the question ( this time forsure it will be more specific ;-) -D On 4/10/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Hello Vivian, > > My group does not use the scm features of M2. Instead we use "manual" > SVN through either TortoiseSVN on Windows, Subclipse in Eclipse, and > other SVN tools on other platforms. So I can't speak very well to your > scm concerns/needs. > > I know some people in this list are using scm:* and perhaps one of > them will respond with more specific answers to your questions. But > since it has been a full 14hrs since your original email, at this > point, they might not. ;-) Anyways, my point is just that you can get > started with Maven2 without figuring out ALL the details of things > like scm etc since you can always just use external tools to handle > the scm bits. > > So I'd suggest "jumping in with both feet" -- create your new webapp > project using M2, edit the pom to add dependencies, write some > java/test/jsp code, run "mvn test" repeatedly until it all passes, > deploy the package to your J2EE server, etc etc. At some point, you > can worry about adding new dependencies for some new bits of code you > need to include in your project, using Cargo to deploy your package > directly into Tomcat etc, configuring a new plugin or report you > weren't using before, or even add the scm configurations so you can > get rid of your external tools. But these are all things you can > figure out while you're using M2. So I'd just get started with Maven > in a new project and see where it takes you, and plan to do a lot of > learning in the process. > > Also, your email subject "Starting with Maven2" sounds like a newbie > who is just trying to get off the ground with Maven2, and so some > people will probably just pass/delete it right away assuming someone > will just send you a link to the Getting Started pages. We see quite a > few of these emails every week so many people probably just ignored > yours. > > You should send another email with a better subject and more > SCM-specific agenda to get SCM people's response. Leave out all the > webapp, new project etc stuff and just get down to the core SCM issues > you need help with. > > Just my 2 cents... > > Wayne > > On 4/10/06, Vivian Steller <[EMAIL PROTECTED]> wrote: > > Eric Redmond schrieb: > > > http://maven.apache.org/guides/ > > > > > > All sorts of documentation. Start with the first one! > > Yeah, of course started with it, but I could not find any specific hints > > about using scm:*? I just want to manage svn checkouts/commints > > from/into my svn repository (especially using src/main dir as > workingDir).. > > . > > Maybe I'm totally wrong with scm for that purpose? Is there a better > > way, something like "best practice for webapps"? IMHO "webapps" is > > documented very leanly... Sorry for struggling you about that... > > > > Thanks for your help, anyway. > > > > Vivian > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
