This plugin adds support for linting extensions locally based on similar (though not identical and nor complete) security rules, checks and constraints for XtendM3. Plugin also support exporting extensions to the format where they can be imported to an M3 environment.
Add the plugin to your pom.xml file in the plugins section similar to below to run the linter automatically on compile and packaging the project.
<plugin>
<groupId>com.infor.m3</groupId>
<artifactId>xtendm3-maven-plugin</artifactId>
<version>0.1.10-SNAPSHOT</version>
<executions>
<execution>
<id>lint</id>
<phase>compile</phase>
<goals>
<goal>lint</goal>
</goals>
</execution>
<execution>
<id>export</id>
<phase>package</phase>
<goals>
<goal>export</goal>
</goals>
</execution>
</executions>
</plugin>You can also run the goals separately:
./mvnw xtendm3:lintfor linting and verifying extensions./mvnw xtendm3:exportfor exporting the extensions./mvnw xtendm3:helpto seek help