Skip to content

Commit 23f9285

Browse files
committed
Drop Maven1 files
Update to JUnit 4.8.1 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@919146 13f79535-47bb-0310-9956-ffa450edef68
1 parent 48b3af1 commit 23f9285

2 files changed

Lines changed: 15 additions & 76 deletions

File tree

build.xml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@
3434

3535
<!-- ========== External Dependencies ===================================== -->
3636

37+
<!-- Repository base path -->
38+
<property name="repository" value="${user.home}/.m2/repository"/>
3739

3840
<!-- The directories corresponding to your necessary dependencies -->
39-
<property name="junit.home" value="/usr/local/junit3.8.1"/>
40-
<property name="junit.jar" value="${junit.home}/junit.jar"/>
41+
<property name="junit.version" value="4.8.1"/>
42+
<property name="junit.home" value="${repository}/junit/junit/${junit.version}"/>
43+
<property name="junit.jar" value="${junit.home}/junit-${junit.version}.jar"/>
4144

4245

4346
<!-- ========== Component Declarations ==================================== -->
@@ -81,6 +84,12 @@
8184

8285
<!-- ========== Compiler Defaults ========================================= -->
8386

87+
<!-- compiler source JDK version -->
88+
<property name="compile.source" value="1.5"/>
89+
90+
<!-- compiler target JDK version -->
91+
<property name="compile.target" value="1.5"/>
92+
8493
<!-- Should Java compilations set the 'debug' compiler option? -->
8594
<property name="compile.debug" value="true"/>
8695

@@ -146,8 +155,8 @@
146155

147156
<javac srcdir="${source.home}"
148157
destdir="${build.home}/classes"
149-
source="${maven.compile.source}"
150-
target="${maven.compile.target}"
158+
source="${compile.source}"
159+
target="${compile.target}"
151160
debug="${compile.debug}"
152161
deprecation="${compile.deprecation}"
153162
optimize="${compile.optimize}">
@@ -228,8 +237,8 @@
228237
<attribute name="Implementation-Version" value="${component.version}"/>
229238
<attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
230239
<attribute name="Implementation-Vendor-Id" value="org.apache"/>
231-
<attribute name="X-Compile-Source-JDK" value="${maven.compile.source}"/>
232-
<attribute name="X-Compile-Target-JDK" value="${maven.compile.target}"/>
240+
<attribute name="X-Compile-Source-JDK" value="${compile.source}"/>
241+
<attribute name="X-Compile-Target-JDK" value="${compile.target}"/>
233242
</manifest>
234243

235244
<jar jarfile="${build.home}/${final.name}.jar"
@@ -278,11 +287,8 @@
278287
<include name="build-check-jdk13.xml"/>
279288
<include name="checkstyle.xml"/>
280289
<include name="LICENSE.txt"/>
281-
<include name="maven.xml"/>
282290
<include name="NOTICE.txt"/>
283291
<include name="pom.xml"/>
284-
<include name="project.properties"/>
285-
<include name="project.xml"/>
286292
<include name="PROPOSAL.html"/>
287293
<include name="RELEASE-NOTES.txt"/>
288294
</fileset>

project.properties

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)