-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,420 additions
and
84 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,54 @@ | ||
# Declare text files with unix file ending | ||
*.conf text eol=lf | ||
*.config text eol=lf | ||
*.css text eol=lf | ||
*.dtd text eol=lf | ||
*.esp text eol=lf | ||
*.ecma text eol=lf | ||
*.groovy text eol=lf | ||
*.hbrs text eol=lf | ||
*.hbs text eol=lf | ||
*.htm text eol=lf | ||
*.html text eol=lf | ||
*.java text eol=lf | ||
*.jpage text eol=lf | ||
*.js text eol=lf | ||
*.json text eol=lf | ||
*.jsp text eol=lf | ||
*.mustache text eol=lf | ||
*.tld text eol=lf | ||
*.launch text eol=lf | ||
*.log text eol=lf | ||
*.php text eol=lf | ||
*.pl text eol=lf | ||
*.project text eol=lf | ||
*.properties text eol=lf | ||
*.props text eol=lf | ||
*.sass text eol=lf | ||
*.scss text eol=lf | ||
*.sh text eol=lf | ||
*.shtm text eol=lf | ||
*.shtml text eol=lf | ||
*.sql text eol=lf | ||
*.svg text eol=lf | ||
*.txt text eol=lf | ||
*.vm text eol=lf | ||
*.xml text eol=lf | ||
*.xsd text eol=lf | ||
*.xsl text eol=lf | ||
*.xslt text eol=lf | ||
*.yml text eol=lf | ||
*.yaml text eol=lf | ||
|
||
|
||
# Declare windows-specific text files with windows file ending | ||
*.asp text eol=crlf | ||
*.asax text eol=crlf | ||
*.asa text eol=crlf | ||
*.aspx text eol=crlf | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.cs text eol=crlf | ||
*.csproj text eol=crlf | ||
*.reg text eol=crlf | ||
*.sln text eol=crlf |
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,37 @@ | ||
# Build validation | ||
|
||
name: Build | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
- experimental/** | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches-ignore: | ||
- master | ||
- experimental/** | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [11, 17, 21] | ||
os: [ubuntu-latest] | ||
distribution: [temurin] | ||
|
||
steps: | ||
- name: Maven Build with SonarCloud | ||
uses: wcm-io-devops/github-action-maven-build-sonar@v1 | ||
with: | ||
os: ${{ matrix.os }} | ||
java-version: ${{ matrix.java }} | ||
maven-executable: ./mvnw | ||
sonar-run-on-os: ubuntu-latest | ||
sonar-run-on-java-version: 17 | ||
sonar-token: ${{ secrets.SONAR_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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,45 @@ | ||
# Deploy snapshots to Sonatype OSS repository and deploy site to GitHub Pages | ||
|
||
name: Deploy | ||
|
||
concurrency: ${{ github.workflow }} | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure GIT | ||
run: | | ||
git config --global user.email "${{ secrets.GH_SITE_DEPLOY_EMAIL }}" | ||
git config --global user.name "${{ secrets.GH_SITE_DEPLOY_NAME }}" | ||
- name: Setup JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
cache: maven | ||
|
||
- name: Build, verify, deploy, generate site | ||
env: | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean deploy site | ||
|
||
- name: Stage and deploy site | ||
run: > | ||
./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B site:stage scm-publish:publish-scm | ||
-Dscmpublish.checkinComment="Maven site: ${{ github.repository }}" | ||
-Dusername=${{ secrets.GH_SITE_DEPLOY_USERNAME }} | ||
-Dpassword=${{ secrets.GH_SITE_DEPLOY_PAT }} |
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,19 @@ | ||
name: Release from Tag | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
body: 'Changes: https://wcm.io/wcm/ui/clientlibs/changes-report.html' | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,34 @@ | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
maven-eclipse.xml | ||
infinitest.filters | ||
|
||
node_modules/ | ||
npm-debug.log | ||
|
||
.nodejs | ||
.project | ||
.classpath | ||
.settings | ||
.externalToolBuilders | ||
.pmd | ||
.eclipse-pmd | ||
.checkstyle | ||
.idea | ||
.vagrant | ||
*.iml | ||
.DS_Store | ||
*.retry | ||
.rubygems | ||
.sass-cache | ||
.rubygems-gem-maven-plugin | ||
*.sublime-* | ||
*nbactions*.xml | ||
.temp/ | ||
.vlt | ||
.vlt-sync* | ||
.brackets.json |
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,132 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
#%L | ||
wcm.io | ||
%% | ||
Copyright (C) 2014 wcm.io | ||
%% | ||
Licensed 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. | ||
#L% | ||
--> | ||
|
||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
|
||
<profiles> | ||
<profile> | ||
<id>default</id> | ||
|
||
<repositories> | ||
|
||
<repository> | ||
<id>central</id> | ||
<url>https://repo1.maven.org/maven2/</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>true</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
|
||
<repository> | ||
<id>oss-snapshots</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
|
||
<repository> | ||
<id>apache-snapshots</id> | ||
<url>https://repository.apache.org/snapshots</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
|
||
</repositories> | ||
|
||
<pluginRepositories> | ||
|
||
<pluginRepository> | ||
<id>central</id> | ||
<url>https://repo1.maven.org/maven2/</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>true</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</pluginRepository> | ||
|
||
<pluginRepository> | ||
<id>oss-snapshots</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</pluginRepository> | ||
|
||
<pluginRepository> | ||
<id>apache-snapshots</id> | ||
<url>https://repository.apache.org/snapshots</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</pluginRepository> | ||
|
||
</pluginRepositories> | ||
|
||
</profile> | ||
|
||
</profiles> | ||
|
||
<activeProfiles> | ||
<activeProfile>default</activeProfile> | ||
</activeProfiles> | ||
|
||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>${env.SONATYPE_USERNAME}</username> | ||
<password>${env.SONATYPE_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
|
||
</settings> |
Binary file not shown.
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,18 @@ | ||
# 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. | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip | ||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar |
Oops, something went wrong.