maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r965083 - /maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt
Date Sat, 17 Jul 2010 14:11:19 GMT
Author: bentmann
Date: Sat Jul 17 14:11:18 2010
New Revision: 965083

o Updated documentation


Modified: maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt
--- maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt (original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt Sat Jul
17 14:11:18 2010
@@ -195,18 +195,19 @@ mvn repository:bundle-create
  The bundle will be created in your <<<target>>> directory with the name:
- <<<$\{pom.artifactId\}-$\{pom.currentVersion\}-bundle.jar>>>
+ <<<$\{project.artifactId\}-$\{project.version\}-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:
- <<Note:>> due to {{{}a bug}} in
<<<repository:bundle-create>>> you will need to <<manually add the
javadoc jar>> to the bundle jar, using zip or any other compression program.
 mvn source:jar javadoc:jar repository:bundle-create
+ <<Note:>> Plugin versions before 2.1 suffer from a bug ({{{}MREPOSITORY-11}})
+ in <<<repository:bundle-create>>> that required manual addition of the
javadoc jar to the bundle jar, so be sure to
+ use a recent version of the plugin.
  If you are not using Maven as your build system, and want something
  uploaded to the Central Repository then you just need to make a bundle jar manually. Please
use the <<<jar>>> executable,
  not <<<zip>>>, <<<pkzip>>> or equivalent. The bundle
should have the following content:

View raw message