You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Malachi de AElfweald <ma...@eoti.org> on 2004/07/25 03:24:35 UTC
Maven on JDK1.5
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven on JDK1.5
Posted by Dion Gillard <di...@gmail.com>.
On Sat, 24 Jul 2004 18:24:35 -0700, Malachi de AElfweald
<ma...@eoti.org> wrote:
> Didn't see a Bug Database on the Maven site.
http://maven.apache.org/issue-tracking.html
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven on JDK1.5
Posted by Scott Brickner <sc...@brickner.net>.
Um, JDK 1.5 isn't yet the "current release" of Java. It's still only
beta.
On Mon, 2004-07-26 at 13:59, Malachi de AElfweald wrote:
> Thanks to everyone for their help... Adding those two properties (either
> -D or project.properties) fixed the problem.
>
>
> A couple thoughts/comments....
>
> 1) Searching through the issue-tracking, two people posted the same bug and
> never got a reply.
> http://jira.codehaus.org/browse/MPJAVA-22
> http://jira.codehaus.org/browse/MPJAVA-24
>
> 2) shouldn't the default release be compatible with the current release of
> Java without tweaking?
>
> 3) Perhaps the main maven site should be update with a quick tip in the
> install directions? OR, perhaps add that as a part of the FAQ
>
> 4) perhaps the main maven site should list the bug database along with the
> current listings of FAQ,Wiki,and user mailing list?
>
>
> Thanks again,
> Malachi
>
> At 11:26 PM 7/24/2004, Dion Gillard wrote:
> >maven.compile.source=1.5 and maven.compile.target=1.5?
> >
> > > javac: target release 1.1 conflicts with default source release 1.5
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven on JDK1.5
Posted by Malachi de AElfweald <ma...@eoti.org>.
Thanks to everyone for their help... Adding those two properties (either
-D or project.properties) fixed the problem.
A couple thoughts/comments....
1) Searching through the issue-tracking, two people posted the same bug and
never got a reply.
http://jira.codehaus.org/browse/MPJAVA-22
http://jira.codehaus.org/browse/MPJAVA-24
2) shouldn't the default release be compatible with the current release of
Java without tweaking?
3) Perhaps the main maven site should be update with a quick tip in the
install directions? OR, perhaps add that as a part of the FAQ
4) perhaps the main maven site should list the bug database along with the
current listings of FAQ,Wiki,and user mailing list?
Thanks again,
Malachi
At 11:26 PM 7/24/2004, Dion Gillard wrote:
>maven.compile.source=1.5 and maven.compile.target=1.5?
>
> > javac: target release 1.1 conflicts with default source release 1.5
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven on JDK1.5
Posted by Carlos Sanchez <ap...@carlos.cousas.net>.
> > Didn't see a Bug Database on the Maven site.
http://jira.codehaus.org/browse/MAVEN
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven on JDK1.5
Posted by Dion Gillard <di...@gmail.com>.
maven.compile.source=1.5 and maven.compile.target=1.5?
On Sat, 24 Jul 2004 18:24:35 -0700, Malachi de AElfweald
<ma...@eoti.org> wrote:
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org