Hi, I think you should use a Continuous Integration solution like Anthill or Cruise Control to achieve this task.
-- Pascal On Fri, 9 Jul 2004 09:06:36 -0300 , Roberto Castro <[EMAIL PROTECTED]> wrote: > Hi, Brett. My main project doesn't generate anything, it starts the > subprojects only. In fact, the hole project is a group of 4 subprojects. > Four jar files that are Weblogic startup classes. Each subproject is a > different module in CVS. > What I'm trying to do in each subproject "maven.xml" file, is to checkout > java codes from CVS before compile the code. Because of that, I've entered > this statement (<pregoal name="java:compile">), to force checking out files > before invoking the compilation. > Is it clear now? > Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > -----Mensagem original----- > De: Brett Porter [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 8 de julho de 2004 20:08 > Para: Maven Users List > Assunto: Re: How to build subproject from CVS > > I can't see what you are trying to achive. At which point in the build > of the main project do you want to build the subproject? > > What you are attempting in maven.xml above is "before you compile the > current project, checkout the subproject and do nothing with it." > > - Brett > > On Thu, 8 Jul 2004 18:03:05 -0300 , Roberto Castro > <[EMAIL PROTECTED]> wrote: > > Hello all, I've been trying to build a subproject of my system checking > out > > source codes from CVS. > > This is the properties of the subproject: > > maven.scm.method=cvs > > maven.scm.cvs.root=${pom.repository.cvsRoot} > > maven.scm.checkout.dir=${basedir}/checkouts > > maven.scm.cvs.rsh=ssh > > maven.scm.check.tagged=false > > maven.scm.bootstrap.goals=goal > > maven.scm.cvs.module=spbmessageX > > > > And, this is mavel.xml: > > <?xml version="1.0" encoding="iso-8859-1"?> > > <project> > > <pregoal name="java:compile"> > > <attainGoal name="scm:checkout-project"/> > > </pregoal> > > </project> > > > > I run mavem this way: maven multiproject:install -Dmm.tag.version=2.0 > > -Dmm.spbmessage.domain=CETIP -X > > > > But I've been facing a problem discribed in the log file attached. > > I couldn't understand the purpose of the property: > maven.scm.bootstrap.goals > > Could anyone help me in this task? > > Thanks in advance, > > <<logMaven.txt>> > > > > Roberto de Castro > > Analista de Suporte > > Cetip - Desus Rio de Janeiro > > +55 21 2276-7439 > > mailto:[EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
