You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2023/07/10 10:38:32 UTC

[sling-feature-launcher-maven-plugin] branch master updated: SLING-11945 - Document the new repositoryUrls launch parameter (#15)

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

rombert 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 583da80  SLING-11945 - Document the new repositoryUrls launch parameter (#15)
583da80 is described below

commit 583da807b9088a27ab205b9d3e34c4091d988621
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Jul 10 12:38:28 2023 +0200

    SLING-11945 - Document the new repositoryUrls launch parameter (#15)
    
    Document default values for the repository URLs
---
 .../org/apache/sling/maven/feature/launcher/StartMojo.java   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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 6350c9e..dc18b84 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
@@ -93,10 +93,22 @@ public class StartMojo extends AbstractMojo {
      *   </framweworkProperties>
      *   ..
      * </launcherArguments>
+     * <repositoryUrls>
+     *    <repositoryUrl>file://${project.build.directory}/artifacts</repositoryUrl>
+     *    <repositoryUrl>https://repo1.maven.org/maven2/</repositoryUrl>
+     * </repositoryUrls>
      * <environmentVariables><!--additional environment variables to pass to the launcher -->
      *  <JAVA_HOME>...</JAVA_HOME>
      * </environmentVariables>}
      * </pre>
+     * 
+     * <p>The repository URLs replace the default values set by the Feature Launcher. These default values are:
+     * <ul>
+     *   <li>The local Maven repository at $HOME/.m2/repository</li>
+     *   <li>The Maven Central repository</li>
+     *   <li>The Apache Snapshots repository</li>
+     * </ul>
+     * </p>
      */
     @Parameter(required = true)
     private List<Launch> launches;