ISPN-5089 Store divisors in a temporary variable to avoid java.lang.ArithmeticException: / by zero
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.