Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove build.xml and pom.xml -- leiningen is now the build tool of ch…

…oice
  • Loading branch information...
commit 7178b745964604effc29a5d7763b664c20129455 1 parent e107e74
@danlarkin danlarkin authored
Showing with 2 additions and 120 deletions.
  1. +2 −0  .gitignore
  2. +0 −45 build.xml
  3. +0 −75 pom.xml
View
2  .gitignore
@@ -6,3 +6,5 @@ bin
build/
target/
clojure-json.jar
+pom.xml
+Manifest.txt
View
45 build.xml
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<project name="clojure-json" default="jar">
-
- <description>
- Compile clojure-json into a Java JAR.
- </description>
-
- <property name="src" location="src" />
- <property name="build" location="build/classes" />
- <property name="jarfile" location="clojure-json.jar" />
- <available property="hasclojure" file="${clojure.jar}" />
-
- <target name="init">
- <mkdir dir="build/classes" />
- </target>
-
- <target name="test">
- <exec dir="." executable="clj">
- <arg line="test/test.clj"/>
- </exec>
- </target>
-
- <target name="compile" depends="init" if="hasclojure">
- <java classname="clojure.lang.Compile"
- classpath="${src}:${build}:${clojure.jar}">
- <sysproperty key="clojure.compile.path" value="${build}" />
- <arg value="org.danlarkin.json.encoder" />
- <arg value="org.danlarkin.json.decoder" />
- <arg value="org.danlarkin.json" />
- </java>
- </target>
-
- <target name="jar" depends="compile">
- <jar jarfile="${jarfile}" basedir="${build}">
- <path location="LICENSE" />
- <fileset dir="${src}" includes="**/*.clj" />
- <fileset dir="${build}" includes="**/*.class" />
- </jar>
- </target>
-
- <target name="clean">
- <delete dir="build" />
- </target>
-
-</project>
View
75 pom.xml
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
- http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.danlarkin</groupId>
- <artifactId>clojure-json</artifactId>
- <name>${artifactId}</name>
- <packaging>jar</packaging>
- <version>1.1-SNAPSHOT</version>
- <repositories>
- <repository>
- <id>clojure-snapshots</id>
- <url>http://build.clojure.org/snapshots</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.theoryinpractise</groupId>
- <artifactId>clojure-maven-plugin</artifactId>
- <version>1.1</version>
- <configuration>
- <sourceDirectories>
- <sourceDirectory>src</sourceDirectory>
- </sourceDirectories>
- <testSourceDirectories>
- <testSourceDirectory>test</testSourceDirectory>
- </testSourceDirectories>
- <testScript>test/test.clj</testScript>
- </configuration>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>test</id>
- <phase>test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <!-- clojure -->
- <dependency>
- <groupId>org.clojure</groupId>
- <artifactId>clojure</artifactId>
- <version>1.1.0-alpha-SNAPSHOT</version>
- </dependency>
- </dependencies>
-</project>
Please sign in to comment.
Something went wrong with that request. Please try again.