Generate sources and javadoc.

In order to enable the generation, the *release* profile needs to be activated.