|
34 | 34 |
|
35 | 35 | <!-- ========== External Dependencies ===================================== --> |
36 | 36 |
|
| 37 | + <!-- Repository base path --> |
| 38 | + <property name="repository" value="${user.home}/.m2/repository"/> |
37 | 39 |
|
38 | 40 | <!-- 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"/> |
41 | 44 |
|
42 | 45 |
|
43 | 46 | <!-- ========== Component Declarations ==================================== --> |
|
81 | 84 |
|
82 | 85 | <!-- ========== Compiler Defaults ========================================= --> |
83 | 86 |
|
| 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 | + |
84 | 93 | <!-- Should Java compilations set the 'debug' compiler option? --> |
85 | 94 | <property name="compile.debug" value="true"/> |
86 | 95 |
|
|
146 | 155 |
|
147 | 156 | <javac srcdir="${source.home}" |
148 | 157 | destdir="${build.home}/classes" |
149 | | - source="${maven.compile.source}" |
150 | | - target="${maven.compile.target}" |
| 158 | + source="${compile.source}" |
| 159 | + target="${compile.target}" |
151 | 160 | debug="${compile.debug}" |
152 | 161 | deprecation="${compile.deprecation}" |
153 | 162 | optimize="${compile.optimize}"> |
|
228 | 237 | <attribute name="Implementation-Version" value="${component.version}"/> |
229 | 238 | <attribute name="Implementation-Vendor" value="Apache Software Foundation"/> |
230 | 239 | <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}"/> |
233 | 242 | </manifest> |
234 | 243 |
|
235 | 244 | <jar jarfile="${build.home}/${final.name}.jar" |
|
278 | 287 | <include name="build-check-jdk13.xml"/> |
279 | 288 | <include name="checkstyle.xml"/> |
280 | 289 | <include name="LICENSE.txt"/> |
281 | | - <include name="maven.xml"/> |
282 | 290 | <include name="NOTICE.txt"/> |
283 | 291 | <include name="pom.xml"/> |
284 | | - <include name="project.properties"/> |
285 | | - <include name="project.xml"/> |
286 | 292 | <include name="PROPOSAL.html"/> |
287 | 293 | <include name="RELEASE-NOTES.txt"/> |
288 | 294 | </fileset> |
|
0 commit comments