enhancement
major
minor
major
minor
enhancement
major
#26719
WrapperGenerator: Maven plugin for wrapper generation
The approach described in the current documentation using the exec:java plugin only works in an application, not in a core module, because the "ide" profile does not exist there. Without this profile, the javax.servlet classes are missing from the classpath. There is also absolutely no point in having to activate a profile for wrapper generation.
Code Migration
The generator can now be configured as follows:
<build>
<plugins>
<plugin>
<groupId>com.top-logic</groupId>
<artifactId>tl-maven-plugin</artifactId>
<version>${tl.version}</version>
<executions>
<execution>
<id>generate-binding</id>
<goals>
<goal>generate-java</goal>
</goals>
<configuration>
<modules>my.company.my.app</modules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Test
- Manual: In tl-demo, run ` mvn tl:generate-java@generate-binding`.