I am using Java 6 in IBM Rational Software Architect for WebSphere Eclipse and while maven install getting below error: ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project parent: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install failed: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 (): Failed to read artifact descriptor for org.apache.maven:maven-plugin-api:jar:2.0.6: Could not transfer artifact org.apache:apache:pom:3 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version to https://repo.maven.apache.org/maven2/org/apache/apache/3/apache-3.pom -> [Help 1]
I tried setting VM arguments -Dhttps.protocols=TLSv1.2 and -Djdk.tls.client.protocols=TLSv1.2 but error persists.Hitting https://repo.maven.apache.org/maven2 in browser directly it opens. If I update link to http://repo.maven.apache.org/maven2 i.e. http one it says https is required. Please let me know if anything is missing.