Releases: maveniverse/toolbox
0.6.4
Latest Toolbox fixes 3 existing Mojos: parent-child-tree
, subproject-tree
and project-dependency-tree
by making them aggregator Mojos and adding selector to them. Some example usage of these mojos here and here.
Also, introduced Mojo dirty-tree
that works on current project, unlike its existing counterpart gav-dirty-tree
that accepts GAV.
What's Changed
- Dirty tree Mojo by @cstamas in #171
- Bump version.slf4j from 2.0.16 to 2.0.17 by @dependabot in #173
- Bump org.junit.jupiter:junit-jupiter-api from 5.11.4 to 5.12.0 by @dependabot in #172
- Fix aggregating mojos by @cstamas in #174
Full Changelog: release-0.6.3...release-0.6.4
0.6.3
0.6.2
Finally, the versions
and plugin-versions
mojos/commands got selectors. The (existing) parameter artifactVersionMatcherSpec
filters "versions that should be considered", with default value left as noSnapshotsAndPreviews()
(no snapshot and preview versions are considered). The (new) parameter artifactVersionSelectorSpec
performs the version selection, and default value is mimicking the same logic that was replaced with selector: last()
(just grab last element of sorted versions).
Selectors may be (see eu.maveniverse.maven.toolbox.shared.ArtifactVersionSelector
class), selection happens on a list of versions greater tha current:
last()
-- selects last newer versionidentity()
-- selects same version; this results in no-op as one could expectfirst()
-- selects first newer versionmajor()
-- selects last version that has same major as artifactminor()
-- selects last version that has same major and minor as artifact
Minor bugfix was done as well, those mojos/commands that have applyToPom
(applies some sort of transformation to POM) will not act if there is no transformation to be applied.
What's Changed
- Bump org.junit.jupiter:junit-jupiter-api from 5.11.3 to 5.11.4 by @dependabot in #153
- Bump org.apache.groovy:groovy-all from 4.0.24 to 4.0.25 by @dependabot in #161
- Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.0.1 to 4.1.1 by @dependabot in #158
- Bump version.jline from 3.28.0 to 3.29.0 by @dependabot in #163
- Update MIMA by @cstamas in #166
- Add ArtifactVersionSelector to versions call by @cstamas in #167
Full Changelog: release-0.6.1...release-0.6.2
0.6.1
What's Changed
- Bump version.jline from 3.27.1 to 3.28.0 by @dependabot in #150
- Small improvements to REPL command by @gnodet in #149
- Lock plugin versions by @cstamas in #152
New Contributors
Full Changelog: release-0.6.0...release-0.6.1
0.6.0
EXPERIMENTAL: The Mojos gav-list-available-plugins
, plugin-versions
and versions
got POM editing capabilities, so the reported updates can be applied to POM (while preserving all the formatting). Please test, and report back!
In case of plugin-versions
and versions
use the -DapplyToPom
switch to have it "edit" current project POM with discovered updates. Use git diff
to check out results. These mojos requires project (as they are not gav-
prefixed).
In case of gav-list-available-plugins
, by default it will use your settings.xml
to figure out groupId (by default org.apache.maven.plugins
and org.codehaus.mojo
) and list plugins, but it can also "generate" POM for you with -DtoPom=path-to-pom.xml
(and you can combine -Dupsert
if you want to push all).
What's Changed
- Expose helpers by @cstamas in #146
- POM editing: add ability to some mojos to "edit" the POM by @cstamas in #145
- Better javadoc by @cstamas in #148
Full Changelog: release-0.5.2...release-0.6.0
0.5.2
0.5.1
0.5.0
Not much, no functional or feature wise change, but using latest MIMA and Toolbox is now "downgraded" to Java 11+.
What's Changed
- Bump org.apache.groovy:groovy-all from 4.0.23 to 4.0.24 by @dependabot in #139
- Bump eu.maveniverse.maven.parent:parent from 20 to 21 by @dependabot in #138
- Downgrade to Java 11 by @cstamas in #141
Full Changelog: release-0.3.6...release-0.5.0
0.3.6
What's Changed
- Bump version.mavenPluginTools from 3.15.0 to 3.15.1 by @dependabot in #134
- gav-effective-model by @cstamas in #133
- Introduce dry-run by @cstamas in #135
Full Changelog: release-0.3.5...release-0.3.6
0.3.5
What's Changed
- Fix tree NPE by @cstamas in #131
- Bump org.junit.jupiter:junit-jupiter-api from 5.11.2 to 5.11.3 by @dependabot in #130
Full Changelog: release-0.3.4...release-0.3.5