Re: weird error message when using maven1.0 (Scarab commit: svn commit: r10584 - trunk: . build)

Völker Ronny <[email protected]>
Newsgroups gmane.comp.java.scarab.devel
Message-ID <[email protected]>
Yes, I'm not happy with that, too.
But I haven't found an official way to assert a specific version of maven in maven.xml (I must confess, I haven’t searched too deeply).
Do you know a way?

Thanks
Ronny

-----Original Message-----
From: news [mailto:[email protected]] On Behalf Of Mick Semb Wever
Sent: Monday, May 26, 2008 9:18 PM
To: [email protected]
Subject: Re: Scarab commit: svn commit: r10584 - trunk: . build


> New Revision: 10584
> 
> Modified:
>    trunk/INSTALL
>    trunk/build/build-torque.xml
> 
> Log:
> Raise the required maven version to v1.1. This allows us to remove a
> hack in build-torque.xml, which was necessary to support the old
> ant-version included in maven v1.02.


The error message when using <maven-1.1 isn't so obvious :-)

maven ...
...
java:compile:
    [echo] Build Dir: ./target

BUILD FAILED
File...... /usr/local/src/scarab-trunk/maven.xml
Element... ant:ant
Line...... 236
Column.... 29
Unexpected element "condition"
Total time: 18 seconds
Finished at: Mon May 26 21:02:22 CEST 2008


~mck

-- 
"The only thing I know, is that I know nothing." Socrates
| www.semb.wever.org | www.sesat.no | www.sesam.no |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.