Compile erlang sources

By default the compilation goal is bound to the compile phase when the project packaging is defined as erlang-otp.

Information about configuration options see the goal reference documentation.

The following example shows a simple setup:


This all that is required to compile the Erlang sources found in src/main/erlang.

+- src/
  +- main/
    +- erlang/
      +- sample_module.erl

The output beam files will be put into target/ebin.

+- target/
  +- ebin/
    +- sample_module.beam