Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-997

Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer

    XMLWordPrintableJSON

Details

    Description

      There is no possibility to build project by:

      mvn clean verify
      

      Tested last commit: b6adba0bcda5036a9bc59e23be2976672b729198

      Maven and java versin:

      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
      

      I have many logs like:

      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]
      

      and test result:

      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
      

      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/

      Build on GitHub

      There is also the same problem on GitHub:

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

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: