Hello,
currently I had nothing to do with Maven due to heavy ANT use in
OpenSource and in the company.
I have followed the guidelines to install at maven.apache.org but I am
still failing with mvn compile due to a missing JDK 1.5 configuration.
I do not want to change the Default JDK 1.4 in my PATH or JAVA_HOME
variable if not explicitly needed.
Microsoft Windows XP [Version 5.1.2600]
Maven version: 2.0.4
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
Can you please give me a hint what to read or what to do?
Regards
Boris
D:\home\java\slf4jws\slf4j\mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] SLF4J
[INFO] SLF4J API Module
[INFO] SLF4J Simple Binding
[INFO] SLF4J NOP Binding
[INFO] SLF4J JDK14 Binding
[INFO] SLF4J LOG4J-12 Binding
[INFO] SLF4J JCL Binding
[INFO] JCL Implemented Over SLF4J
[INFO] SLF4J Site
[INFO]
----------------------------------------------------------------------------
[INFO] Building SLF4J
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO]
----------------------------------------------------------------------------
[INFO] Building SLF4J API Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 11 source files to
D:\home\java\slf4jws\slf4j\slf4j-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
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Aug 18 15:27:38 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev