maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Castro <rober...@cetip.com.br>
Subject RE: How to build subproject from CVS
Date Fri, 09 Jul 2004 13:18:35 GMT
Hi Pascal, my maven configuration works fine generating jar file when java
sources are in local directory. What I'd like to do is to checkout java file
from cvs for each subproject. As soon as each subproject is a different CVS
module, I think I can use "scm:checkout-project". My problem is that, I'm a
little bit confused, in when and how to invoke this plugin to checkout the
files corretly in eack "maven.xml" of each subproject.
I didn't understand some plugin properties too, like
"maven.scm.bootstrap.goals".
	Best regards,

     Roberto de Castro 
     Analista de Suporte 
     Cetip - Desus Rio de Janeiro 
     +55 21 2276-7439 
     mailto:robertoc@cetip.com.br 




-----Mensagem original-----
De: Pascal Thivent [mailto:pascal.thivent@gmail.com]
Enviada em: sexta-feira, 9 de julho de 2004 09:33
Para: Maven Users List
Assunto: Re: How to build subproject from CVS


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
<robertoc@cetip.com.br> 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:robertoc@cetip.com.br
> 
> -----Mensagem original-----
> De: Brett Porter [mailto:brett.porter@gmail.com]
> 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
> <robertoc@cetip.com.br> 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:robertoc@cetip.com.br
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message