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

Reply via email to