CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 24 Aug 2025 11:42:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20180610234252
location: https://web.archive.org/web/20180610234252/https://github.com/danlarkin/clojure-pom
server-timing: captures_list;dur=0.722118, exclusion.robots;dur=0.021894, exclusion.robots.policy;dur=0.009906, esindex;dur=0.013344, cdx.remote;dur=14.499223, LoadShardBlock;dur=213.681528, PetaboxLoader3.datanode;dur=57.098027, PetaboxLoader3.resolve;dur=49.303001
x-app-server: wwwb-app225
x-ts: 302
x-tr: 271
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 24 Aug 2025 11:42:34 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-date: Sun, 10 Jun 2018 23:42:52 GMT
x-archive-orig-transfer-encoding: chunked
x-archive-orig-status: 200 OK
x-archive-orig-cache-control: no-cache
x-archive-orig-vary: X-PJAX
x-archive-orig-set-cookie: logged_in=no; domain=.github.com; path=/; expires=Thu, 10 Jun 2038 23:42:52 -0000; secure; HttpOnly
x-archive-orig-set-cookie: _gh_sess=dWQ2REVQS0NlSTRsaXZadGpoTGU3VjJqT2VZNnI4NEdhK1VkWDlaYjIveTRsYmkzNCtrQ2ZzaVNJOVo0YlpFNmQ2V2FGbnhlRTNXRVMycm5XUFJMMG96SVVJazFteklURS91K0xCWWN3YUtrTWdTSGZOR3d3cDY4bDF1dUhya0JkSG50cUlVT2M4YS9VbFpQMGZ2VmtSemx4U01jb0tEVllsQjE5eDVwbDhxcmIwZWlvTUNFY3JGZHhnSS9DOXNGTnpaM0h5bXIvV1Q5NzE3ZXFQaVVMaVdKaDhuYksyVmFndzJmV0djcVdnQUIzQVEyQysvSTUweHJSaG13V2QwcVV5MjlKWitCQXRIaGVYdmJ0dCs2R2czdjU1NU16b0JseUtYKzN2R09EUEVtU00wRHowU0lzNGtvTUx4cHhjMGFybGtSbVhqMHBwa0dMZlRTNUwyWm5JOWE0eHZCZFZnc2ltWmxRYzJpRldJNVpFSndIeUZlUklaNis3b0ZCQk9rZE9kVzlJeGVtdENnenA2WXdzdHluNjIwRTE0M2t4QTFJQnVwSERvOGxmOD0tLVF2V2FKNnBBeTNkbkh6V0FUeFVSV3c9PQ%3D%3D--b0d9ac3c42eb894d252bf41263706b4115fd0036; path=/; secure; HttpOnly
x-archive-orig-x-request-id: 2f918c65-dcef-4e63-a23e-44a1deb892a7
x-archive-orig-x-runtime: 0.228415
x-archive-orig-strict-transport-security: max-age=31536000; includeSubdomains; preload
x-archive-orig-x-frame-options: deny
x-archive-orig-x-content-type-options: nosniff
x-archive-orig-x-xss-protection: 1; mode=block
x-archive-orig-expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
x-archive-orig-content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
x-archive-orig-x-runtime-rack: 0.234770
x-archive-orig-x-github-request-id: B4D4:33D8:30E6BAE:5F94D54:5B1DB77C
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 10 Jun 2018 23:42:52 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 10 Jun 2018 23:42:52 GMT", ; rel="memento"; datetime="Sun, 10 Jun 2018 23:42:52 GMT", ; rel="next memento"; datetime="Fri, 06 Nov 2020 05:59:37 GMT", ; rel="last memento"; datetime="Fri, 06 Nov 2020 05:59:37 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: archiveteam_github_20180703020419/archiveteam_github_20180703020419.megawarc.warc.gz
server-timing: captures_list;dur=0.436535, exclusion.robots;dur=0.017166, exclusion.robots.policy;dur=0.007221, esindex;dur=0.010367, cdx.remote;dur=17.515225, LoadShardBlock;dur=172.109177, PetaboxLoader3.datanode;dur=112.727817, PetaboxLoader3.resolve;dur=142.566033, load_resource;dur=123.568671
x-app-server: wwwb-app225
x-ts: 200
x-tr: 379
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
GitHub - danlarkin/clojure-pom: Clojure Maven2 POM
Fetching latest commit…
Permalink
danlarkin/clojure-pom forked from GeorgeJahad/clojure-pom
Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Clojure Maven2 POM
Clone or download
Launching GitHub Desktop...
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop...
If nothing happens, download GitHub Desktop and try again.
Launching Xcode...
If nothing happens, download Xcode and try again.
Launching Visual Studio...
If nothing happens, download the GitHub extension for Visual Studio and try again.
Pull request
Compare
This branch is even with GeorgeJahad:master.

