Creates stripped down versions of the dependencies.
Mojo Attributes:
compilepackage prior to executing itself.| Name | Type | Description |
|---|---|---|
| excludeDependencies | HashSet |
If provided the default is to include all dependencies but remove the ones specified. This parameter is mutual exclusive to includeDependencies. |
| excludeDependenciesInRelocation | HashSet |
If provided the default is to relocate all dependencies but exclude the ones specified. This parameter is mutual exclusive to includeDependenciesInRelocation. |
| includeDependencies | HashSet |
If provided the default is to include no dependencies but the ones specified. This parameter is mutual exclusive to excludeDependencies. |
| includeDependenciesInRelocation | HashSet |
If provided the default is to relocate no dependencies but the ones specified. This parameter is mutual exclusive to excludeDependenciesInRelocation. |
| keepUnusedClasses | HashSet |
Explicitly mark classes matching the given patterns to be kept - no matter whether the analysis of minijar suggests otherwise. |
| keepUnusedClassesFromArtifacts | HashSet |
Explicitly mark all classes from the specified artifacts to be kept - no matter whether the analysis of minijar would suggest to remove (some of) them. |
| name | String |
Defines the pattern of the name of final ueber jar.
Possible substitutions are [artifactId] [version] and [groupId]. Default value is [artifactId]-[version]-mini.jar. |
| stripUnusedClasses | boolean |
By default minijar will analyse the class dependencies and remove
classes that are not required for the execution of the project.
See the "keep.." parameters to explicitly override the behaviour
for classes or resource that only loaded via reflection or set
this parameter to false to turn off the magic. Default value is true. |
java.util.HashSetNo${excludeDependencies}java.util.HashSetNo${excludeDependenciesInRelocation}java.util.HashSetNo${includeDependencies}java.util.HashSetNo${includeDependenciesInRelocation}java.util.HashSetNo${keepUnusedClasses}java.util.HashSetNo${keepUnusedClassesFromArtifacts}java.lang.StringNo${name}[artifactId]-[version]-mini.jarbooleanNo${stripUnusedClasses}true