Plugin Documentation

Goals available for this plugin:

Goal Description
itclass-loader:assignment-compatible Checks whether API classes exported by the Maven core are assignment-compatible with types loaded from the plugin class loader. In other words, checks that types shared with the core realm are imported into the plugin realm.
itclass-loader:instanceof Checks whether objects obtained from the Maven core are assignment-compatible with types loaded from the plugin class loader. In other words, checks that types shared with the core realm are imported into the plugin realm.
itclass-loader:load Loads classes and/or resources from the plugin class path and records the results in a properties file.
itclass-loader:load-dependencies Loads classes and/or resources from a custom class loader that holds the project dependencies and records the results in a properties file.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK Default target for maven-compiler-plugin version 3.8.1
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

  1. <project>
  2. ...
  3. <build>
  4. <!-- To define the plugin version in your parent POM -->
  5. <pluginManagement>
  6. <plugins>
  7. <plugin>
  8. <groupId>org.apache.maven.its.plugins</groupId>
  9. <artifactId>maven-it-plugin-class-loader</artifactId>
  10. <version>2.1-SNAPSHOT</version>
  11. </plugin>
  12. ...
  13. </plugins>
  14. </pluginManagement>
  15. <!-- To use the plugin goals in your POM or parent POM -->
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.its.plugins</groupId>
  19. <artifactId>maven-it-plugin-class-loader</artifactId>
  20. <version>2.1-SNAPSHOT</version>
  21. </plugin>
  22. ...
  23. </plugins>
  24. </build>
  25. ...
  26. </project>

For more information, see "Guide to Configuring Plug-ins"