Jörg Schaible schreef:
> Hi Hendrik,
> 
> Hendrik Maryns wrote:
>> Hi,
>>
>> I have downloaded and edited Commons CLI.  It works fine after some
>> configuring in Eclipse.  Building from the command line,
>> however, fails,
>> both with Ant and with Maven.
<snip>
>> Maven is more problematic.  The README says to do mvn jar:jar.  
> 
> Really? Either call with Maven 1 "maven jar:jar" or with Maven 2 "mvn 
> install". But maybe it's time to get rid of M1 entirely as supported build 
> system.

I guess I’ll update the README file for a starters, and I hope some
other CLI developers are reading this, so that this can be fixed.

>> If I try to do the default mvn clean install it starts out fine, but
>> complains about generics, which is obvious, because it gives javac
>> the switch -source 1.3!! 
> 
> This is the default for Maven. You have to configure the compiler (and 
> javadoc) plugin to use 1.5 as source and target. We might add this in an 
> profile of the parent POM that is activated if JDK 5 is used.

Thanks, how do I do this?

-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to