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

sseifert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 5decfcb  SLING-13031 Fix Maven Site (#26)
5decfcb is described below

commit 5decfcb98810944d8c3471ba6c2bf55ffffb293a
Author: Konrad Windszus <[email protected]>
AuthorDate: Fri Jan 9 12:03:01 2026 +0100

    SLING-13031 Fix Maven Site (#26)
    
    Linkout to javadoc from plugin doc
    Migrate to Site Descriptor 2.0
---
 pom.xml                                               | 19 ++++++-------------
 .../sling/maven/feature/launcher/StartMojo.java       |  2 +-
 src/site/markdown/index.md                            |  2 +-
 src/site/site.xml                                     |  6 +++---
 4 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index 558bcb5..5708c9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>62</version>
+        <version>65</version>
         <relativePath />
     </parent>
 
@@ -40,7 +40,7 @@
         
<connection>scm:git:https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git</connection>
         
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git</developerConnection>
         <tag>HEAD</tag>
-        
<url>https://github.com/apache/sling-feature-launcher-maven-plugin</url>
+        
<url>https://github.com/apache/sling-feature-launcher-maven-plugin/tree/${project.scm.tag}</url>
     </scm>
 
     <properties>
@@ -48,8 +48,7 @@
         <maven.version>3.8.1</maven.version>
         
<project.build.outputTimestamp>1763999337</project.build.outputTimestamp>
         
<github.project.id>apache/sling-feature-launcher-maven-plugin</github.project.id>
-        <maven.compiler.target>${sling.java.version}</maven.compiler.target>
-        <!-- also set target next to release due to 
https://issues.apache.org/jira/browse/MPLUGIN-404 -->
+        <version.maven-plugin-tools>3.15.2</version.maven-plugin-tools>
     </properties>
 
     <dependencies>
@@ -74,6 +73,7 @@
         <dependency>
             <groupId>org.apache.maven.plugin-tools</groupId>
             <artifactId>maven-plugin-annotations</artifactId>
+            <version>3.15.2</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
@@ -127,6 +127,7 @@
                 <artifactId>maven-plugin-plugin</artifactId>
                 <configuration>
                     
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+                    <internalJavadocBaseUrl>./apidocs/</internalJavadocBaseUrl>
                 </configuration>
                 <executions>
                     <execution>
@@ -156,10 +157,6 @@
                     
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
                     <settingsFile>src/it/settings.xml</settingsFile>
                     <streamLogsOnFailures>true</streamLogsOnFailures>
-                    <goals>
-                        <goal>clean</goal>
-                        <goal>verify</goal>
-                    </goals>
                 </configuration>
                 <executions>
                     <execution>
@@ -179,15 +176,11 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-plugin-plugin</artifactId>
+                <artifactId>maven-plugin-report-plugin</artifactId>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <!-- No javadocs -->
-                    <excludePackageNames>org.apache.sling</excludePackageNames>
-                </configuration>
             </plugin>
         </plugins>
     </reporting>
diff --git 
a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java 
b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
index 26a7c41..f3be1ca 100644
--- a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
+++ b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
@@ -101,7 +101,7 @@ public class StartMojo extends AbstractMojo {
      *   ..
      * </launcherArguments>
      * <repositoryUrls>
-     *    
<repositoryUrl>file://${project.build.directory}/artifacts</repositoryUrl>
+     *    <repositoryUrl>file://.../artifacts</repositoryUrl>
      *    <repositoryUrl>https://repo1.maven.org/maven2/</repositoryUrl>
      * </repositoryUrls>
      * <environmentVariables><!--additional environment variables to pass to 
the launcher -->
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index f26d253..92335a8 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -6,7 +6,7 @@ It leverages the [Sling Feature 
Launcher](https://github.com/apache/sling-org-ap
 
 ## Example Usage
 
-```
+```xml
 <plugin>
     <groupId>org.apache.sling</groupId>
     <artifactId>feature-launcher-maven-plugin</artifactId>
diff --git a/src/site/site.xml b/src/site/site.xml
index ed0c80c..39b9e50 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -18,8 +18,8 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
-
-<project>
+<site xmlns="http://maven.apache.org/SITE/2.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+      xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 
https://maven.apache.org/xsd/site-2.0.0.xsd";>
   <body>
     <menu name="Overview">
       <item name="Introduction" href="index.html"/>
@@ -27,4 +27,4 @@ under the License.
     </menu>
     <menu ref="reports"/>
   </body>
-</project>
+</site>

Reply via email to