This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UFT Developer AppModel Code Generator (appmodel-generator-mojo) plugin starts the code generation process for each AppModel present in the UFT Developer Maven project (Java) even if there haven't been any changes to those files since the last generatio

It is taking too long to build and compile UFT Developer (2022.0.0) Maven Project due to AppModel code generation trigger for all (400) AppModel files (.tsrx) present in my project while saving Project in Eclipse or building through maven command.

Need incremental generation and compilation that should trigger AppModel code generation only for changed .tsrx file in UFT Developer Maven project.

Note: Checked with other maven phases as well like validate, generate-sources etc. and also tried <incrementalBuildHelper>true</incrementalBuildHelper> with plugin configuration but not worked.

Plugin in pom.xml. 

<plugin>
<groupId>com.hpe.lft</groupId>
<artifactId>appmodel-generator-mojo</artifactId>
<version>2022.0.0</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
</configuration>
</plugin>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
com.hpe.lft
</groupId>
<artifactId>
appmodel-generator-mojo
</artifactId>
<versionRange>
[2022.0.0,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>

</pluginManagement>