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-install-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 50e8961  Refresh the site docs, README and AGENTS.md
50e8961 is described below

commit 50e89618fc5124e2b908f53a7c1b66cfab4550fb
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Nov 21 17:01:00 2026 +0100

    Refresh the site docs, README and AGENTS.md
    
    The FAQ held one answer (use deploy:deploy-file), which usage.md already
    gives; faq.html goes away with the next site publish by maintainer decision.
---
 AGENTS.md                                          | 25 ++++++-
 README.md                                          | 84 ++++------------------
 pom.xml                                            |  2 +-
 src/site/fml/faq.fml                               | 38 ----------
 .../examples/installing-secondary-artifacts.md.vm  |  2 +-
 .../markdown/examples/specific-local-repo.md.vm    |  2 +-
 src/site/markdown/index.md                         |  6 +-
 src/site/markdown/usage.md                         |  5 +-
 src/site/site.xml                                  |  3 +-
 9 files changed, 46 insertions(+), 121 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md
index df16ba5..e24ffda 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -17,7 +17,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Agent Guide for maven-install-plugin
+# Agent guide for maven-install-plugin
 
 This file is read by automated agents (security scanners, code
 analyzers, AI assistants) operating on this repository.
@@ -29,7 +29,28 @@ Security model: [SECURITY.md](./SECURITY.md)
 Agents that scan this repository should consult `SECURITY.md` and the
 threat model it links before reporting issues.
 
-Points at the Apache Maven family umbrella security model.
+## Compatibility
+
+This branch is the 3.x line: it requires Maven 3.9.0 or later and Java 8. Code 
against the Maven 3.9 and Resolver 1.9 APIs only; Maven 4 APIs and code from 
the 4.x branch do not belong here.
+
+- Goal names, parameter names and user properties are public API. Never rename
+  or remove one: `maven.install.skip`, `installAtEnd`, 
`allowIncompleteProjects`,
+  and the `install-file` properties (`file`, `pomFile`, `groupId`, 
`artifactId`,
+  `version`, `packaging`, `classifier`, `sources`, `javadoc`, `generatePom`,
+  `localRepositoryPath`, `extension`).
+- Site pages under `src/site` are deep-linked from outside: do not rename a 
page
+  or change a heading's anchor.
+- Fixes land here first and are forward-ported to `maven-install-plugin-4.x`. 
Known differences between the lines: `installAtEnd`
+  defaults to `false` on 3.x and `true` on 4.x, and the `install-file`
+  `extension` parameter exists only on 3.x.
+
+## Coding
+
+Use test-first programming. Before fixing a bug or implementing a feature,
+write a test that exposes the bug and verify the test fails.
+
+The bytecode floor is Java 8. Before submitting a PR, run `mvn spotless:apply`
+to format the files, then `mvn verify`. Run Spotless with JDK 17 or 21.
 
 ## Tests
 
