I have been trying to build a DSpace 1.5 alpha from the svn repository by 
following the steps at 
http://wiki.dspace.org/index.php/Building_DSpace_From_Source
However, I have been unsuccessful. On the step that says to type "mvn package" 
I get the build failure message below. I have java version 1.4.2_15.

Please let me know if I need to provide any other information

Thank you,

Chad

> mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace Parent Project
[INFO]   DSpace Kernel :: API and Implementation
[INFO]   DSpace I18N :: Language Packs
[INFO]   DSpace JSPUI :: Web Application
[INFO]   DSpace XMLUI (Manakin)
[INFO]   DSpace XMLUI (Manakin) :: Wing-Framework
[INFO]   DSpace XMLUI (Manakin) :: API and Core Aspects
[INFO]   DSpace XMLUI (Manakin) :: Web Application
[INFO]   DSpace LNI
[INFO]   DSpace LNI :: Core Implementation
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace LNI :: CLI Client Application
[INFO]   DSpace OAI :: Web Application
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Parent Project
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Kernel :: API and Implementation
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 352 source files to 
/home/chansen4/dspace/dspace-api/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
  -g                        Generate all debugging info
  -g:none                   Generate no debugging info
  -g:{lines,vars,source}    Generate only some debugging info
  -nowarn                   Generate no warnings
  -verbose                  Output messages about what the compiler is doing
  -deprecation              Output source locations where deprecated APIs are 
used
  -classpath <path>         Specify where to find user class files
  -sourcepath <path>        Specify where to find input source files
  -bootclasspath <path>     Override location of bootstrap class files
  -extdirs <dirs>           Override location of installed extensions
  -d <directory>            Specify where to place generated class files
  -encoding <encoding>      Specify character encoding used by source files
  -source <release>         Provide source compatibility with specified release
  -target <release>         Generate class files for specific VM version
  -help                     Print a synopsis of standard options




Failure executing javac, but could not parse the error:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
  -g                        Generate all debugging info
  -g:none                   Generate no debugging info
  -g:{lines,vars,source}    Generate only some debugging info
  -nowarn                   Generate no warnings
  -verbose                  Output messages about what the compiler is doing
  -deprecation              Output source locations where deprecated APIs are 
used
  -classpath <path>         Specify where to find user class files
  -sourcepath <path>        Specify where to find input source files
  -bootclasspath <path>     Override location of bootstrap class files
  -extdirs <dirs>           Override location of installed extensions
  -d <directory>            Specify where to place generated class files
  -encoding <encoding>      Specify character encoding used by source files
  -source <release>         Provide source compatibility with specified release
  -target <release>         Generate class files for specific VM version
  -help                     Print a synopsis of standard options



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Jan 11 13:18:04 MST 2008
[INFO] Final Memory: 9M/17M
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to