Hi scott, It is documented here : http://maven.apache.org/reference/backwards-compatibility.html You did the good thing.
Arnaud > -----Message d'origine----- > De : Scott Lamb [mailto:[EMAIL PROTECTED] > Envoyé : samedi 20 août 2005 02:54 > À : Maven Users List > Objet : Re: [maven-1.1-beta-1] native2ascii > > On Aug 19, 2005, at 12:00 PM, Scott Lamb wrote: > > > - how can I make this work anyway? (for the time being, the same > > buildfile has to work with maven 1.0.2 also.) I imagine there's an > > easy classpath trick, since this jar is in the ibiblio maven > > repository. The trick eludes me, though. > > I ended up adding ant-nodeps-0.6.5.jar to the dependency list > and adding this before I call native2ascii: > > <j:set var="version" value="${maven.application.version}"/> > <j:if test="${version.compareTo('1.1-beta-1') eq 0}"> > <ant:taskdef name="native2ascii" > > classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii" > classpathref="maven.dependency.classpath"/> > </j:if> > > It seems to work on both versions. > > -- > Scott Lamb <http://www.slamb.org/> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]