Cannot retrieve the latest commit at this time.
Failed to load latest commit information. | |||
![]() |
.gitignore | ||
![]() |
README | ||
![]() |
pom.xml |
README
Clojure POM for Maven2 ====================== Q: A Maven POM for Clojure ?!? > Yes. Don't run away with your hair on fire. This is only used for dependency management (and optionaly AOT compile clojure into java classes). Q: How do I get started ? > It's easy. Just follow the steps below and you'll have access to tens of thousands of Java libraries inside Clojure * Make sure you have > Java5 on your box * Install Maven [ https://maven.apache.org ] * Install Clojure Contrib & POM with git & maven. You can find maven-friendly repos on my github account. NOTE: Clojure 1.0.0 is now on the maven repos officially git clone git://github.com/dysinger/clojure-pom.git cd clojure-pom mvn install cd .. git clone git://github.com/dysinger/clojure-contrib.git cd clojure-contrib git checkout -b 1.0-SNAPSHOT origin/1.0-SNAPSHOT mvn install cd .. * Now create a new clojure project. You can create maven archetypes if your maven-fu is brown-belt or above. Sometimes good ol' 'here' files are easier. I do it like this. mkdir my-project cd my-project cat >pom.xml <<\THEEND <?xml version="1.0" encoding="UTF-8"?> <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.clojure</groupId> <artifactId>clojure-pom</artifactId> <version>1.0.0</version> </parent> <groupId>myorg</groupId> <artifactId>myproj</artifactId> <name>${artifactId}</name> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <!-- optional: precompile some clojure --> <execution> <id>compile</id> <configuration> <tasks> <java fork="true" classname="clojure.lang.Compile" classpathref="maven.compile.classpath"> <sysproperty key="clojure.compile.path" value="${project.build.outputDirectory}" /> <arg value="myorg.myproj.hello" /> </java> </tasks> </configuration> </execution> <!-- optional: test-is some clojure <execution> <id>test</id> <configuration> <tasks> <java classname="clojure.main" classpathref="maven.test.classpath"> <arg value="-e"/> <arg value="(use 'tests) (run-all-tests)"/> </java> </tasks> </configuration> </execution> --> </executions> </plugin> </plugins> </build> <dependencies> <!-- optional: 3rd party dependencies --> <dependency> <groupId>org.clojure</groupId> <artifactId>clojure-contrib</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>commons-math</groupId> <artifactId>commons-math</artifactId> <version>1.2</version> </dependency> </dependencies> </project> THEEND mkdir -p src/myorg/myproj cat >src/myorg/myproj/hello.clj <<\THEEND (ns myorg.myproj.hello (:import [org.apache.commons.math.random JDKRandomGenerator])) (defn main [] (println "Hello from org.apache.commons.math.random: " (.nextInt (JDKRandomGenerator.)))) THEEND mvn process-resources ; # <- now your are ready for emacs slime mvn compile ; # <- see it compile your clojure code mvn test ; # <- see it test your clojure code mvn install ; # <- install a jar for dependant projects (default) mvn assembly:assembly ; # <- build one big jar for easy deploys Q: How can I use this in Emacs & Slime ? > Most of us use emacs 23 (trunk) and slime (trunk) with Philip Hagelberg's emacs-starter-kit. I won't cover all that here. It's on github. https://github.com/technomancy/emacs-starter-kit Ask about setup particulars on IRC. It's rapidly evolving.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.