Pom modifications configuration.
| Type | Name and description |
|---|---|
boolean |
disabledBomsReorder |
boolean |
disabledScopesCorrection |
boolean |
forcedVersions |
boolean |
removedDependencyManagement |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
disableBomsReorder()Gradle java-platform plugin always put used BOMs after other dependencies in the generated pom. |
|
void |
disableScopesCorrection()Disables dependencies scopes fixes performed by the plugin. |
|
void |
forceVersions()Force dependency versions in the generated pom. |
|
void |
removeDependencyManagement()Removes dependencyManagement section (generated by gradle for imported platforms). |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Gradle java-platform plugin always put used BOMs after other dependencies in the generated pom. Pom plugin fixes this by putting all BOMs at the top (unifies with spring plugin behaviour).
Option disables BOMs reordering to see native gradle behaviour.
Disables dependencies scopes fixes performed by the plugin. May be used to see the default gradle behaviour.
Optional and provided configurations dependencies would be generated with correct scopes in any case.
Force dependency versions in the generated pom. Useful when gradle platforms used (by default generated pom would rely on dependenciesManagement section).
Activated automatically for removeDependencyManagement().
Removes dependencyManagement section (generated by gradle for imported platforms). Also, forces dependency versions (forceVersions()) because without boms pom become invalid otherwise.
Option assumed to be used when gradle platforms used for dependency management, but it is not desired to preserve platforms in the generated pom.
Compatible with spring dependency management plugin.