Update `actions/setup-java` to v2.
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 7ebf4eb..deac406 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -39,8 +39,9 @@
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v1.4.3
+ uses: actions/setup-java@v2
with:
+ distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V -Ddoclint=all --file pom.xml --no-transfer-progress
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
new file mode 100644
index 0000000..f5a7dfd
--- /dev/null
+++ b/src/changes/changes.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<document>
+ <properties>
+ <title>Apache Commons BSF Release Notes</title>
+ <author email="dev@commons.apache.org">Apache Commons developers</author>
+ </properties>
+ <body>
+ <release version="2.5.0" date="YYY-MM-DD" description="TBD.">
+ <!-- FIXES -->
+ <!-- ADDS -->
+ <!-- UPDATES -->
+ <action type="update" dev="ggregory" due-to="Gary Gregory">Bump actions/setup-java from v1.4.3 to v2.</action>
+ </release>
+ </body>
+</document>