Skip to content

fixed duplicated source-plugin execution #285

fixed duplicated source-plugin execution

fixed duplicated source-plugin execution #285

Workflow file for this run

# Copyright (c) 2020 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
name: java-build
on:
push:
paths:
- 'java/**'
- '.github/workflows/maven.yml'
branches:
- master
- release-*
# Enable manually triggering
workflow_dispatch:
# Run build for any PR
pull_request:
paths:
- 'java/**'
- '.github/workflows/maven.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'maven'
- name: build with Maven
working-directory: java
run: mvn verify javadoc:jar source:jar --batch-mode --errors --quiet -DcreateJavadoc=true --file pom.xml --settings .maven.settings.xml