-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from apache/Update_to_core2.0.0
Updates to match java core 2.0.0
- Loading branch information
Showing
86 changed files
with
986 additions
and
1,084 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# The default behavior, which overrides 'core.autocrlf', is to use Git's | ||
# built-in heuristics to determine whether a particular file is text or binary. | ||
# Text files are automatically normalized to the user's platforms. | ||
* text=auto | ||
|
||
# Explicitly declare text files that should always be normalized and converted | ||
# to native line endings. | ||
.asf.yaml text | ||
.gitattributes text | ||
.gitignore text | ||
git.properties text | ||
.travis.yml text | ||
LICENSE text | ||
NOTICE text | ||
*.html text | ||
*.java text | ||
*.md text | ||
*.properties text | ||
*.sh text | ||
*.xml text | ||
*.yml text | ||
*.yaml text | ||
|
||
# Declare files that will always have CRLF line endings on checkout. | ||
|
||
# Explicitly denote all files that are truly binary and should not be modified. | ||
*.jpg binary | ||
*.png binary | ||
*.svg binary | ||
|
||
# Declare files that should be ignored when creating an archive of the git repository | ||
.asf.yaml export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
.github/ export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF8"?> | ||
<toolchains> | ||
<toolchain> | ||
<type>jdk</type> | ||
<provides> | ||
<version>8</version> | ||
<vendor>openjdk</vendor> | ||
</provides> | ||
<configuration> | ||
<jdkHome>${JAVA_HOME}</jdkHome> | ||
</configuration> | ||
</toolchain> | ||
</toolchains> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Java Test Coverage with Maven, Coveralls | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [ master ] | ||
|
||
env: | ||
MAVEN_OPTS: -Xmx4g -Xms1g | ||
repo_token: ${{secrets.coveralls_token}} | ||
|
||
jobs: | ||
build: | ||
name: Build, Test, Coverage | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Cache local Maven repository | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: build-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: build-${{ runner.os }}-maven- | ||
|
||
- name: Install JDK | ||
uses: AdoptOpenJDK/install-jdk@v1 | ||
with: | ||
version: '8' | ||
architecture: x64 | ||
impl: hotspot | ||
targets: 'JDK_8;JAVA_HOME' | ||
|
||
- name: Install Dependencies | ||
run: > | ||
mvn clean install -B -V -q | ||
-DskipTests=true | ||
-Dmaven.javadoc.skip=true | ||
-Dgpg.skip=true | ||
--toolchains .github/workflows/.toolchains.xml | ||
- name: Test & Report | ||
if: ${{ success() }} | ||
run: > | ||
mvn verify coveralls:report -B -V -q | ||
-Dcoveralls-repo-token=${repo_token} | ||
-Dmaven.javadoc.skip=true | ||
-Dgpg.skip=true | ||
--toolchains .github/workflows/.toolchains.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.