[ https://issues.apache.org/jira/browse/MSHARED-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikolaj Izdebski updated MSHARED-490: ------------------------------------- Attachment: 0001-Configure-Plexus-container-for-running-tests-with-Ma.patch > Plexus lookup test fails with Maven 3.1.0 or later > -------------------------------------------------- > > Key: MSHARED-490 > URL: https://issues.apache.org/jira/browse/MSHARED-490 > Project: Maven Shared Components > Issue Type: Test > Components: maven-shared-io > Affects Versions: maven-shared-io-3.0.0 > Reporter: Mikolaj Izdebski > Attachments: > 0001-Configure-Plexus-container-for-running-tests-with-Ma.patch > > > testShouldLookupInstanceDefaultRoleHint of DefaultDownloadManagerTest fails > when running with Maven 3.1.0 or later. Attached patch improves test to work > with all Maven 3 versions. > Reproducer: {{mvn clean test -DmavenVersion=3.1.0}} > Stack trace: > {code} > Running org.apache.maven.shared.io.download.DefaultDownloadManagerTest > Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.812 sec > <<< FAILURE! - in > org.apache.maven.shared.io.download.DefaultDownloadManagerTest > testShouldLookupInstanceDefaultRoleHint(org.apache.maven.shared.io.download.DefaultDownloadManagerTest) > Time elapsed: 0.751 sec <<< ERROR! > org.codehaus.plexus.component.repository.exception.ComponentLookupException: > com.google.inject.ProvisionException: Guice provision errors: > 1) No implementation for java.util.Set<org.eclipse.aether.RepositoryListener> > was bound. > while locating java.util.Set<org.eclipse.aether.RepositoryListener> > for parameter 0 at > org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.<init>(Unknown > Source) > while locating > org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher > at ClassRealm[plexus.core, parent: null] > at ClassRealm[plexus.core, parent: null] > while locating org.eclipse.aether.impl.RepositoryEventDispatcher > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)