maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] olamy closed pull request #38: wagon-scm documentation update
Date Sun, 18 Mar 2018 23:29:53 GMT
olamy closed pull request #38: wagon-scm documentation update
URL: https://github.com/apache/maven-wagon/pull/38
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/wagon-providers/wagon-scm/src/site/apt/usage.apt.vm b/wagon-providers/wagon-scm/src/site/apt/usage.apt.vm
index 22e4a78d..81dba9f8 100644
--- a/wagon-providers/wagon-scm/src/site/apt/usage.apt.vm
+++ b/wagon-providers/wagon-scm/src/site/apt/usage.apt.vm
@@ -161,6 +161,34 @@ Deploying your Maven site to SCM
       <url>scm:git:ssh://git@github.com/myuser/myproject.git</url>
     </site>
   </distributionManagement>
+  <!-- if the extension mecanism do not work, use plugin dependency instead -->
+  <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>${maven-site-plugin.version}</version>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.maven.doxia</groupId>
+                <artifactId>doxia-module-markdown</artifactId>
+                <version>${mavenScmVersion}</version>
+               </dependency>
+            <dependency>
+                <groupId>org.apache.maven.scm</groupId>
+                <artifactId>maven-scm-provider-gitexe</artifactId>
+                <version>${mavenScmVersion}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-scm</artifactId>
+                <version>${mavenScmVersion}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.maven.scm</groupId>
+                <artifactId>maven-scm-manager-plexus</artifactId>
+                <version>${mavenScmVersion}</version>
+            </dependency>
+        </dependencies>
+  </plugin>
 ------
 
  And in your settings.xml file:
@@ -169,8 +197,10 @@ Deploying your Maven site to SCM
   <server>
     <id>my.git.server</id>
     <username>git</username>
-    <scmVersionType>branch</scmVersionType>
-    <scmVersion>gh-pages</scmVersion>
+    <configuration>
+        <scmVersionType>branch</scmVersionType>
+        <scmVersion>gh-pages</scmVersion>
+    </configuration>
   </server>
 ------
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message