Disable Maven SCM

Moro picture Moro · Nov 17, 2009 · Viewed 13.3k times · Source

Could I disable SCM integration option in Maven? I want it to build a local checked-out project without SCM integration ?

is there some settings or some how??

thanx in advance

Answer

LeChat picture LeChat · Dec 15, 2009

You should check if you're using Buildnumber Maven plugin.

By default and recommended configuration it is set to be invoked on "validate" phase of every build and will fail the build with this message.

If it is the case you have two options:

  1. Disable the use of this plugin (by removing it from POM or moving it into special profile)
  2. Add scm section as described above.

Hope this helps!