No JavaDoc is released for artifact org.wso2.identity.apps:authentication-portal:2.1.2. Please try other versions.

Owner of the project? Troubleshoot following things: report to us if you tried everything but still doesn't work.