This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c69cc8  Carry the default-branch settings onto the Maven 3 line
3c69cc8 is described below

commit 3c69cc891fd1d79de466dca7ea2c961863a9a868
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 8 14:49:39 2026 +0100

    Carry the default-branch settings onto the Maven 3 line
---
 .asf.yaml                                          | 47 ++++++++++++++++--
 .asf.yaml => .github/ISSUE_TEMPLATE/BUG.yml        | 58 +++++++++++++---------
 .asf.yaml => .github/ISSUE_TEMPLATE/FEATURE.yml    | 45 ++++++++---------
 .asf.yaml => .github/ISSUE_TEMPLATE/config.yml     | 37 ++++++--------
 .github/dependabot.yml                             | 40 ++++++++-------
 .github/pull_request_template.md                   | 11 ++++
 .github/workflows/pr-automation.yml                |  2 +-
 .../workflows/{pr-automation.yml => pr-check.yml}  | 14 +++---
 .github/workflows/release-drafter.yml              |  2 +-
 README.md                                          |  8 +--
 context7.json                                      | 14 ++++++
 11 files changed, 174 insertions(+), 104 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index be8471c..49c83aa 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -23,14 +23,55 @@ github:
     - build-management
     - maven-plugins
     - maven
+    - hacktoberfest
+  protected_branches:
+    master: { }
+  pull_requests:
+    del_branch_on_merge: true
   enabled_merge_buttons:
     squash: true
     merge: false
     rebase: true
-  autolink_jira:
-    - MPLUGINTESTING
+  features:
+    issues: true
+
 notifications:
   commits: [email protected]
   issues: [email protected]
   pullrequests: [email protected]
-  jira_options: link label comment
+
+# https://releases.apache.org/projects/maven-plugin-testing
+project:
+  metadata:
+    key: maven-plugin-testing
+    committee: maven
+    name: Apache Maven Plugin Testing
+    description: The Maven Plugin Testing contains the necessary modules to be 
able to test Maven Plugins.
+    homepage: https://maven.apache.org/plugin-testing/
+    download_page: https://maven.apache.org/plugin-testing/download.cgi
+    bug_database: https://maven.apache.org/plugin-testing/issue-management.html
+    mailing_lists: https://maven.apache.org/plugin-testing/mailing-lists.html
+    repositories:
+      - https://github.com/apache/maven-plugin-testing
+    categories:
+      - build-management
+    programming_languages:
+      - Java
+    version_method: semver
+    cycle_match: (\d+)\..*
+  policy:
+    announce_release_template_url: 
https://maven.apache.org/atr/templates/announce_release_template.txt
+    start_vote_template_url: 
https://maven.apache.org/atr/templates/start_vote_template.txt
+    finish_vote_template_url: 
https://maven.apache.org/atr/templates/finish_vote_template.txt
+    download_path_suffix: plugin-testing
+    auto_archive_prior_release: true
+    vote_recipients:
+      to: [email protected]
+    announce_recipients:
+      to: [email protected]
+      cc:
+        - [email protected]
+        - [email protected]
+  features:
+    atr_sync: true
+    atr_sync_mode: full
diff --git a/.asf.yaml b/.github/ISSUE_TEMPLATE/BUG.yml
similarity index 53%
copy from .asf.yaml
copy to .github/ISSUE_TEMPLATE/BUG.yml
index be8471c..d49e4ce 100644
--- a/.asf.yaml
+++ b/.github/ISSUE_TEMPLATE/BUG.yml
@@ -1,36 +1,48 @@
-# 
+#
 #  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.
 #
