jvanzyl 2004/05/09 17:06:47
Modified: xdocs Tag: MAVEN-1_0-BRANCH repository-upload.xml
Log:
o repo upload info
Revision Changes Path
No revision
No revision
1.7.4.4 +21 -44 maven/xdocs/repository-upload.xml
Index: repository-upload.xml
===================================================================
RCS file: /home/cvs/maven/xdocs/repository-upload.xml,v
retrieving revision 1.7.4.3
retrieving revision 1.7.4.4
diff -u -r1.7.4.3 -r1.7.4.4
--- repository-upload.xml 30 Apr 2004 09:10:33 -0000 1.7.4.3
+++ repository-upload.xml 10 May 2004 00:06:47 -0000 1.7.4.4
@@ -35,50 +35,33 @@
</p>
</section>
- <section name="Step 1. Resource Template - Mandatory!">
+ <section name="Step 1. Create an upload bundle">
<p>
- All dependencies require a project file such that Maven can
- locate and handle meta-information for them.
+ Use the repository plugin provided with the standard Maven
+ distribution to create an upload bundle:
</p>
-
- <p>
- <b>
- You do not need to provide a project template if one already
- exists in the repository
- </b>
- </p>
-
-
+
+ <source>
+ maven create-upload-bundle
+ </source>
+
<p>
- The following lists the base minimum information you must
- provide <b>attached</b> to your resource upload request.
+ The bundle will be created in your "target" directory of the form:
+ ${pom.artifactId}-${pom.currentVersion}-bundle.jar
</p>
-
+
<p>
- Some requests may be denied due to licensing problems.
+ If you are not using maven as your build system but want something
+ uploaded to Ibiblio then you just need to make a JAR with the following
+ format:
</p>
-
+
<source>
- <![CDATA[
-<project>
- <pomVersion>3</pomVersion>
- <id>[RESOURCE ID HERE]</id>
- <name>[RESOURCE NAME HERE]</name>
- <currentVersion>[RESOURCE VERSION HERE]</currentVersion>
- <organization>
- <name>[RESOURCE OWNER]</name>
- <url>[RESOURCE OWNER SITE]</url>
- </organization>
- <licenses>
- <license>
- <name>[LICENSE NAME HERE]</name>
- <url>[LICENSE LOCATION HERE - Where you got it from!]</url>
- <comments>[Additional comments about the license]</comments>
- </license>
- </licenses>
-</project>
- ]]>
+ LICENSE.txt
+ project.xml
+ foo-1.0.jar (or whatever artifact is referred to in the project.xml)
</source>
+
</section>
<section name="Step 2. Posting the request">
@@ -88,15 +71,9 @@
<p>
<ol>
- <li>Attach the project descriptor from the previous step</li>
- <li>Attach a URL of where to pick the resource up from</li>
- <li>Do <b>NOT</b> attach the jar file</li>
- <li>Attach sufficient information for a developer to quickly get access
to the jar</li>
- <li>Do not expect the developer to fiddle with build scripts to build the
jar.
- Build it yourself and upload it to a publicly accessible site.</li>
+ <li>Provide the URL to the upload bundle created in the previous
step.</li>
</ol>
- </p>
-
+ </p>
</section>
<section name="Step 3. Patience">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]