Working on a project that has both java and groovy classes.
The groovy classes utilize serialization extensively for permanence and have a significant number of transient properties to reduce the serialized footprint of the classes.
The gmaven-plugin 1.0-rc-3 is producing invalid getter and setter stubs for the transient properties. I have attached one of the Groovy classes and the generated java stub for that class in a gzipped tar file.
The errors returned are all similar to:
target/generated-sources/groovy-stubs/main/org/oclc/dataload/frequency/SimpleCount.java:[41,29] modifier transient not allowed here
Where the generated class contains code like:
transient private boolean hasFixupSimpleCountDummy = false;
transient public boolean getHasFixupSimpleCountDummy() {
throw new InternalError("Stubbed method");
}
transient public boolean isHasFixupSimpleCountDummy() {
throw new InternalError("Stubbed method");
} }
transient public void setHasFixupSimpleCountDummy(boolean value) {
throw new InternalError("Stubbed method");
}