FAQ
Hello,

I have written a configuration for the class generator of Cayenne
within my pom.xml:

<plugin>
<groupId>org.apache.cayenne.plugins</groupId>
<artifactId>maven-cayenne-plugin</artifactId>
<executions>
<execution>
<id>cgen</id>
<configuration>
<map>${project.build.sourceDirectory}/../resources/datamap.map.xml</map>
<destDir>${project.build.sourceDirectory}</destDir>
<superpkg>auto</superpkg>
<encoding>UTF-8</encoding>
</configuration>
<goals>
<goal>cgen</goal>
</goals>
</execution>
</executions>
</plugin>

But the plugin doesn't use the <superpkg> information, the debug
output of maven writes:

[DEBUG]Configuring mojo
'org.apache.cayenne.plugins:maven-cayenne-plugin:3.0.1:cgen' -->
[DEBUG] (f) client = false
[DEBUG] (f) destDir = /localhome/arothe/workspace/CayenneTest/src/main/java
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) makePairs = true
[DEBUG] (f) map =
/localhome/arothe/workspace/CayenneTest/src/main/java/../resources/datamap.map.xml
[DEBUG] (f) mode = entity
[DEBUG] (f) outputPattern = *.java
[DEBUG] (f) overwrite = false
[DEBUG] (f) project = MavenProject:
info.phosco:CayenneTest:1.0-SNAPSHOT @
/localhome/arothe/workspace/CayenneTest/pom.xml
[DEBUG] (f) usePkgPath = true
[DEBUG]-- end configuration --
[cayenne:cgen]

I miss the new path for the superclasses, what's wrong?

Thanks a lot
Andre

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupuser @
categoriescayenne
postedOct 12, '10 at 8:55p
activeOct 13, '10 at 8:05a
posts4
users3
websitecayenne.apache.org

People

Translate

site design / logo © 2022 Grokbase