Defining Libraries Using the libraries Parameter
You can control the libraries that are generated by Maven IDEA Plugin with the use of the libraries parameter.
The library element can be defined with the following elements:
- name - The artifactId of the artifact that this library represents.
- classes - When provided, replaces the jar package from the local repository. These can be comma-separated URLs pointing to the location of this artifact's class files.
- javadocs - When provided, replaces the -javadoc package from the local repository. These can be comma-separated URLs pointing to the location of this artifact's javadocs files.
- sources - When provided, replaces the -sources package from the local repository. These can be comma-separated URLs pointing to the location of this artifact's source files.
- exclude - When set to true, makes the plugin ignore this artifact from its list of libraries.
Examples on using the libraries parameter can be found here.