Create javadoc and sources archives of Forge

Avoid compiling the sources copied to dist. javadoc and sources jars should be created only when the release profile is active.