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
This archive was generated by hypermail 2.0.0 : Tue Oct 12 2010 - 20:55:46 UTC