You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/05/09 20:54:28 UTC
cvs commit: maven/xdocs repository-upload.xml
jvanzyl 2004/05/09 11:54:28
Modified: xdocs repository-upload.xml
Log:
o have to try and make uploads easier for users.
Revision Changes Path
1.11 +18 -46 maven/xdocs/repository-upload.xml
Index: repository-upload.xml
===================================================================
RCS file: /home/cvs/maven/xdocs/repository-upload.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- repository-upload.xml 5 May 2004 13:05:54 -0000 1.10
+++ repository-upload.xml 9 May 2004 18:54:28 -0000 1.11
@@ -35,50 +35,28 @@
</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>
-
-
- <p>
- The following lists the base minimum information you must
- provide <b>attached</b> to your resource upload request.
- </p>
-
+
+ <source>
+ maven create-upload-bundle
+ </source>
+
<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 +66,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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org