You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2005/11/23 22:37:27 UTC

svn commit: r348568 - /maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt

Author: carlos
Date: Wed Nov 23 13:37:25 2005
New Revision: 348568

URL: http://svn.apache.org/viewcvs?rev=348568&view=rev
Log:
Added option to upload sources

Modified:
    maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt

Modified: maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt
URL: http://svn.apache.org/viewcvs/maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt?rev=348568&r1=348567&r2=348568&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt (original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-ibiblio-upload.apt Wed Nov 23 13:37:25 2005
@@ -25,6 +25,15 @@
 
  The bundle will be created in your <<<target>>> directory of the form:
  <<<${pom.artifactId}-${pom.currentVersion}-bundle.jar>>>
+ 
+ If you want to include a jar with java sources in your upload (recommended, unless your license doesn't
+ allow sources to be redistributed) the command to run is:
+
++----+
+
+ mvn source:jar repository:bundle-create
+
++----+
 
  If you are not using maven as your build system but want something
  uploaded to Ibiblio then you just need to make a JAR (using the <<<jar>>> executable,
@@ -35,6 +44,7 @@
 LICENSE.txt
 pom.xml
 foo-1.0.jar (or whatever artifact is referred to in the pom.xml)
+foo-1.0-sources.jar (optional, jar containing java sources)
 
 +----+