Hi Sowmya.R

Thanks so much for your reply.  I have tried what the code that you sent me
but I get an error.  Below is my pom.xml...

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>wosi</groupId>
  <artifactId>wosi</artifactId>
  <packaging>pom</packaging>
  <version>1.0</version>
  <name>wosi</name>
  <url>http://maven.apache.org</url> 
  
  <scm>    
   
<connection>scm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}</connection>
   
<developerConnection>scm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}</developerConnection>
   
<url>scm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}</url>
  <scm>
  
  <build>

    <plugins>
      <plugin> 
        <groupId>org.apache.maven.plugins</groupId> 
        <artifactId>maven-project-info-reports-plugin</artifactId> 
        <reportSets> 
          <reportSet> 
            <reports> 
              <report>dependencies</report> 
              <report>index</report> 
              <report>project-team</report> 
              <report>dependency-convergence</report> 
              <!-- <report>mailing-list</report> --> 
              <!-- <report>cim</report> --> 
              <!-- <report>issue-tracking</report> --> 
              <report>license</report> 
              <report>summary</report> 
              <report>scm</report> 
            </reports> 
          </reportSet> 
          </reportSets> 
      </plugin> 
      
    </plugins>

  </build>
    
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <modules>
    <module>wosi-domain</module>
    <module>wosi-integration</module>
    <module>wosi-services</module>
    <module>wosi-utils</module>
    <module>wosi-web</module>
  </modules>      
</project>

......and I am using the command specified in your email but I am getting
the following error....

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
--------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [scm:checkout] (aggregator-style)
[INFO]
--------------------------------------------------------------------------
[INFO] [scm:checkout]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot run checkout command :

Embedded error: Can't load the scm provider.
You need to define a connectionUrl parameter
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Mar 27 20:41:41 GMT 2008
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------


.....I would be very grateful if you could give me some pointers here...

Thanks in advance!.


Sowmya.R wrote:
> 
> Hi,
> To checkout the project you have to include scm tag
> 
>  <scm>
>     <connection>scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
> :/yyyy/folder/${mybranch}</connection>
>     <developerConnection>scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
> :/yyyy/folder/${mybranch}</developerConnection>
>     <url>scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
> :/yyyy/folder/${mybranch}</url>
>   </scm>
> 
> give the respective folder information ti checkout.
> 
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-project-info-reports-plugin</artifactId>
>         <reportSets>
>           <reportSet>
>             <reports>
>               <report>dependencies</report>
>               <report>index</report>
>               <report>project-team</report>
>               <report>dependency-convergence</report>
>               <!-- <report>mailing-list</report> -->
>               <!-- <report>cim</report> -->
>               <!-- <report>issue-tracking</report> -->
>               <report>license</report>
>               <report>summary</report>
>               <report>scm</report>
>             </reports>
>           </reportSet>
>           </reportSets>
>       </plugin>
> include this plugin
> 
> run the maven using following command.
> 
> mvn -Dmyname=sssssss  -Dmypass=tttttt -Dmybranch=abcd/xyz  -Dmydir=test
> scm:checkout
> 
> 
> 
> On Thu, Mar 27, 2008 at 6:11 PM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Hello There
>>
>> I am trying to use maven to check out my project from cvs but I haven't
>> been
>> able to get the correct syntax in the pom.xml file in order to do this.
>> Could anyone point me to the right direction!.  Thanks for your help.
>>
>> Sowmya.R wrote:
>> >
>> > Hi Wayne ,
>> > I got where is that problem .
>> > When I am doing the direct checkout from the cvs it is creating
>> > Entries,Root,Repository and Tag documents within CVS folder and that
>> > particular tag is downloading.
>> > But when i am doing with maven it is only creating
>> > the Entries,Root,Repository in CVS folder and by default it is
>> downloading
>> > the HEAD tag project.It is not creating that Tag document in CVS
>> Folder.
>> > example I am having Branch and in that i want checkout
>> september_release.
>> >
>> > I gave the as follows:
>> >
>> > <scm>
>> >    <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</connection>
>> >    <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>> > <tag>september_release</tag>
>> >  <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> > :/istcvs/CVSHOME:xtclients/xtTest</url>
>> >  </scm>
>> >
>> > And I tried for the different combinations. still it is not working.
>> > Please help me out of this issue...  :(
>> >
>> >
>> > Thanks,
>> > Sowmya.R
>> >
>> >
>> > On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >> Hi Wayne Fay,  How to checkout the project through tags name. I am
>> giving
>> >> the folder modules to checkout ,but i want to checkout the
>> >> particular tag .example I am having tags like branch ,Version .In
>> version
>> >> I want to checkout the Regular tag.
>> >>
>> >> I am using
>> >> <scm>
>> >>    <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> :/istcvs/CVSHOME:xtclients/xtTest</connection>
>> >>    <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>> >>    <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> :/istcvs/CVSHOME:xtclients/xtTest</url>
>> >>  </scm>
>> >>
>> >> Now I am giving like this -
>> >>
>> >>  <url>scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
>> >> :/istcvs/CVSHOME:EAI/XT/${mybranch}</url>
>> >>
>> >> But if i give the foldername it is working fine , but if i give
>> >> the particular tag example : xtlients/xttest/Version/PROD_1.1 It is
>> >> giving
>> >> the error
>> >> "cvs checkout: cannot find module"
>> >>
>> >> Please let me know what will be the solution for this issue.
>> >>
>> >> On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> >>
>> >> > You could use:
>> >> > mvn -Dmyname=abc -Dmypass=xyz
>> >> >
>> >> > And then in the pom:
>> >> > ...:pserver:${myname}:[EMAIL PROTECTED]
>> >> >
>> >> > But really, this is not how most people use Maven. Instead you
>> should
>> >> > look at storing these values in settings.xml.
>> >> >
>> >> > Wayne
>> >> >
>> >> > On 3/19/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
>> >> > > Hi Wayne,
>> >> > >
>> >> > > I am trying to do for CVS not with the remote repository.
>> >> > > I am using
>> >> > >  <scm>
>> >> > >    <connection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> > :/istcvs/CVSHOME:xtclients/xtTest</connection>
>> >> > >   
>> <developerConnection>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> > :/istcvs/CVSHOME:xtclients/xtTest</developerConnection>
>> >> > >    <url>scm:cvs:pserver:xxx:[EMAIL PROTECTED]
>> >> > :/istcvs/CVSHOME:xtclients/xtTest</url>
>> >> > >  </scm>
>> >> > >
>> >> > > To connect to cvs.But i want to pass username and password to
>> connect
>> >> > > cvs in command line .Please provide me the information .
>> >> > >
>> >> > > Thanks,
>> >> > > Sowmya.R
>> >> > >
>> >> > > On 3/19/08, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> >> > > > Take a look at the SCM plugin:
>> >> > > >
>> >> >
>> >>
>> http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
>> >> > > >
>> >> > > >  Wayne
>> >> > > >
>> >> > > >
>> >> > > >  On 3/18/08, Sowmya. R <[EMAIL PROTECTED]> wrote:
>> >> > > >  > Hi,
>> >> > > >  >
>> >> > > >  >     I am working on the maven tool for my project ,where I
>> have
>> >> > to
>> >> > > >  > checkout from CVS and I want to ask for CVS user id and
>> password
>> >> > from
>> >> > > >  > the user while checkingout the project.This process I want to
>> do
>> >> > > >  > dynamically to checkout multiple projects.
>> >> > > >  >
>> >> > > >  > I am new  user of maven ,Pleases help me out to resove this
>> >> > issue.
>> >> > > >  >
>> >> > > >  >
>> >> > > >  >
>> >> > > >  > --
>> >> > > >  > Regads,
>> >> > > >  >
>> >> > > >  > Sowmya.R
>> >> > > >  >
>> >> > > >
>> >> > > > >
>> >> >
>> ---------------------------------------------------------------------
>> >> > > >  > 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]
>> >> > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> > > --
>> >> > > Regads,
>> >> > >
>> >> > > Sowmya.R
>> >> > >
>> >> > >
>> ---------------------------------------------------------------------
>> >> > > 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]
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Regads,
>> >>
>> >> Sowmya.R
>> >
>> >
>> >
>> >
>> > --
>> > Regads,
>> >
>> > Sowmya.R
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-checkout-the-Project-from-cvs-in-Maven2.0.7-without-using-eclipse.-tp16136871s177p16324815.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Regads,
> 
> Sowmya.R
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-checkout-the-Project-from-cvs-in-Maven2.0.7-without-using-eclipse.-tp16136871s177p16334150.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to