Thomas D'Silva created PHOENIX-5015: ---------------------------------------
Summary: Pass the https.protocols=TLSv1.2 when compiling with Java 1.7 Key: PHOENIX-5015 URL: https://issues.apache.org/jira/browse/PHOENIX-5015 Project: Phoenix Issue Type: Improvement Reporter: Thomas D'Silva Assignee: Thomas D'Silva When compiling with Java 1.7 you might see an error "Received fatal alert: protocol_version" because of the TLS version ([https://stackoverflow.com/questions/50946420/could-not-transfer-artifact-https-repo-maven-apache-org-maven2-received-fat]). You can get around this by adding {{-Dhttps.protocols=TLSv1.2}} to the {{MAVEN_OPTS}} environment variable. See if we can add this to the pom.xml by setting the {{ <compilerArgs>}} {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <compilerArgs> <arg>-Dhttps.protocols=TLSv1.2</arg> </compilerArgs> <source>1.7</source> <target>1.7</target> </configuration> </plugin> {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)