Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Clojure Documentation
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
Colour
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Keyboard Shortcuts Help
<h2>Clojure releases 1.4 and later</h2><ol><li>login to <a href="http://build.clojure.org/">http://build.clojure.org/</a> with sufficient privileges</li><li>navigate to <a href="http://build.clojure.org/job/clojure/m2release/">http://build.clojure.org/job/clojure/m2release/</a>?</li><li>set release version to e.g. 1.5.0-alpha30</li><li>set development version to e.g. 1.5.0-master-SNAPSHOT<ol><li>development version <strong>must</strong> end in -SNAPSHOT</li></ol></li><li>review carefully! </li><li>click "Schedule Maven Release"</li><li>wait a few minutes for build, and then a few hours for propagation to <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojure%22%20">Maven Central</a></li></ol><h2>Clojure releases 1.3.0-alpha5 and earlier</h2><ol><li>your key must be installed on build.clojure.org!</li><li>git checkout onto the correct branch</li><li>create/edit changes.txt</li><li>run ./release.sh (follow instructions for args)</li><li>if build succeded:<ol><li>upload the ZIP package to <a href="http://github.com/clojure/clojure/downloads">http://github.com/clojure/clojure/downloads</a></li><li>update the download links at <a href="http://clojure.org">http://clojure.org</a></li><li>git push your changes</li></ol></li><li>if build failed:<ol><li>clean up any messes as necessary (locally and on build.clojure.org)<br /> #Use "mvn deploy" to copy the Maven artifacts from local repo to build.clojure.org/releases.</li></ol></li></ol><h2>clojure-contrib releases after 1.2.0</h2><ol><li>"mvn clean"</li><li>git checkout onto the correct branch</li><li>Modify top-level "pom.xml":<ol><li>change <version><em>whatever-version</em></version></li></ol></li><li>Modify "modules/parent/pom.xml":<ol><li>change <clojure.version><em>whatever-clojure-version</em></clojure.version></li><li>change <clojure.contrib.version><em>whatever-version</em></version></li></ol></li><li>"git commit -a"</li><li>"git tag <em>whatever-version</em>""</li><li>"mvn install" to install Maven artifacts in local repo.</li><li>Upload "modules/complete/target/*.jar" to <a href="http://github.com/clojure/clojure-contrib/downloads">http://github.com/clojure/clojure-contrib/downloads</a></li><li>Update the download links at <a href="http://clojure.org">http://clojure.org</a>.</li><li>Use "mvn deploy" to copy the Maven artifacts from local repo to build.clojure.org/releases. You will need to put hudson/your-private-key path info in .m2/settings.xml on your local box.</li></ol><h2>Manually uploading to Maven Central</h2><p>Maven releases executed by Hudson do this automatically. This explains how to manually get a 1.2.x Clojure release into Maven Central.</p><ol><li>Download and install GNUPG</li><li>Get the private key "Clojure/core (build.clojure.org Release Key) <core@clojure.com>". Someone who already has the release key can run `gpg --armor --export-secret-keys "Clojure/core (build.clojure.org Release Key) <core@clojure.com>" > secret-key.asc`</li><li>Add it to your private keyring with `gpg --import secret-key.asc`</li><li>For each file in the release (.pom, .jar, ...), run `gpg -ab file`. This creates a .asc file.</li><li>Log in to oss.sonatype.org as "clojure-build"</li><li>Click on the "Staging Upload" link on the left</li><li>Select "Upload Mode" of "Artifact(s) with a POM"</li><li>Click "Select POM to upload" and choose the .pom file</li><li>For each .jar and .jar.asc file, click "Select Artifact(s) to Upload..." then choose the file and click "Add Artifact". Leave the auto-generated "Classifier" and "Extension" fields alone.</li><li>Repeat step 9 for the .pom.asc file, but change "Extension" to "pom.asc"</li><li>Click "Upload Artifact(s)"</li></ol>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced