Allow Java 1.5 to be used to build with Maven.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2004-10-21 00:36:37 +00:00
parent d5095df781
commit e65e22fe10
2 changed files with 17 additions and 3 deletions

View File

@ -16,7 +16,7 @@ limitations under the License.
<project name="Lang" default="compile" basedir="."> <project name="Lang" default="compile" basedir=".">
<!-- <!--
"Lang" component of the Jakarta Commons Subproject "Lang" component of the Jakarta Commons Subproject
$Id: build.xml,v 1.31 2004/10/21 00:21:39 ggregory Exp $ $Id: build.xml,v 1.32 2004/10/21 00:36:37 ggregory Exp $
--> -->
<!-- ========== Initialize Properties ===================================== --> <!-- ========== Initialize Properties ===================================== -->
<property file="${user.home}/${component.name}.build.properties"/> <property file="${user.home}/${component.name}.build.properties"/>
@ -101,7 +101,8 @@ limitations under the License.
windowtitle="${component.title} (Version ${component.version})" windowtitle="${component.title} (Version ${component.version})"
bottom="Copyright &amp;copy; 2001-2003 - Apache Software Foundation" bottom="Copyright &amp;copy; 2001-2003 - Apache Software Foundation"
use="true" use="true"
link="${jdk.javadoc}"> link="${jdk.javadoc}"
source="${compile.source}">
<classpath refid="compile.classpath"/> <classpath refid="compile.classpath"/>
</javadoc> </javadoc>
</target> </target>

View File

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
# $Id: project.properties,v 1.12 2004/06/27 18:22:09 bayard Exp $ # $Id: project.properties,v 1.13 2004/10/21 00:36:37 ggregory Exp $
maven.checkstyle.properties=checkstyle.xml maven.checkstyle.properties=checkstyle.xml
maven.junit.fork=true maven.junit.fork=true
@ -27,7 +27,20 @@ maven.xdoc.poweredby.image=maven-feather.png
# The Sun Javadoc for versions prior to 1.3 are off-line. # The Sun Javadoc for versions prior to 1.3 are off-line.
maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/ maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/
maven.javadoc.source=1.3
# This links to the current stable version. We could have LANG_CURRENT, but this # This links to the current stable version. We could have LANG_CURRENT, but this
# is simpler to manage at the moment. # is simpler to manage at the moment.
maven.jdiff.old.tag=LANG_2_0 maven.jdiff.old.tag=LANG_2_0
# Generate class files for specific VM version (e.g., 1.1 or 1.2).
# Note that the default value depends on the JVM that is running Ant.
# In particular, if you use JDK 1.4+ the generated classes will not be usable
# for a 1.1 Java VM unless you explicitly set this attribute to the value 1.1
# (which is the default value for JDK 1.1 to 1.3).
maven.compile.target = 1.1
# Specifies the source version for the Java compiler.
# Corresponds to the source attribute for the ant javac task.
# Valid values are 1.3, 1.4, 1.5.
maven.compile.source = 1.3