The new documentation about how to build a component in Java is here: https://docs.elastic.io/developer-guide/building-java-component.html