diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..28ecad0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,60 @@ +# Shell Scripts +*.bat eol=crlf +*.sh eol=lf + +# Sources +*.groovy eol=lf +*.java eol=lf + +# Configuration +*.dtd eol=lf +*.ini eol=lf +*.json eol=lf +*.mod eol=lf +*.properties eol=lf +*.sql eol=lf +*.xsl eol=lf +*.xslt eol=lf +*.xml eol=lf +*.yaml eol=lf +*.yml eol=lf + +# Text / Documentation +*.adoc eol=lf +*.dot eol=lf +*.txt eol=lf +*.TXT eol=lf +*.md eol=lf +*.pdf binary + +# Web +*.gif binary +*.htm eol=lf +*.html eol=lf +*.ico binary +*.jar binary +*.jpg binary +*.jpeg binary +*.js eol=lf +*.jsp eol=lf +*.jspf eol=lf +*.png binary +*.svg eol=lf +*.svgz binary +*.tga binary +*.tif binary +*.tiff binary +*.ttf binary +*.war binary + +# Build Files +Jenkinsfile eol=lf + +# Binaries +*.raw binary +*.gz binary +*.zip binary +*.br binary +*.brotli binary +*.bz2 binary + diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e1d1cc7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..8abd909 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,20 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 365 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 30 +# Issues with these labels will never be considered stale +exemptLabels: + - Pinned + - Security + - Specification + - TCK +# Label to use when marking an issue as stale +staleLabel: Stale +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has been a + full year without activity. It will be closed if no further activity occurs. + Thank you for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: > + This issue has been closed due to it having no activity. diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..fb70462 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,51 @@ +# 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. + +name: GitHub CI + +on: + push: + branches: + - 'master' + - 'main' + pull_request: + +jobs: + build: + + strategy: + matrix: + os: [ubuntu-latest] + java: [11] + jdk: [temurin] + fail-fast: false + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: ${{ matrix.jdk }} + java-version: ${{ matrix.java }} + cache: 'maven' + + - name: Build with Maven + run: mvn install javadoc:javadoc -e -B -V diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..918c60f --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# eclipse +.classpath +.project +.settings +.checkstyle + +# maven +target/ +*/src/main/java/META-INF/ +*.versionsBackup +*.releaseBackup +bin/ + +# common junk +*.log +*.diff +*.patch +*.sw[a-p] +*.bak +*.backup +*.debug +*.dump +.attach_pid* + +# vim +.*.sw[a-p] +*~ +~* + +# intellij / android studio +*.iml +*.ipr +*.iws +.idea/ + +# Mac filesystem dust +.DS_Store + +# pmd +.pmdruleset +.pmd + +# netbeans +/nbproject + +# merge tooling +*.orig + +# test generated content +*/src/test/*/WEB-INF/lib/test*.jar +.flattened-pom.xml + +# reports +reports/