You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@maven.apache.org by Slawomir Jaranowski <sj...@apache.org> on 2022/09/26 12:41:31 UTC

[ANN] Apache Maven Verifier 2.0.0-M1 Released

The Apache Maven team is pleased to announce the release of the Apache
Maven Verifier, version 2.0.0-M1

This library provides a test harness for Maven integration tests.

https://maven.apache.org/shared/maven-verifier/

You should specify the dependency in your project:

<dependency>
  <groupId>org.apache.maven.shared</groupId>
  <artifactId>maven-verifier</artifactId>
  <version>2.0.0-M1</version>
</dependency>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/shared/maven-verifier/download.html

Release Notes - Maven Shared Components - Version maven-verifier-2.0.0-M1

** Improvement
    * [MSHARED-690] - Change package from org.apache.maven.it to
org.apache.maven.shared.verifier
    * [MSHARED-1124] - Add new version of methods filterFile and
newDefaultFilterMap
    * [MSHARED-1125] - Require Maven args to be provided one by one
    * [MSHARED-1127] - Remove main method from Verifier
    * [MSHARED-1128] - Deprecate all executeGoal(s) methods
    * [MSHARED-1129] - Replace CLI options with CLI args
    * [MSHARED-1134] - Remove / deprecate internal debug mode in Verifier
    * [MSHARED-1135] - Deprecate Verifier#setMavenDebug(boolean) for removal
    * [MSHARED-1137] - Revise
Verifier#getDefaultMavenHome()/#getExecutable()
    * [MSHARED-1142] - Remove e.getMessage() duplication when e is passed
as object

** Dependency upgrade
    * [MSHARED-1075] - Upgrade Parent to 36
    * [MSHARED-1089] - Update maven-verifier to JDK 8 / Junit 5
    * [MSHARED-1126] - Bump maven-shared-components from 36 to 37
    * [MSHARED-1148] - Bump junit-jupiter from 5.9.0 to 5.9.1

Enjoy,

-The Apache Maven team

Re: [ANN] Apache Maven Verifier 2.0.0-M1 Released

Posted by Konrad Windszus <kw...@apache.org>.
Sorry for the copy&paste mistake above. The PR is at https://github.com/apache/jackrabbit-filevault-package-maven-plugin/pull/85. 

It failed after a simple upgrade as can be seen in https://ci-builds.apache.org/blue/organizations/jenkins/Jackrabbit%2Ffilevault-package-maven-plugin/detail/PR-85/1/pipeline. It tried replacing "aether-transport-wagon" by "aether-transport-http" but it still fails. I can only reproduce with the more complicated ASF Jenkins setup which runs ITs separately, but wagon used to work with Maven Verifier 1.8.0 flawlessly.

Konrad

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [ANN] Apache Maven Verifier 2.0.0-M1 Released

Posted by Konrad Windszus <kw...@apache.org>.
I just tested this release with filevault-package-maven-plugin and run into the following exception (https://github.com/Netcentric/accesscontroltool/releases/tag/3.0.6):


Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.jackrabbit:filevault-package-maven-plugin:1.3.1-SNAPSHOT or one of its dependencies could not be resolved: Could not transfer artifact org.codehaus.plexus:plexus-interpolation:jar:1.26 from/to central (https://repo.maven.apache.org/maven2): Cannot access https://repo.maven.apache.org/maven2 with type default using the available connector factories: BasicRepositoryConnectorFactory
	at .....
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
      role: org.apache.maven.wagon.Wagon
  roleHint: https
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
	at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
	at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
	at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
	... 110 more
Caused by: java.util.NoSuchElementException
	at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
	at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
	at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
	at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
	... 114 more

Any idea what may have caused this? Do I need to adjust other dependencies?
Thanks in advance for any pointers,
Konrad

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org