Author: bentmann
Date: Sat Jul 17 14:11:18 2010
New Revision: 965083
URL: http://svn.apache.org/viewvc?rev=965083&view=rev
Log:
o Updated documentation
Modified:
maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt
Modified:
maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt
URL:
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/mini/guide-central-repository-upload.apt?rev=965083&r1=965082&r2=965083&view=diff
==============================================================================
---
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 {{{http://jira.codehaus.org/browse/MREPOSITORY-11}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
({{{http://jira.codehaus.org/browse/MREPOSITORY-11}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: