Releases: fedora-java/xmvn
XMvn 4.3.0
What's Changed
- Bump commons-compress from 1.22 to 1.23.0 in /xmvn-parent by @dependabot in #274
- Bump asm from 9.4 to 9.5 in /xmvn-parent by @dependabot in #276
- Bump maven-resources-plugin from 3.3.0 to 3.3.1 in /xmvn-parent by @dependabot in #278
- Bump maven-install-plugin from 3.1.0 to 3.1.1 in /xmvn-parent by @dependabot in #277
- Bump maven-deploy-plugin from 3.1.0 to 3.1.1 in /xmvn-parent by @dependabot in #275
- Remove the args file from the javadoc tree once it is not needed any more by @fridrich in #290
- Bump mavenResolverVersion from 1.9.7 to 1.9.8 in /xmvn-parent by @dependabot in #282
- Bump pluginToolsVersion from 3.8.1 to 3.8.2 in /xmvn-parent by @dependabot in #285
- Bump jacoco-maven-plugin from 0.8.8 to 0.8.10 in /xmvn-parent by @dependabot in #286
- Bump codecov/codecov-action from 3.1.1 to 3.1.4 by @dependabot in #287
- Bump maven-checkstyle-plugin from 3.2.1 to 3.3.0 in /xmvn-parent by @dependabot in #288
- Bump apache-source-release-assembly-descriptor from 1.0.6 to 1.5 in /xmvn-parent by @dependabot in #280
- Fix typo in JavadocMojo by @ckelleyRH in #301
- Reproducible javadoc by @mizdebsk in #302
- Reproducible manifest injection by @mizdebsk in #303
- Deprecate UUIDs by @mizdebsk in #304
- Bump pluginToolsVersion from 3.8.2 to 3.15.0 in /xmvn-parent by @dependabot in #305
- Bump actions/checkout from 3 to 4 by @dependabot in #292
- Bump org.codehaus.mojo:build-helper-maven-plugin from 3.3.0 to 3.6.0 in /xmvn-parent by @dependabot in #306
- Bump org.codehaus.modello:modello-maven-plugin from 2.1.1 to 2.4.0 in /xmvn-parent by @dependabot in #307
- Bump mavenVersion from 3.9.1 to 3.9.9 in /xmvn-parent by @dependabot in #310
- Bump org.apache.commons:commons-compress from 1.23.0 to 1.27.1 in /xmvn-parent by @dependabot in #308
- Bump org.apache.commons:commons-compress from 1.21 to 1.26.0 in /xmvn-it/src/test/resources/testJavadoc by @dependabot in #309
- Implement MetadataResult.getPackageMetadataMap() by @mizdebsk in #311
- Bump org.ow2.asm:asm from 9.5 to 9.7 in /xmvn-parent by @dependabot in #318
- Bump org.apache.apache.resources:apache-source-release-assembly-descriptor from 1.5 to 1.7 in /xmvn-parent by @dependabot in #317
- Bump org.apache.maven.plugins:maven-dependency-plugin from 3.5.0 to 3.8.0 in /xmvn-parent by @dependabot in #316
- Bump codecov/codecov-action from 3.1.4 to 4.5.0 by @dependabot in #314
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.3 in /xmvn-parent by @dependabot in #313
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.13.0 in /xmvn-parent by @dependabot in #315
- Bump slf4jVersion from 2.0.7 to 2.0.16 in /xmvn-parent by @dependabot in #319
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.2.0 to 3.4.0 in /xmvn-parent by @dependabot in #320
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.0.1 to 3.2.6 in /xmvn-parent by @dependabot in #323
- Bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.1 in /xmvn-parent by @dependabot in #322
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to 3.1.3 in /xmvn-parent by @dependabot in #324
- Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0 in /xmvn-parent by @dependabot in #325
- Bump org.apache.rat:apache-rat-plugin from 0.15 to 0.16.1 in /xmvn-parent by @dependabot in #326
- Bump org.xmlunit:xmlunit-assertj3 from 2.9.1 to 2.10.0 in /xmvn-parent by @dependabot in #327
- Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.12 in /xmvn-parent by @dependabot in #328
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.10.0 in /xmvn-parent by @dependabot in #329
- Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 in /xmvn-parent by @dependabot in #330
- Bump org.apache.maven.plugins:maven-assembly-plugin from 3.5.0 to 3.7.1 in /xmvn-parent by @dependabot in #332
- Bump org.junit.jupiter:junit-jupiter-api from 5.9.2 to 5.11.1 in /xmvn-parent by @dependabot in #331
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.0.0 to 3.5.0 in /xmvn-parent by @dependabot in #333
- Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.5.0 in /xmvn-parent by @dependabot in #334
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.2 in /xmvn-parent by @dependabot in #335
New Contributors
- @ckelleyRH made their first contribution in #301
Full Changelog: 4.2.0...4.3.0
XMvn 4.2.0
What's Changed
- Make builddep compatible with Maven 4 by @mizdebsk in #265
- Logging refactoring by @mizdebsk in #266
- More refactoring by @mizdebsk in #267
- Javadoc fixes by @mizdebsk in #268
- Update Maven to version 3.9.1 by @mizdebsk in #269
- Plexus farewell by @mizdebsk in #270
- More logging and test refactoring by @mizdebsk in #272
- Bump slf4jVersion from 2.0.6 to 2.0.7 in /xmvn-parent by @dependabot in #271
- Release version 4.2.0 by @mizdebsk in #273
Full Changelog: 4.1.0...4.2.0
XMvn 4.1.0
Release version 4.1.0
XMvn 4.0.0
Release version 4.0.0
XMvn 3.1.0
Release version 3.1.0
XMvn 3.0.0
API changes
-
New
Configurator
APIXMvn 3.0.0 adds Configurator API service, which exposes XMvn
configuration as Java beans. -
New
MetadataResolver
APIXMvn 3.0.0 adds new API service -
MetadataResolver
, which
allows resolution of metadata for artifacts installed in the
system. -
Service locator API
Instances of services provided by XMvn API can now be obtained
using service locator, without using dependency injection. This
change obsoleted XMvn Launcher module, which was removed in XMvn
3.0.0. -
New default compiler source setting
Since XMvn 3.0.0
compilerSource
setting has a new default
value equal to1.6
.
Changes in binary distribution
-
Launcher scripts removed from binary tarball
Launcher scripts for tools, such as
xmvn-resolve
,
xmvn-install
etc., as well asxmvn
launcher, were
removed. From now on, tools can be ran usingjava -jar
syntax and XMvn itself can be ran using standardmvn
launcher. This is upstream change only - downstream
distributions may continue to provide distro-specific launchers. -
Ivy connector removed from binary tarball
Since XMvn 3.0.0, connector for Apache Ivy is no longer included
in binary tarball.
New features
-
Ignoring duplicate metadata made configurable
XMvn versions prior to 3.0.0 would previously always ignore
installed artifacts, which have multiple metadata, for example
when more than one package provides the same artifact. XMvn
3.0.0 added new optionignoreDuplicateMetadata
, which can
be used to control this behavior.
ignoreDuplicateMetadata
istrue
by default, but when
set tofalse
XMvn will resolve metadata for the first
artifact found, ignoring others. -
POM files for Tycho projects are not installed
Projects built with Eclipse Tycho install JAR files in private
locations specific to Eclipse, so POM files and metadata for
them are not installed. -
PoC implementation of Javadoc MOJO
XMvn 3.0.0 added new MOJO, which can be used to generate API
documentation (javadocs) as alternative to Maven Javadoc Plugin.
Goalxmvn-mojo:javadoc
works in similar way to
javadoc:aggregate
, but it has some advantages over it.
XMvn javadoc makes javadocs more consistent between packages -
it unifies javadoc options, doclet used, CSS styles, and so on.
It opens possibilities for better integration with distributions
in the future, like for example distro-specific themes, links or
dependencies between javadoc packages. It also has much fewer
dependencies, which means smaller builroots and faster builds. -
More accurate builddep MOJO
Builddep MOJO, which can be used for auto-generating
build-requires, was rewritten almost from scratch. Now its
output should be much more accurate. -
Partial compatibility with Maven 3.0
XMvn 3.0.0 restores partial compatibility with Maven 3.0.
Bug fixes
-
Ignoring runtime exceptions during bytecode analysis
Previously XMvn Installer would terminate abnormally on bytecode
it couldn't parse, such as newer bytecode than recognized by ASM
library which XMvn uses. This has been fixed in XMvn 3.0.0. -
Coping with whitespaces in file names
When installing files with whitespace in their names, XMvn
Installer would previously generate incorrect file descriptor.
XMvn 3.0.0 fixes this bug.
Other changes
-
Release on Maven Central Repository
Since 3.0.0 XMvn will be available in Maven Central Repository.
-
Migrated from fedorahosted.org to GitHub
Since fedorahosted.org, the service that XMvn used to be hosted
on, was decommissioned, XMvn source repository was moved to new
home, which is now at GitHub:
https://github.com/fedora-java/xmvn/
XMvn 2.5.0
Major features
-
XMvn Gradle plugin
XMvn Gradle plugin was implemented in version 2.5.0. When
applied on a project, this plugin automatically configures
repositories in local mode, so that project dependencies can be
resolved from system repository. It also provides
xmvnInstall
task, which can be used to install artifacts
produced by the build with XMvn Installer. -
Custom buildroot option for XMvn Subst
XMvn Subst now accepts a new option,
--root
, which
specifies buildroot from which XMvn should resolve artifacts, in
addition to standard locations. This option can be used for
symlinking JARs produced during build. (Bug: 1226251)
Major bugfixes
-
Builddep MOJO fixes
Builddep MOJO was rewritten from scratch. The new code is more
generic and supports many corner case in which the previous
version produced incorrect results (bugs: 1217422, 1217425,
1217462, 1217473).
Minor features
-
Warning when builddep MOJO is ran with pure Maven
XMvn builddep MOJO 2.5.0 will print a warning when it's ran
outsides of XMvn. -
Allowing manifacs injection for invalid JAR files
OpenJDK has a sanity check that prevents adding duplicate
entries to ZIP streams. When trying to inject manifests to JAR
files with duplicate entries XMvn would previously fail with
"ZipException: duplicate entry". XMvn 2.5.0 added a workaround
that allows manifest injection to such invalid JAR files.
Minor bugfixes
-
GradleResolver crash when resolving tools.jar
XMvn 2.5.0 fixes a bug that caused Gradle resolver crash when
trying to resolve tools.jar artifact. -
Crash when effective POM generation failed
XMvn 2.5.0 fixes a bug that caused crash with
NullPointerException uppon failure to generate effective POM. -
Slashes in effective POM names are replaced with dots
XMvn versions prior to 2.5.0 would try to create effective POM
files with artifactID as name, even if it contain slash
character. XMvn 2.5.0 fixes this bug.
Other changes
XMvn 2.5.0 drops support for rarely-used compatibility
configuration suffixes.
XMvn 2.4.0
Major features
-
Support for Mock pm_request plugin
XMvn 2.4.0 supports on-demand artifact installation via Mock
pm_request plugin. When this plugin is enabled then XMvn will
try to install any missing artifacts instead of failing.
Major bugfixes
-
Java requires
Generation of Java requires (rhbz#1086335) was fixed in this
XMvn release.
Minor features
-
Effective POM caching
XMvn 2.4.0 fixes tries to avoid creating polluting system with
temporary files. In particular effective POMs are cached in XDG
cache directory.
XMvn 2.3.2
Minor bugfixes
-
NullPointerException during model validation
XMvn 2.3.2 fixes a NullPointerException regression in
XMvnModelValidator, which occured during validation of models
without build instructions.
XMvn 2.3.1
Major bugfixes
-
Installation of multiple artifacts in one directory
Version 2.3.1 fixes a bug that caused XMvn Install to fail when
trying to install multiple artifacts to the same directory.
Minor features
-
Optional dependencies in effective POM
Since version 2.3.1 effective POMs generated by XMvn include
information whether given project dependency is optional or not.