You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Alexander Yaremenko <xe...@yahoo.com> on 2010/10/07 00:10:58 UTC

maven-cayenne-plugin cgen issue

Hi,
I could not generate classes related to map itself (_*Map.java). They are generated by modeler but not with this maven plugin. All other classes defined in the map are generated just fine.
I was trying v. 3.0 and 3.0.1 of the plugin with the same result.

Any help is appreciated.
--
Alex

Re: maven-cayenne-plugin cgen issue

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Alex,

Try setting "mode" property of the plugin to "all" (valid values are "entity" - the default, "datamap", "all").

I noticed this is undocumented. Let me update the site docs in the meantime.

Andrus

On Oct 7, 2010, at 1:10 AM, Alexander Yaremenko wrote:

> Hi,
> I could not generate classes related to map itself (_*Map.java). They are generated by modeler but not with this maven plugin. All other classes defined in the map are generated just fine.
> I was trying v. 3.0 and 3.0.1 of the plugin with the same result.
> 
> Any help is appreciated.
> --
> Alex
>