This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new e500a07 Cleanup main branch
e500a07 is described below
commit e500a07b63605120e21aad69855d523f35af71da
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Tue Nov 23 19:30:14 2021 +0100
Cleanup main branch
- shared workflows should be only in v* branches
---
.github/workflows/maven-verify-with-its-test.yml | 26 -----
.github/workflows/maven-verify-with-its.yml | 134 -----------------------
pom.xml | 54 ---------
3 files changed, 214 deletions(-)
diff --git a/.github/workflows/maven-verify-with-its-test.yml
b/.github/workflows/maven-verify-with-its-test.yml
deleted file mode 100644
index d3833be..0000000
--- a/.github/workflows/maven-verify-with-its-test.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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: Verify
-
-on: push
-
-jobs:
- build:
- name: Verify
- # for testing purpose you can change to your fork and branch
- uses:
apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main
diff --git a/.github/workflows/maven-verify-with-its.yml
b/.github/workflows/maven-verify-with-its.yml
deleted file mode 100644
index e6e147e..0000000
--- a/.github/workflows/maven-verify-with-its.yml
+++ /dev/null
@@ -1,134 +0,0 @@
-# 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: Verify
-
-on:
- workflow_call:
- inputs:
- maven_args:
- description: The arguments to pass to Maven when building the code
- required: false
- default: -P run-its -D"invoker.streamLogsOnFailures"
- type: string
-
- os-matrix:
- description: 'os matrix as json array'
- required: false
- default: '[ "ubuntu-latest", "windows-latest", "macOS-latest" ]'
- type: string
-
- jdk-matrix:
- description: 'jdk matrix as json array'
- required: false
- default: '[ "8", "11", "17" ]'
- type: string
-
- matrix-exclude:
- description: 'exclude for matrix as json'
- required: false
- default: '[]'
- type: string
-
- jdk-distribution-matrix:
- description: "jdk distribution matrix"
- required: false
- default: '[ "temurin" ]'
- type: string
-
- # fail fast job setup
- ff-os:
- description: The os used during fail-fast-build job
- required: false
- default: 'ubuntu-latest'
- type: string
-
- ff-jdk:
- description: The jdk version used during fail-fast-build job
- required: false
- default: '8'
- type: string
-
- ff-jdk-distribution:
- description: The jdk distribution used during fail-fast-build job
- required: false
- default: 'temurin'
- type: string
-
-jobs:
-
- # verify build on one node - before matrix will start
- fail-fast-build:
- name: ${{ inputs.ff-os }} jdk-${{ inputs.ff-jdk }}-${{
inputs.ff-jdk-distribution }}
- runs-on: ${{ inputs.ff-os }}
-
- steps:
- - name: Checkout
- uses: actions/[email protected]
-
- - name: Set up JDK
- uses: actions/[email protected]
- with:
- java-version: ${{ inputs.ff-jdk }}
- distribution: ${{ inputs.ff-jdk-distribution }}
- cache: 'maven'
-
- - name: Build with Maven
- run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }}
verify
-
- verify:
- needs: fail-fast-build
- name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
-
- runs-on: ${{ matrix.os }}
-
- strategy:
- fail-fast: true
- matrix:
- os: ${{ fromJSON( inputs.os-matrix ) }}
- jdk: ${{ fromJSON( inputs.jdk-matrix ) }}
- distribution: ${{ fromJSON( inputs.jdk-distribution-matrix ) }}
- exclude: ${{ fromJSON( inputs.matrix-exclude ) }}
-
- steps:
- - name: Should run
- id: should-run
- if: >
- matrix.os != inputs.ff-os ||
- matrix.jdk != inputs.ff-jdk ||
- matrix.distribution != inputs.ff-jdk-distribution
- run: echo ok
-
- - name: Checkout
- if: steps.should-run.conclusion == 'success'
- uses: actions/[email protected]
-
- - name: Set up JDK
- if: steps.should-run.conclusion == 'success'
- uses: actions/[email protected]
- with:
- java-version: ${{ matrix.jdk }}
- distribution: ${{ matrix.distribution }}
- cache: 'maven'
-
- - name: Build with Maven
- if: steps.should-run.conclusion == 'success'
- run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }}
verify
-
- - name: Build Maven Site
- if: steps.should-run.conclusion == 'success'
- run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }}
site
diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index 454cc8e..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ 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.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>maven-parent</artifactId>
- <groupId>org.apache.maven</groupId>
- <version>34</version>
- <relativePath/>
- </parent>
-
- <groupId>test</groupId>
- <artifactId>test</artifactId>
- <version>1.0.0-SNAPSHOT</version>
-
- <description>Simple pom for testing</description>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-help-plugin</artifactId>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>system</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>