Hi,
We need to incoporate build numbers into our codebase and so started looking
at the buildnumberr plugin. It looks great and works fine if we configure it
to spit out an incremental number like so:
      <configuration>
        <doCheck>false</doCheck>
        <doUpdate>false</doUpdate>
         <format>{0,number}</format>
         <items>
           <item>buildNumber0</item>
         </items>        
      </configuration>

However, for the real thing we want it to integrate with Subversion. We are
using Subclipse for our SVN client.

To do so, we are not able to configure buildnumber to use our scm.
Specifically, the instructions here:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
do NOT state what exactly is the scm configuration that needs to be set in
the POM.

Our Subversion repository is installed on  a network drive.

I looked here 
http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versioning_-_Best_Practices
and tried the following in the POM:

 <scm>
  <connection>file:///X:/repos</connection>
  <developerConnection>file:///X:/repos</developerConnection>
  <url>file:///X:/repos</url>
 </scm>

but that did not help either.

I continue to get:
[INFO] --------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------
[INFO] Cannot get the revision information from the scm repository :
Can't load the scm provider.

The scm url cannot be null.



So what am I doing wrong? How do I integrate with Subversion using Subclipse
as the SVN client?

Thanks in advance,

Pankaj


-- 
View this message in context: 
http://www.nabble.com/Configure-buildnumber-and-Subversion-Subclipse-tf3492563s177.html#a9754262
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