Skip to content

Commit 836ee67

Browse files
authored
add some ghaction, dependabot and release drafter (#4)
* add some ghaction, dependabot and release drafter Signed-off-by: Olivier Lamy <olamy@apache.org> * add temurin jdk Signed-off-by: Olivier Lamy <olamy@apache.org> * fix javadoc Signed-off-by: Olivier Lamy <olamy@apache.org> * fix setup-java version Signed-off-by: Olivier Lamy <olamy@apache.org> * no need of adopt-openj9 Signed-off-by: Olivier Lamy <olamy@apache.org>
1 parent 76ae5ee commit 836ee67

File tree

5 files changed

+72
-3
lines changed

5 files changed

+72
-3
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/release-drafter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_extends: .github
2+
tag-template: plexus-interactivity-$NEXT_MINOR_VERSION

.github/workflows/maven.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: GitHub CI
19+
20+
on: [push, pull_request]
21+
22+
jobs:
23+
build:
24+
25+
strategy:
26+
matrix:
27+
os: [ubuntu-latest,windows-latest, macOS-latest]
28+
java: [8, 11, 17]
29+
jdk: [adopt-hotspot, zulu, temurin]
30+
fail-fast: false
31+
32+
runs-on: ${{ matrix.os }}
33+
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v2
37+
- name: Set up JDK
38+
uses: actions/setup-java@v2.3.0
39+
with:
40+
cache: 'maven'
41+
distribution: ${{ matrix.jdk }}
42+
java-version: ${{ matrix.java }}
43+
44+
- name: Build with Maven
45+
run: mvn install javadoc:javadoc -e -B -V

.github/workflows/release-drafter.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Release Drafter
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
update_release_draft:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: release-drafter/release-drafter@v5.15.0
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/InputHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
/**
3131
* Manage user input from different sources.
3232
*
33-
* @todo should this also echo any prompts before the input?
34-
* @todo should this validate the input, reprompt if required?
35-
* @todo readBoolean, readInt, readSingleChar - readLine's that parse the input
33+
* TODO should this also echo any prompts before the input?
34+
* TODO should this validate the input, reprompt if required?
35+
* TODO readBoolean, readInt, readSingleChar - readLine's that parse the input
3636
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
3737
* @version $Id$
3838
*/

0 commit comments

Comments
 (0)