Skip to content

Commit

Permalink
Merge branch 'master' into feature/sta-citsci-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenHollmann committed Dec 1, 2022
2 parents d6d60d9 + 6900938 commit a0824d1
Show file tree
Hide file tree
Showing 820 changed files with 14,891 additions and 6,159 deletions.
33 changes: 33 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
time: "04:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: "xml-apis:xml-apis"
versions: ">= 2.a, < 3"
- dependency-name: "org.apache.xmlbeans:xmlbeans"
versions: ">= 4.x"
- dependency-name: "org.springframework:*"
versions: ">= 6.x"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
time: "04:15"
open-pull-requests-limit: 10
target-branch: "maintenance/9.x"
ignore:
- dependency-name: "xml-apis:xml-apis"
versions: ">= 2.a, < 3"
- dependency-name: "org.apache.xmlbeans:xmlbeans"
versions: ">= 4.x"
- dependency-name: "org.springframework:*"
versions: ">= 6.x"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master, 'maintenance/*' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, 'maintenance/*' ]
schedule:
- cron: '40 6 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
45 changes: 45 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Daily Snapshot build

on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
name: Java 11 compile

if: github.repository_owner == '52North'
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- name: Build with Maven
run: mvn -U -B clean install

publish-snapshot-:
needs: build
runs-on: ubuntu-latest

if: github.repository_owner == '52North'
steps:
- uses: actions/checkout@v3
- name: Set up settings.xml for GitHub Packages
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish SNAPSHOT version Maven Central
run: mvn -B --no-transfer-progress deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI on Pull Request

on:
pull_request:
branches:
- develop
workflow_dispatch:


jobs:
build:
strategy:
matrix:
java: [ 11, 17 ]
runs-on: ubuntu-latest
name: Java ${{ matrix.java }} compile

steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -U -B clean install
27 changes: 27 additions & 0 deletions .github/workflows/pull_java_8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI on Pull Request Java 8

on:
pull_request:
branches:
- 'maintenance/*'
workflow_dispatch:


jobs:
build:
strategy:
matrix:
java: [ 8, 11, 17 ]
runs-on: ubuntu-latest
name: Java ${{ matrix.java }} compile

steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -U -B clean install
49 changes: 49 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Java CI on Push

on:
push:
branches:
- master
- develop
workflow_dispatch:

jobs:
build:
strategy:
matrix:
java: [ 11, 17 ]
runs-on: ubuntu-latest
name: Java ${{ matrix.java }} compile

steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -fae -U -B clean install -P check

publish-snapshot:
needs: build
runs-on: ubuntu-latest

if: github.repository_owner == '52North'
steps:
- uses: actions/checkout@v3
- name: Set up settings.xml for GitHub Packages
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish SNAPSHOT version Maven Central
run: mvn -B --no-transfer-progress deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
48 changes: 48 additions & 0 deletions .github/workflows/push_java_8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Java CI on Push Java 8

on:
push:
branches:
- 'maintenance/*'
workflow_dispatch:

jobs:
build:
strategy:
matrix:
java: [ 8, 11, 17 ]
runs-on: ubuntu-latest
name: Java ${{ matrix.java }} compile

steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -fae -U -B clean install -P check

publish-snapshot:
needs: build
runs-on: ubuntu-latest

if: github.repository_owner == '52North'
steps:
- uses: actions/checkout@v3
- name: Set up settings.xml for GitHub Packages
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
cache: 'maven'
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish SNAPSHOT version Maven Central
run: mvn -B --no-transfer-progress deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
9 changes: 9 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# LGTM Settings (https://lgtm.com/)
# For reference, see https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
# or template at https://lgtm.com/static/downloads/lgtm.template.yml

extraction:
java:
index:
# Specify the Java version required to build the project
java_version: 11
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit a0824d1

Please sign in to comment.