Enhancement
Major
Detail
Major
Detail
Enhancement
Major
#26719
WrapperGenerator: Maven plugin for wrapper generation
The approach currently described in the documentation via the exec:java plugin only works in an application, not in a core module, since the "ide" profile does not exist there. Without this profile the javax.servlet classes are missing in the class path. There is also no sense at all to have 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 call to mvn tl:generate-java@generate-binding.