version: 1.0.{build}
skip_tags: true
max_jobs: 1
environment:
    matrix:
        - JAVA_HOME: C:\Program Files\Java\jdk1.7.0
install:
  - ps: choco install maven
  - mvn --version
build_script:
  - mvn package
test_script:
  - mvn test
cache:
  - C:\Users\appveyor\.m2

version: 1.0.{build}
skip_tags: true
max_jobs: 1
environment:
    matrix:
        - JAVA_HOME: C:\Program Files\Java\jdk1.7.0
install:
  - ps: choco install maven
  - mvn --version
build_script:
  - mvn -Dhttps.protocols=TLSv1.2 package
test_script:
  - mvn -Dhttps.protocols=TLSv1.2 test
cache:
  - C:\Users\appveyor\.m2

Add https protocols to build/test scripts
Add https protocols to build/test scripts

This should fix the error:

```
Could not transfer artifact
org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to
central (https://repo.maven.apache.org/maven2):
Received fatal alert: protocol_version"
```

Inspired by https://stackoverflow.com/a/50924208/5019386