-# see https://s.apache.org/asfyaml
-github:
-  description: "Apache Maven Plugin Testing"
-  homepage: https://maven.apache.org/plugin-testing/
-  labels:
-    - java
-    - build-management
-    - maven-plugins
-    - maven
-  enabled_merge_buttons:
-    squash: true
-    merge: false
-    rebase: true
-  autolink_jira:
-    - MPLUGINTESTING
-notifications:
-  commits: [email protected]
-  issues: [email protected]
-  pullrequests: [email protected]
-  jira_options: link label comment
+
+# 
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
+
+name: Bug Report
+description: File a bug report
+labels: ["bug"]
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report.     
+
+        Simple fixes in single PRs do not require issues. 
+  
+        **Do you use the latest project version?**
+
+  - type: input
+    id: version
+    attributes:
+      label: Affected version
+    validations:
+      required: true
+
+  - type: textarea
+    id: massage
+    attributes:
+      label: Bug description
+    validations:
+      required: true
+
+
diff --git a/.asf.yaml b/.github/ISSUE_TEMPLATE/FEATURE.yml
similarity index 60%
copy from .asf.yaml
copy to .github/ISSUE_TEMPLATE/FEATURE.yml
index be8471c..343183d 100644
--- a/.asf.yaml
+++ b/.github/ISSUE_TEMPLATE/FEATURE.yml
@@ -1,36 +1,35 @@
-# 
+#
 #  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.
 #
-# see https://s.apache.org/asfyaml
-github:
-  description: "Apache Maven Plugin Testing"
-  homepage: https://maven.apache.org/plugin-testing/
-  labels:
-    - java
-    - build-management
-    - maven-plugins
-    - maven
-  enabled_merge_buttons:
-    squash: true
-    merge: false
-    rebase: true
-  autolink_jira:
-    - MPLUGINTESTING
-notifications:
-  commits: [email protected]
-  issues: [email protected]
-  pullrequests: [email protected]
-  jira_options: link label comment
+
+# 
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
+
+name: Feature request
+description: File a proposal for new feature, improvement
+labels: ["enhancement"]
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this new feature, improvement 
proposal.
+
+  - type: textarea
+    id: massage
+    attributes:
+      label: New feature, improvement proposal
+    validations:
+      required: true
diff --git a/.asf.yaml b/.github/ISSUE_TEMPLATE/config.yml
similarity index 61%
copy from .asf.yaml
copy to .github/ISSUE_TEMPLATE/config.yml
index be8471c..ba0544b 100644
--- a/.asf.yaml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,36 +1,27 @@
-# 
+#
 #  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.
 #
-# see https://s.apache.org/asfyaml
-github:
-  description: "Apache Maven Plugin Testing"
-  homepage: https://maven.apache.org/plugin-testing/
-  labels:
-    - java
-    - build-management
-    - maven-plugins
-    - maven
-  enabled_merge_buttons:
-    squash: true
-    merge: false
-    rebase: true
-  autolink_jira:
-    - MPLUGINTESTING
-notifications:
-  commits: [email protected]
-  issues: [email protected]
-  pullrequests: [email protected]
-  jira_options: link label comment
+
+# 
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
+
+blank_issues_enabled: false
+
+contact_links:
+
+  - name: Project Mailing Lists
+    url: https://maven.apache.org/mailing-lists.html
+    about: Please ask a question or discuss here
+
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index ccf1b48..1c3cedd 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,30 +1,32 @@
-# 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
+#
+#  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.
-
+#  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.
+#
 version: 2
 updates:
-  - package-ecosystem: "maven"
+
+  - package-ecosystem: "github-actions"
     directory: "/"
     schedule:
       interval: "daily"
-    ignore:
-      # ignore Maven Core updates
-      - dependency-name: "org.apache.maven:*"
-  - package-ecosystem: "github-actions"
+
+  - package-ecosystem: "maven"
     directory: "/"
     schedule:
       interval: "daily"
