[ 
https://issues.apache.org/jira/browse/MSHARED-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski closed MSHARED-997.
---------------------------------------

> 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
>            Assignee: Slawomir Jaranowski
>            Priority: Critical
>             Fix For: maven-dependency-analyzer-1.12.0
>
>
> 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.20.1#820001)

Reply via email to