You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Oleg Gusakov <ol...@gmail.com> on 2009/02/19 01:55:57 UTC

modello snapshot problem

I am modifying the bootstrap and am hitting a problem:

Generating sources for maven-model/src/main/mdo/maven.mdo
[java] Usage: modello <model> <outputType> <output directory> 
<modelVersion> <packageWithVersion><useJava5> [<encoding>]


Has modello CLI been changed recently? The bootstrap ant macro calls it 
like:

<sequential>
        <java fork="fork" classname="org.codehaus.modello.ModelloCli" ...>
          <arg file="@{file}"/>
          <arg value="@{mode}"/>
          <arg file="bootstrap/target/generated-sources"/>
          <arg value="@{version}"/>
          <arg value="false"/>
        </java>
</sequential>


Problem see to be between <modelVersion> and <packageWithVersion>.

How should macro look like - what's the missing param?

The resolved modello snapshot is 1.0.1-20090215.121512-2

Thanks,
Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: modello snapshot problem

Posted by Hervé BOUTEMY <he...@free.fr>.
Modello CLI has changed in Modello 1.0: added <useJava5> parameter

I modified build.xml, but missed build-mercury.xml: fix done in r745971

Regards,

Hervé

Le jeudi 19 février 2009, Oleg Gusakov a écrit :
> I am modifying the bootstrap and am hitting a problem:
>
> Generating sources for maven-model/src/main/mdo/maven.mdo
> [java] Usage: modello <model> <outputType> <output directory>
> <modelVersion> <packageWithVersion><useJava5> [<encoding>]
>
>
> Has modello CLI been changed recently? The bootstrap ant macro calls it
> like:
>
> <sequential>
>         <java fork="fork" classname="org.codehaus.modello.ModelloCli" ...>
>           <arg file="@{file}"/>
>           <arg value="@{mode}"/>
>           <arg file="bootstrap/target/generated-sources"/>
>           <arg value="@{version}"/>
>           <arg value="false"/>
>         </java>
> </sequential>
>
>
> Problem see to be between <modelVersion> and <packageWithVersion>.
>
> How should macro look like - what's the missing param?
>
> The resolved modello snapshot is 1.0.1-20090215.121512-2
>
> Thanks,
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org