This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch pr/master/javadoc-packages in repository https://gitbox.apache.org/repos/asf/maven.git
commit a73a21a06679a49b12e451c1f28aa538d1d9bc97 Author: Hervé Boutemy <[email protected]> AuthorDate: Sun Nov 16 23:51:08 2025 +0100 fix javadoc group packages --- .../maven/api/plugin/annotations/package-info.java | 6 ++++- .../maven/api/plugin/annotations/package-info.java | 27 ---------------------- pom.xml | 10 +++++--- src/site/xdoc/index.xml | 6 +++-- 4 files changed, 16 insertions(+), 33 deletions(-) diff --git a/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java b/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java index 14d2c7a2ef..28a7936fed 100644 --- a/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java +++ b/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java @@ -18,6 +18,10 @@ */ /** - * Maven Plugin Annotations. + * Provides annotations for Maven plugin development, including mojo configuration, + * parameter definitions, and lifecycle bindings. These annotations are used to + * generate plugin descriptors and configure plugin behavior. + * + * @since 4.0.0 */ package org.apache.maven.api.plugin.annotations; diff --git a/api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java b/api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java deleted file mode 100644 index 28a7936fed..0000000000 --- a/api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java +++ /dev/null @@ -1,27 +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. - */ - -/** - * Provides annotations for Maven plugin development, including mojo configuration, - * parameter definitions, and lifecycle bindings. These annotations are used to - * generate plugin descriptors and configure plugin behavior. - * - * @since 4.0.0 - */ -package org.apache.maven.api.plugin.annotations; diff --git a/pom.xml b/pom.xml index 13f7f20c3d..f0f4ea2776 100644 --- a/pom.xml +++ b/pom.xml @@ -1138,9 +1138,13 @@ under the License. </tag> </tags> <groups> + <group> + <title>Maven 4 API - CLI</title> + <packages>org.apache.maven.api.cli*</packages> + </group> <group> <title>Maven 4 API - Core</title> - <packages>org.apache.maven.api*</packages> + <packages>org.apache.maven.api:org.apache.maven.api.cache:org.apache.maven.api.feature:org.apache.maven.api.plugin:org.apache.maven.api.plugin.annotations:org.apache.maven.api.services:org.apache.maven.api.services.xml</packages> </group> <group> <title>Maven 4 API - Plugin</title> @@ -1159,12 +1163,12 @@ under the License. <packages>org.apache.maven.api.toolchain</packages> </group> <group> - <title>Maven 4 API - Meta</title> + <title>Maven 4 API - Annotations</title> <packages>org.apache.maven.api.annotations</packages> </group> <group> <title>Maven 4 API - DI</title> - <packages>org.apache.maven.api.di</packages> + <packages>org.apache.maven.api.di:org.apache.maven.di.tool</packages> </group> <group> <title>Maven 4 API - Metadata</title> diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 58bac2eeb9..29adacad5b 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -31,10 +31,12 @@ under the License. <section name="Apache Maven 4.x"> <p>Maven is a project development management and - comprehension tool. Based on the concept of a project object model: + comprehension tool.</p> + <p> Based on the concept of a project object model: builds, dependency management, documentation creation, site publication, and distribution publication are all controlled from - <a href="./maven-model/maven.html">the <code>pom.xml</code> declarative file</a>. Maven can be extended by + <a href="./api/maven-api-model/maven.html">the <code>pom.xml</code> declarative file</a>.</p> + <p>Maven can be extended by <a href="https://maven.apache.org/plugins/">plugins</a> to utilise a number of other development tools for reporting or the build process.</p>