+    ignore:
+      # Mockito 5 requires Java 11; the build still runs on JDK 8
+      - dependency-name: "org.mockito:*"
+        versions: [">= 5.0.0"]
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..63948e0
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,11 @@
+
+<!-- Add your description here... what, why and how you resolve the issue -->
+
+---
+
+To make clear that you license your contribution under
+the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
+check one of the following:
+
+- [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
+- [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
diff --git a/.github/workflows/pr-automation.yml 
b/.github/workflows/pr-automation.yml
index 4a377dd..e0a5b28 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-automation.yml
@@ -19,7 +19,7 @@ name: PR Automation
 on:
   push:
     branches:
-      - maven-plugin-testing-3.x
+      - master
 
 jobs:
   pr-automation:
diff --git a/.github/workflows/pr-automation.yml 
b/.github/workflows/pr-check.yml
similarity index 80%
copy from .github/workflows/pr-automation.yml
copy to .github/workflows/pr-check.yml
index 4a377dd..5a958eb 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-check.yml
@@ -15,13 +15,13 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: PR Automation
+name: PR Check
+
 on:
-  push:
-    branches:
-      - maven-plugin-testing-3.x
+  workflow_run:
+    workflows: [PR Signal]
+    types: [completed]
 
 jobs:
-  pr-automation:
-    name: PR Automation
-    uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v5
+  pr-check:
+    uses: apache/maven-gh-actions-shared/.github/workflows/pr-check.yml@v5
diff --git a/.github/workflows/release-drafter.yml 
b/.github/workflows/release-drafter.yml
index 135f088..3180a1a 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -21,7 +21,7 @@ name: Release Drafter
 on:
   push:
     branches:
-      - maven-plugin-testing-3.x
+      - master
   workflow_dispatch:
 
 jobs:
diff --git a/README.md b/README.md
index b8e4323..0078d23 100644
--- a/README.md
+++ b/README.md
@@ -21,8 +21,8 @@ Contributing to [Apache Maven Plugin 
Testing](https://maven.apache.org/plugin-te
 [![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.maven.plugin-testing/maven-plugin-testing-harness?filter=3.*&label=Maven%20Central
 
)](https://search.maven.org/artifact/org.apache.maven.plugin-testing/maven-plugin-testing)
 [![Reproducible 
Builds](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/org/apache/maven/plugin-testing/maven-plugin-testing/badge.json)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugin-testing/maven-plugin-testing/README.md)
-[![Jenkins 
Status](https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/maven-plugin-testing-3.x.svg)][build]
-[![Jenkins 
tests](https://img.shields.io/jenkins/t/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/maven-plugin-testing-3.x.svg)][test-results]
+[![Jenkins 
Status](https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/master.svg)][build]
+[![Jenkins 
tests](https://img.shields.io/jenkins/t/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/master.svg)][test-results]
 
 You have found a bug or you have an idea for a cool new feature? Contributing
 code is a great way to give something back to the open source community. Before
@@ -87,5 +87,5 @@ Additional Resources
 [ml-list]: https://maven.apache.org/mailing-lists.html
 [code-style]: https://maven.apache.org/developers/conventions/code.html
 [cla]: https://www.apache.org/licenses/#clas
-[test-results]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/maven-plugin-testing-3.x/lastCompletedBuild/testReport/
-[build]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/maven-plugin-testing-3.x/
+[test-results]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/master/lastCompletedBuild/testReport/
+[build]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-plugin-testing/job/master/
diff --git a/context7.json b/context7.json
new file mode 100644
index 0000000..579388f
--- /dev/null
+++ b/context7.json
@@ -0,0 +1,14 @@
+{
+  "$schema": "https://context7.com/schema/context7.json";,
+  "projectTitle": "Apache Maven Plugin Testing Harness",
+  "description": "JUnit 5 extension for unit testing Maven 3 plugins: injects 
a configured mojo, a mocked MavenProject and MavenSession into the test.",
+  "folders": [
+    "maven-plugin-testing-harness/src/site/markdown"
+  ],
+  "rules": [
+    "Annotate the test class with @MojoTest and receive the mojo as a test 
method parameter annotated with @InjectMojo(goal = ..., pom = ...).",
+    "AbstractMojoTestCase and MojoRule are deprecated JUnit 3 and 4 APIs; do 
not use them in new tests.",
+    "@InjectMojo applies only the plugin's <configuration> from the POM; the 
injected MavenProject is a Mockito spy, so stub any other project state the 
mojo reads.",
+    "Set single parameters with @MojoParameter(name = ..., value = ...) and 
the project directory with @Basedir."
+  ]
+}

Reply via email to