mirror of https://github.com/apache/maven.git
o match the branch mv to the sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@369304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
08a9549931
commit
9580aa4183
|
@ -1,35 +0,0 @@
|
|||
<project name="xstream" default="jar">
|
||||
|
||||
<property name="version" value="1.0"/>
|
||||
|
||||
<target name="compile" description="Compile all Java">
|
||||
<mkdir dir="target/classes"/>
|
||||
<javac srcdir="src/main/java" destdir="target/classes"/>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile" description="Run all acceptance tests and unit tests">
|
||||
<mkdir dir="target/test-classes"/>
|
||||
<javac srcdir="src/test" destdir="build/test-classes" classpath="build/classes" classpathref="classpath"/>
|
||||
<junit printsummary="yes" haltonfailure="yes" fork="no">
|
||||
<classpath refid="classpath"/>
|
||||
<classpath>
|
||||
<pathelement location="target/classes"/>
|
||||
<pathelement location="target/test-classes"/>
|
||||
</classpath>
|
||||
<formatter type="brief" usefile="no"/>
|
||||
<batchtest>
|
||||
<fileset dir="src/test">
|
||||
<include name="**/*Test*.java"/>
|
||||
<exclude name="**/Abstract*"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile" description="Build JARs">
|
||||
<jar jarfile="target/xstream-${version}.jar">
|
||||
<fileset dir="target/classes"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -1,8 +0,0 @@
|
|||
<model 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>foo</groupId>
|
||||
<artifactId>foo</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</model>
|
|
@ -1,8 +0,0 @@
|
|||
<project>
|
||||
<groupId>foo</groupId>
|
||||
<artifactId>foo</artifactId>
|
||||
<currentVersion>1.0</currentVersion>
|
||||
<build>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
</build>
|
||||
</project>
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm -rf target
|
||||
|
||||
echo Run with ant...
|
||||
|
||||
time -p ant jar > /dev/null
|
||||
|
||||
rm -rf target
|
||||
|
||||
echo Run with m2...
|
||||
|
||||
time -p m2 -B package > /dev/null
|
||||
|
||||
rm -rf target
|
||||
|
||||
echo Run with maven...
|
||||
|
||||
time -p maven jar > /dev/null
|
|
@ -1,5 +0,0 @@
|
|||
package org.apache.maven;
|
||||
|
||||
public class Foo
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue