Here you go:

http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/


----- Original Message ----- From: "Jens Riboe" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Thursday, June 01, 2006 3:11 PM
Subject: RE: [m2] buildnumber-plugin


org.codehaus.mojo:maven-buildnumber-plugin
I couldn't find it at codehaus (http://mojo.codehaus.org/). Do you know where I can get more info about it?
/Jens


-----Original Message-----
From: Christian Wiesing [mailto:[EMAIL PROTECTED] Sent: 01 June 2006 14:43
To: Maven Users List
Subject: Re: [m2] buildnumber-plugin

Thanks.

It works great.

Thorsten Heit schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Christian,

i have a problem with the buildnumber-plugin. When i execute "mvn
buildnumber:create" I get the following error:

[INFO]

------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]

------------------------------------------------------------------------
[INFO] An error has occurred while checking scm status.

Embedded error: Can't load the scm provider.
The scm url cannot be null.
[INFO]

------------------------------------------------------------------------

I had the same problem and fixed it by using the following plugin
configuration:

<build>
  <plugins>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>maven-buildnumber-plugin</artifactId>
      <version>0.9.2-SNAPSHOT</version>
      <configuration>
        <format>{0,number}</format>
        <items>
          <item>buildNumber0</item>
        </items>
      </configuration>
      <executions>
        <execution>
          <goals>
            <goal>create</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  ...
</build>


HTH

Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEft7NQvObkgCcDe0RAlv/AKDdULFWUU4Yk+WpXcD1KvHSaSQMZQCgvZm8
w8QOUyU9aQmXb/G0MgnHzwA=
=IrRP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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]


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

Reply via email to