You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/01 23:12:16 UTC

svn commit: r1332831 - /maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt

Author: hboutemy
Date: Tue May  1 21:12:16 2012
New Revision: 1332831

URL: http://svn.apache.org/viewvc?rev=1332831&view=rev
Log:
documented standalone SCM publish

Modified:
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt

Modified: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt?rev=1332831&r1=1332830&r2=1332831&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt (original)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/site/apt/index.apt Tue May  1 21:12:16 2012
@@ -57,3 +57,15 @@ Maven SCM Publish Plugin
     The <<scmpublish.skipCheckin>> parameter omits the final checkin.
     This allows you to visit <<<target/scmpublish-checkout>>>, and validate
     its contents before submitting to the SCM.
+
+Publishing any content to SCM
+
+    Even without any pom.xml/Maven project, you can update SCM content with
+    a local content:
+
++-------+
+mvn scm-publish:publish-scm -Dscmpublish.pubScmUrl=scm:... -Dscmpublish.content=...
++-------+
+
+    SCM content will be checked-out to a temporary directory, then local content will
+    be applied to the check-out, before it is checked-in back.