Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
181 lines (173 sloc) 5.46 KB
<?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.clojure</groupId>
<artifactId>pom.contrib</artifactId>
<packaging>pom</packaging>
<version>0.0.26</version>
<name>org.clojure contrib parent POM</name>
<description>Parent POM for projects contributed to Clojure</description>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>5</version>
</parent>
<properties>
<!-- Builds will use this release version of Clojure, may be
overridden in projects or at the command line. -->
<clojure.version>1.4.0</clojure.version>
<!-- By default, do not enable *warn-on-reflection*, may be
overridden in projects at the command line. -->
<clojure.warnOnReflection>false</clojure.warnOnReflection>
<clojure.source.dir>src/main/clojure</clojure.source.dir>
<clojure.testSource.dir>src/test/clojure</clojure.testSource.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<scm>
<connection>scm:git:git@github.com:clojure/build.poms.git</connection>
<developerConnection>scm:git:git@github.com:clojure/build.poms.git</developerConnection>
<url>git@github.com:clojure/build.poms.git</url>
</scm>
<licenses>
<license>
<name>Eclipse Public License 1.0</name>
<url>http://opensource.org/licenses/eclipse-1.0.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<build>
<plugins>
<plugin>
<!-- Add Clojure sources to the project's source directories -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>add-clojure-source-dirs</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
<goal>add-resource</goal>
</goals>
<configuration>
<sources>
<source>${clojure.source.dir}</source>
</sources>
<resources>
<resource>
<directory>${clojure.source.dir}</directory>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>add-clojure-test-source-dirs</id>
<phase>generate-sources</phase>
<goals>
<goal>add-test-source</goal>
<goal>add-test-resource</goal>
</goals>
<configuration>
<sources>
<source>${clojure.testSource.dir}</source>
</sources>
<resources>
<resource>
<directory>${clojure.testSource.dir}</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- By default, compile everything as a sanity check, but do
not include any AOT-compiled .class files in the
JAR. Projects may override as needed. -->
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.10</version>
<extensions>true</extensions>
<configuration>
<warnOnReflection>${clojure.warnOnReflection}</warnOnReflection>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
</configuration>
<executions>
<execution>
<id>clojure-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>clojure-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Clojure targets Java 1.5 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<!-- do not push pre-deployment SCM changes to upstream repo
with maven release plugin; if the release/deploy fails,
we're stuck with manually fixing up version numbers, git
history, etc -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
</plugins>
</build>
<!-- Permit compiling/testing any contrib project with a
locally-built Clojure by running
"mvn -Dclojure.jar=/path/to/some/local/clojure.jar" -->
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>${clojure.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>local-clojure-jar</id>
<activation>
<property>
<name>clojure.jar</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>LOCALJAR</version>
<scope>system</scope>
<systemPath>${clojure.jar}</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
Something went wrong with that request. Please try again.