Commit c9438706 authored by Elana Hashman's avatar Elana Hashman

New upstream version 1.7.1

parent a255bf54
.*
*~
.DS_Store
target
clojure-maven-plugin.iml
clojure-maven-plugin.ipr
clojure-maven-plugin.iws
src/it/basic-usage-test/build.log
src/it/packaging-test/build.log
src/it/temporaryoutputpath/build.log
src/it/selectivenamespacecompilation/build.log
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<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>com.theoryinpractise.it</groupId>
<artifactId>autodoc</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>autodoc</groupId>
<artifactId>autodoc</artifactId>
<version>0.7.1</version>
<exclusions>
<exclusion>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
(ns autodoc)
(defn hello-world
"A simple hello world application."
[]
(println "Hello World"))
import java.io.*;
File file = new File( basedir, "target/autodoc/autodoc-api.html" );
if ( !file.exists() ) {
throw new FileNotFoundException( "Could not find generated autodoc file: " + file );
}
<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>com.theoryinpractise.it</groupId>
<artifactId>autodoc</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
<sourceDirectories>
<sourceDirectory>src</sourceDirectory>
</sourceDirectories>
<autodocTargetDirectory>${project.build.directory}/autodoc2</autodocTargetDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>autodoc</groupId>
<artifactId>autodoc</artifactId>
<version>0.7.1</version>
</dependency>
</dependencies>
</project>
(ns autodoc)
(defn hello-world
"A simple hello world application."
[]
(println "Hello World"))
File file=new File(basedir,"target/autodoc2/autodoc-api.html");
if(!file.exists()){
throw new FileNotFoundException("Could not find generated autodoc file: "+file);
}
<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>com.theoryinpractise.it</groupId>
<artifactId>autodoc</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>autodoc</groupId>
<artifactId>autodoc</artifactId>
<version>0.7.1</version>
</dependency>
</dependencies>
</project>
(ns autodoc)
(defn hello-world
"A simple hello world application."
[]
(println "Hello World"))
import java.io.*;
File file = new File( basedir, "target/autodoc/autodoc-api.html" );
if ( !file.exists() ) {
throw new FileNotFoundException( "Could not find generated autodoc file: " + file );
}
<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>com.theoryinpractise.it</groupId>
<artifactId>basic-usage-test</artifactId>
<version>testing</version>
<packaging>jar</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.3.0-beta1</version>
</dependency>
<dependency>
<groupId>org.clojure.contrib</groupId>
<artifactId>gen-html-docs</artifactId>
<version>1.3.0-alpha4</version>
</dependency>
</dependencies>
</project>
(ns packaging)
(defn hello-world
[]
(println "Hello World"))
import java.io.*;
import java.util.jar.JarFile;
File file = new File( basedir, "target/basic-usage-test-testing.jar" );
if ( !file.isFile() ) {
throw new FileNotFoundException( "Could not find generated JAR: " + file );
}
JarFile jar = new JarFile(file);
if (jar.getJarEntry("packaging.clj") == null) {
throw new FileNotFoundException("Generated JAR file does not include clojure source file");
}
if (jar.getJarEntry("packaging__init.class") == null) {
throw new FileNotFoundException("Generated JAR file does not include compiled clojure class file");
}
<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>com.theoryinpractise.it</groupId>
<artifactId>basic-usage-test</artifactId>
<version>testing</version>
<packaging>jar</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
</project>
(ns packaging)
(defn hello-world
[]
(println "Hello World"))
import java.io.*;
import java.util.jar.JarFile;
File file = new File( basedir, "target/basic-usage-test-testing.jar" );
if ( !file.isFile() ) {
throw new FileNotFoundException( "Could not find generated JAR: " + file );
}
JarFile jar = new JarFile(file);
if (jar.getJarEntry("packaging.clj") == null) {
throw new FileNotFoundException("Generated JAR file does not include clojure source file");
}
if (jar.getJarEntry("packaging__init.class") == null) {
throw new FileNotFoundException("Generated JAR file does not include compiled clojure class file");
}
<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>com.theoryinpractise.it</groupId>
<artifactId>marginalia</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
<marginalia>
<multi>true</multi>
</marginalia>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>marginalia</groupId>
<artifactId>marginalia</artifactId>
<version>0.7.1</version>
<exclusions>
<exclusion>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
</exclusion>
<exclusion>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
(ns autodoc)
(defn hello-world
"A simple hello world application."
[]
(println "Hello World"))
import java.io.*;
File file = new File( basedir, "target/marginalia/toc.html" );
if ( !file.exists() ) {
throw new FileNotFoundException( "Could not find generated marginalia file: " + file );
}
clean clojure:marginalia
<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>com.theoryinpractise.it</groupId>
<artifactId>marginalia</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>packaging-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojure-releases</id>
<url>http://build.clojure.org/releases</url>
</repository>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<temporaryOutputDirectory>true</temporaryOutputDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>marginalia</groupId>
<artifactId>marginalia</artifactId>
<version>0.7.1</version>
<exclusions>
<exclusion>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
</exclusion>
<exclusion>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
(ns autodoc)
(defn hello-world
"A simple hello world application."
[]
(println "Hello World"))
import java.io.*;
File file = new File( basedir, "target/marginalia/uberdoc.html" );
if ( !file.exists() ) {
throw new FileNotFoundException( "Could not find generated marginalia file: " + file );
}
<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>com.theoryinpractise.it</groupId>
<artifactId>multimodule</artifactId>
<version>testing</version>
<packaging>clojure</packaging>
<name>multimodule-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<configuration>
<testScript>src/test/clojure/runtest.clj</testScript>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
</project>
(ns packaging)
(defn hello-world
[]
(println "Hello World"))
<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.theoryinpractise.it</groupId>
<artifactId>multimodule.parent</artifactId>
<name>multimodule.parent</name>
<version>testing</version>