You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2021/09/30 16:26:00 UTC

[jira] [Created] (MSHARED-997) Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer

Slawomir Jaranowski created MSHARED-997:
-------------------------------------------

             Summary: Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer
                 Key: MSHARED-997
                 URL: https://issues.apache.org/jira/browse/MSHARED-997
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-dependency-analyzer
            Reporter: Slawomir Jaranowski


There is no possibility to build project by:
{code:java}
mvn clean verify
{code}
Tested last commit: {{b6adba0bcda5036a9bc59e23be2976672b729198}}

Maven and java versin:
{code:java}
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /usr/local/Cellar/maven/3.8.2/libexec
Java version: 1.8.0_302, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk@8/1.8.0+302/libexec/openjdk.jdk/Contents/Home/jre
{code}
I have many logs like:
{code:java}
37) No implementation for java.util.Set<org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory> was bound.
  while locating java.util.Set<org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory>
    for parameter 0 at org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider.<init>(Unknown Source)
  while locating org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider
  at ClassRealm[plexus.core, parent: null]
  at ClassRealm[plexus.core, parent: null]
  while locating org.eclipse.aether.impl.LocalRepositoryProvider
    for parameter 8 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
  while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
  at ClassRealm[plexus.core, parent: null]
  at ClassRealm[plexus.core, parent: null]
  while locating org.eclipse.aether.RepositorySystem
  while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
  at ClassRealm[plexus.core, parent: null]
  at ClassRealm[plexus.core, parent: null]
{code}
and test result:
{code:java}
INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[ERROR]   DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
[INFO] 
[ERROR] Tests run: 101, Failures: 0, Errors: 15, Skipped: 0
{code}
h3. Build on Apache Jenkins

There is also strange behavior that {{jenkins}} build also has similar errors - but failed tests aren't reported.

[https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dependency-analyzer/job/master/]
h3. Build on GitHub

There is also the same problem on GitHub:

 https://github.com/apache/maven-dependency-analyzer/actions



--
This message was sent by Atlassian Jira
(v8.3.4#803005)