I downloaded and installed Maven today. To test it, I was trying to duplicate the example from this article:
http://www.devx.com/java/Article/17204



Unfortunately, it didn't work: ---------------------------------------------------------------------------------------------------------------------------------------- E:\java\examples\maven>maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0

Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
7K downloaded
Attempting to download commons-lang-2.0.jar.
165K downloaded
Attempting to download antlr-2.7.2.jar.
349K downloaded
build:start:

java:prepare-filesystem:
    [mkdir] Created dir: E:\java\examples\maven\target\classes

java:compile:
    [echo] Compiling to E:\java\examples\maven/target/classes
    [javac] Compiling 1 source file to E:\java\examples\maven\target\classes
javac: target release 1.1 conflicts with default source release 1.5

BUILD FAILED
File...... E:\Documents and Settings\malachi\.maven\cache\maven-java-plugin-1.4\plugin.jelly
Element... ant:javac
Line...... 52
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 42 seconds
Finished at: Sat Jul 24 14:08:30 PDT 2004
----------------------------------------------------------------------------------------------------------------------------------------



Google showed two similar incidents, but no one explained how to fix it. Didn't see a Bug Database on the Maven site.

Anyone have any ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to