Joshi,

Your SCM url is incorrect. 

See http://maven.apache.org/scm/subversion.html

/James

> -----Original Message-----
> From: Harshal Joshi [mailto:[EMAIL PROTECTED] 
> Sent: 05 December 2008 10:01
> To: Maven Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: Maven - build project from SVN
> 
> Stephen,
> 
> Thanks man!!! You understand my requirement correctly, I want 
> to checkout files on local and build it locally but it should 
> automatic process, I don't want to manually checkout files.
> 
> I have gone through what you have suggested and check url 
> also and applied scm stuff in pom file.
> 
> my SCM config is below
>     <scm>
>         <connection>scm:svn://ipaddress/trunk/dev</connection>
> 
> <developerConnection>scm:svn://ipaddress/trunk/dev</developerC
> onnection>
>         <url>svn://ipaddress/trunk/dev</url>
>     </scm>
>       <build>
>         <plugins>
>           <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-scm-plugin</artifactId>
>             <version>1.0</version>
>             <configuration>
>               <username>username</username>
>               <password>password</password>
>             </configuration>
>           </plugin>
>         </plugins>
>     </build>
> 
> but when run mvn scm:bootstrap it throws me error like 
> invalid svn url which is not the case...
> 
> I think I am missing out something so can you pls guide me in 
> tht... I really appreciate your help.
> 
> Thanks,
> HJ
> 
> On Fri, Dec 5, 2008 at 2:10 PM, Stephen Connolly < 
> [EMAIL PROTECTED]> wrote:
> 
> > Hi,
> >
> > AFAIK, there is nothing you can do to avoid the project 
> being checked 
> > out of SVN in order to build it.
> >
> > So ***If I understand your question correctly*** you are 
> looking for a 
> > maven command that will do the checkout for you and then build 
> > locally, do you also want it to tidy up afterwards for you (i.e. 
> > delete the checked out
> > files) leaving the built artifacts in either the local Maven 
> > Repository (if you went for install) or the remote Maven Repository 
> > (if you went for deploy)?
> >
> > The closest I can see for you is:
> >
> > 
> http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.ht
> > ml
> >
> > Though that would still require a pom.xml file to tell 
> Maven what to 
> > check-out and build.
> >
> > With regards to being forced to move to ClearCase... I too am 
> > interested in how well the integration with ClearCase works, 
> > especially w.r.t. the release plugin.
> >
> > I can't help wondering if we are working for the same company... 
> > (quickly checks corporate email directory... many Joshis, no 
> > Harshal)... nope, so my employers are not the only people who drank 
> > the ClearCase kool-aid ;-)
> >
> > -Stephen.
> >
> > 2008/12/5 Harshal Joshi <[EMAIL PROTECTED]>
> >
> > > Hi All,
> > >
> > > We are using SVN for repository for many of our projects, earlier 
> > > for
> > build
> > > I use to get latest from SVN and copy it to my local 
> directory and 
> > > from there I use to build it. Now  I want to build 
> directly from SVN 
> > > without copy project to local directory. So can you 
> please suggest 
> > > me how can we build project which are in SVN? Pls also 
> let me know 
> > > you solution will work on ClearCase also or not as we have to 
> > > migrate to ClearCase.
> > >
> > > I would appriecate your efforts.
> > >
> > > Thanks,
> > > HJ
> > >
> >
> 

*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************

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

Reply via email to