Skip to content

Commit

Permalink
git + github configs
Browse files Browse the repository at this point in the history
  • Loading branch information
joakime committed Oct 25, 2023
1 parent 6cfbfc5 commit b5c7e52
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
20 changes: 20 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -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.
51 changes: 51 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit b5c7e52

Please sign in to comment.