1.1.3
Issues fixed
#290 Allow metamodel output/package customization
#280 The Class$ convention does not work in VS Code
Description
This release enables customization of the package and name of the generated entities. Settings are applied using compiler arguments that can be set using the Maven compiler plugin. The following settings are available:
jpaStreamerPackage
: The package name for the generated entitiesjpaStreamerPrefix
: Entity name prefixjpaStreamerSuffix
: Entity name suffix
Here is an example that will place the generated entities in target/generated-sources/annotations/com/speedment/jpastreamer/test
. The counterpart of an entity named Foo.class
will be named AFooB.class
. Note that prior defaults apply if no settings are provided.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<compilerArgs>
<arg>-AjpaStreamerPackage=com.speedment.jpastreamer.test</arg>
<arg>-AjpaStreamerPrefix=A</arg>
<arg>-AjpaStreamerSuffix=B</arg>
</compilerArgs>
</configuration>
</plugin>