diff --git a/README.md b/README.md
index fc1df93..232496c 100644
--- a/README.md
+++ b/README.md
@@ -14,81 +14,25 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-Contributing to [Apache Maven Install 
Plugin](https://maven.apache.org/plugins/maven-install-plugin/)
-======================
+# Apache Maven Install Plugin
 
-[![Apache License, Version 2.0, January 
2004](https://img.shields.io/github/license/apache/maven.svg?label=License)][license]
-[![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.maven.plugins/maven-install-plugin.svg?label=Maven%20Central&versionPrefix=3.)](https://search.maven.org/artifact/org.apache.maven.plugins/maven-install-plugin)
-[![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.maven.plugins/maven-install-plugin.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.maven.plugins/maven-install-plugin)
-[![Reproducible 
Builds](https://img.shields.io/badge/Reproducible_Builds-ok-green?labelColor=blue)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugins/maven-install-plugin/README.md)
-[![Jenkins 
Status](https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-install-plugin/job/master.svg?)][build]
-[![Jenkins 
tests](https://img.shields.io/jenkins/t/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-install-plugin/job/master.svg?)][test-results]
+[![Apache License, Version 2.0, January 
2004](https://img.shields.io/github/license/apache/maven.svg?label=License)](https://www.apache.org/licenses/LICENSE-2.0)
+[![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.maven.plugins/maven-install-plugin.svg?label=Maven%20Central&versionPrefix=3.)](https://central.sonatype.com/artifact/org.apache.maven.plugins/maven-install-plugin)
+[![Reproducible 
Builds](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/org/apache/maven/plugins/maven-install-plugin/badge.json)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugins/maven-install-plugin/README.md)
+[![Verify](https://github.com/apache/maven-install-plugin/actions/workflows/maven-verify.yml/badge.svg?branch=master)](https://github.com/apache/maven-install-plugin/actions/workflows/maven-verify.yml)
 
+The Install Plugin copies a project's artifacts into the local Maven 
repository (`install:install`) and installs externally built files there 
(`install:install-file`). User documentation: 
<https://maven.apache.org/plugins/maven-install-plugin/>.
 
-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
-you dig right into the code, there are a few guidelines that we need
-contributors to follow so that we can have a chance of keeping on top of
-things.
+This branch (`master`) is the 3.x line. It requires Maven 3.9.0 or later and 
Java 8. The Maven 4 line lives on 
[`maven-install-plugin-4.x`](https://github.com/apache/maven-install-plugin/tree/maven-install-plugin-4.x).
 
-Getting Started
----------------
+## Build
 
-+ Make sure you have a [GitHub account](https://github.com/signup/free).
-+ If you're planning to implement a new feature, it makes sense to discuss 
your changes 
-  on the [dev list][ml-list] first. 
-  This way you can make sure you're not wasting your time on something that 
isn't 
-  considered to be in Apache Maven's scope.
-+ Submit a ticket for your issue, assuming one does not already exist.
-  + Clearly describe the issue, including steps to reproduce when it is a bug.
-  + Make sure you fill in the earliest version that you know has the issue.
-+ Fork the repository on GitHub.
+```bash
+mvn verify
+```
 
-Making and Submitting Changes
---------------
+Add `-Prun-its` to run the integration tests in `src/it`.
 
-We accept Pull Requests via GitHub. The [developer mailing list][ml-list] is 
the
-main channel of communication for contributors.  
-There are some guidelines which will make applying PRs easier for us:
-+ Create a topic branch from where you want to base your work (this is usually 
the master branch).
-  Push your changes to a topic branch in your fork of the repository.
-+ Make commits of logical units.
-+ Respect the original code style: by using the same [codestyle][code-style],
-  patches should only highlight the actual difference, not being disturbed by 
any formatting issues:
-  + Only use spaces for indentation.
-  + Create minimal diffs - disable on save actions like reformat source code 
or organize imports. 
-    If you feel the source code should be reformatted, create a separate PR 
for this change.
-  + Check for unnecessary whitespace with `git diff --check` before committing.
-+ Make sure you have added the necessary tests (JUnit/IT) for your changes.
-+ Run all the tests with `mvn -Prun-its verify` to assure nothing else was 
accidentally broken.
-+ Submit a pull request to the repository in the Apache organization.
+## Contribute
 
-If you plan to contribute on a regular basis, please consider filing a 
[contributor license agreement][cla].
-
-## Tests
-
-Unit tests are JUnit 5 (Jupiter) and live in `src/test/java`. New test code 
must not add JUnit 4, the vintage engine, Hamcrest, or 
`org.codehaus.plexus.util`; use JDK/Groovy APIs instead. Name tests after the 
behaviour they check, not after JIRA keys.
-
-Integration tests in `src/it` are reserved for behaviour that needs a real 
Maven build: reactor and deferred installation, `-T2` parallel builds, `-f` 
alternate POMs, embedded-POM execution and the `setup-*` support projects. 
Everything a mojo unit test can assert with a mocked session/repository belongs 
in `src/test`. Keep `verify.groovy` scripts in plain `assert` form.
-
-The Maven 4 branch (`maven-install-plugin-4.x`) uses the Maven 4 `@MojoTest` 
harness. Its `ArtifactInstaller` is mocked, so `maven-metadata-local.xml` is 
not written during unit tests; assert the coordinate-derived paths from the 
install request instead of a physical file. The 3.x line's harness writes real 
files. Both branches keep the same IT names and test-case names, but do not 
share API-specific test code: 4.x stays Maven 4 only.
-
-Run `mvn -Prun-its verify` for the full build, or `mvn -o -B test 
spotless:check` for the unit suite and formatting.
-
-Additional Resources
---------------------
-
-+ [Contributing 
patches](https://maven.apache.org/guides/development/guide-maven-development.html#Creating_and_submitting_a_patch)
-+ [Apache Maven Install JIRA project page][jira]
-+ [Contributor License Agreement][cla]
-+ [General GitHub documentation](https://help.github.com/)
-+ [GitHub pull request 
documentation](https://help.github.com/send-pull-requests/)
-+ [Apache Maven Twitter Account](https://twitter.com/ASFMavenProject)
-
-[license]: https://www.apache.org/licenses/LICENSE-2.0
-[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
-[maven-wiki]: https://cwiki.apache.org/confluence/display/MAVEN/Index
-[test-results]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-install-plugin/job/master/lastCompletedBuild/testReport/
-[build]: 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-install-plugin/job/master/
+Report bugs and feature requests in [GitHub 
issues](https://github.com/apache/maven-install-plugin/issues) and send pull 
requests against `master`. Repository conventions for tests, compatibility and 
code style are in [AGENTS.md](AGENTS.md). Report security issues privately as 
described in [SECURITY.md](SECURITY.md).
diff --git a/pom.xml b/pom.xml
index 06b32d9..ded7340 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,7 +52,7 @@
   <scm>
     
<connection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</connection>
     
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</developerConnection>
-    <tag>maven-install-plugin-3.1.3</tag>
+    <tag>HEAD</tag>
     
<url>https://github.com/apache/maven-install-plugin/tree/${project.scm.tag}</url>
   </scm>
   <issueManagement>
diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml
deleted file mode 100644
index e94afa9..0000000
--- a/src/site/fml/faq.fml
+++ /dev/null
@@ -1,38 +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.
--->
-
-
-<faqs xmlns="http://maven.apache.org/FML/1.0.1";
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-  xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 
http://maven.apache.org/xsd/fml-1.0.1.xsd";
-  id="FAQ" title="Frequently Asked Questions">
- <part id="General">
-   <faq id="question">
-     <question>Can I use the <i>install:install-file</i> goal to install 
artifacts to my remote repository?</question>
-     <answer>
-       <p>
-            No. You need to use
-            <a 
href="http://maven.apache.org/plugins/maven-deploy-plugin/";><i>deploy:deploy-file</i></a>
 instead.
-       </p>
-     </answer>
-   </faq>
- </part>
-</faqs>
diff --git a/src/site/markdown/examples/installing-secondary-artifacts.md.vm 
b/src/site/markdown/examples/installing-secondary-artifacts.md.vm
index 659bf29..de5dbd2 100644
--- a/src/site/markdown/examples/installing-secondary-artifacts.md.vm
+++ b/src/site/markdown/examples/installing-secondary-artifacts.md.vm
@@ -28,7 +28,7 @@ under the License.
 
 Sometimes you need to install secondary artifacts after the main artifact has 
been installed in your local repository. To install a secondary artifact you 
need to use the `classifier` parameter to classify the secondary artifact.
 
-Let us assume that you want to install the sources for an old artifact, like 
commons-logging-1.0.3. The [central 
repository](http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/)
 only has the main artifact and a `-javadoc` artifact for that version. Package 
up the sources into a JAR file on your local disk and then run the following 
command:
+Let us assume that you want to install the sources for an old artifact, like 
commons-logging-1.0.3. The [central 
repository](https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.0.3/)
 only has the main artifact and a `-javadoc` artifact for that version. Package 
up the sources into a JAR file on your local disk and then run the following 
command:
 
 ```shell
 mvn ${project.groupId}:${project.artifactId}:${project.version}:install-file  
-Dfile=path-to-commons-logging-sources.jar \
diff --git a/src/site/markdown/examples/specific-local-repo.md.vm 
b/src/site/markdown/examples/specific-local-repo.md.vm
index c7c5a5e..f71e9eb 100644
--- a/src/site/markdown/examples/specific-local-repo.md.vm
+++ b/src/site/markdown/examples/specific-local-repo.md.vm
@@ -27,7 +27,7 @@ under the License.
 
 # Installing an artifact to a specific local repository path
 
-General information about how to copy jars into your local repository can be 
found in the [Guide to installing 3rd party 
JARs](http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html)
+General information about how to copy jars into your local repository can be 
found in the [Guide to installing 3rd party 
JARs](https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html)
 
 By default, the Apache Maven Install Plugin uses the local repository defined 
in the `settings.xml` to install an artifact.
 
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 9828e7d..fdcbd95 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -38,15 +38,15 @@ The Install Plugin has 3 goals:
 - [install:help](./help-mojo.html) displays help information on 
maven-install-plugin.
 ## Important Note for Version 3.0.0+
 
-The [install:install](./install-mojo.html) goal does not support creating 
checksums anymore via `-DcreateChecksum=true` cause this option has been 
removed. Details can be found in 
[MINSTALL-143](https://issues.apache.org/jira/browse/MINSTALL-143).
+The [install:install](./install-mojo.html) goal no longer supports creating 
checksums via `-DcreateChecksum=true`. Details can be found in 
[MINSTALL-143](https://issues.apache.org/jira/browse/MINSTALL-143).
 
 ## Usage
 
 General instructions on how to use the Install Plugin can be found on the 
[usage page](./usage.html). Some more specific use cases are described in the 
examples given below.
 
-In case you still have questions regarding the plugin's usage, please have a 
look at the [FAQ](./faq.html) and feel free to contact the [user mailing 
list](./mailing-lists.html). The posts to the mailing list are archived and 
could already contain the answer to your question as part of an older thread. 
Hence, it is also worth browsing/searching the [mail 
archive](./mailing-lists.html).
+In case you still have questions regarding the plugin's usage, feel free to 
contact the [user mailing list](./mailing-lists.html). The posts to the mailing 
list are archived and could already contain the answer to your question as part 
of an older thread. Hence, it is also worth browsing/searching the [mail 
archive](./mailing-lists.html).
 
-If you feel like the plugin is missing a feature or has a defect, you can fill 
a feature request or bug report in our [issue 
tracker](./issue-management.html). When creating a new issue, please provide a 
comprehensive description of your concern. Especially for fixing bugs it is 
crucial that the developers can reproduce your problem. For this reason, entire 
debug logs, POMs or most preferably little demo projects attached to the issue 
are very much appreciated. Of course, patches are wel [...]
+If you feel like the plugin is missing a feature or has a defect, you can fill 
a feature request or bug report in our [issue 
tracker](./issue-management.html). When creating a new issue, please provide a 
comprehensive description of your concern. Especially for fixing bugs it is 
crucial that the developers can reproduce your problem. For this reason, entire 
debug logs, POMs or most preferably little demo projects attached to the issue 
are very much appreciated. Of course, patches are wel [...]
 
 ## Examples
 
diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md
index 51ce693..ad03294 100644
--- a/src/site/markdown/usage.md
+++ b/src/site/markdown/usage.md
@@ -29,7 +29,7 @@ under the License.
 
 Apache Maven has a two level strategy to resolve and distribute files, which 
we call artifacts. The first level is called the `local repository`, which is 
the artifact cache on your system, by default located at 
`${user.home}/.m2/repository`. When executing Maven, it first looks in this 
local cache for artifacts. If the artifact cannot be found here, Maven will 
access the remote repositories to find the artifact. Once found it will be 
stored into the local repository, so it's available f [...]
 
-With the `maven-install-plugin` you can put your artifacts in the local 
repository. To upload artifacts to a remote repository, you need to use the 
[maven-deploy-plugin](http://maven.apache.org/plugins/maven-deploy-plugin/).
+With the `maven-install-plugin` you can put your artifacts in the local 
repository. To upload artifacts to a remote repository, you need to use the 
[maven-deploy-plugin](https://maven.apache.org/plugins/maven-deploy-plugin/).
 
 ## The `install:install` goal
 
@@ -53,8 +53,7 @@ mvn install:install-file -Dfile=your-artifact-1.0.jar \
                          [-Dversion=1.0] \
                          [-Dpackaging=jar] \
                          [-Dclassifier=sources] \
-                         [-DgeneratePom=true] \
-                         [-DcreateChecksum=true]
+                         [-DgeneratePom=true]
 ```
 
 - the groupId, artifactId, version and packaging of the file to install. These 
can be taken from the specified pomFile, extracted from the pom.xml inside the 
artifact, and overridden or specified using the command line. When the pomFile 
contains a _parent_ section, the parent's groupId can be considered if the 
groupId is not specified further for the current project or on the command line.
diff --git a/src/site/site.xml b/src/site/site.xml
index ffe82ad..b959f40 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -27,9 +27,8 @@ under the License.
       <item name="Introduction" href="index.html"/>
       <item name="Plugin Documentation" href="plugin-info.html"/>
       <item name="Usage" href="usage.html"/>
-      <item name="FAQ" href="faq.html"/>
       <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
-      <item name="License" href="http://www.apache.org/licenses/"/>
+      <item name="License" href="https://www.apache.org/licenses/"/>
       <item name="Download" href="download.html"/>
     </menu>
     <menu name="Examples">

Reply via email to