[
https://issues.apache.org/jira/browse/MSHARED-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423012#comment-17423012
]
Slawomir Jaranowski commented on MSHARED-997:
---------------------------------------------
with commit {{a79910e73809f45c6cba473d87f880012be7146e}}
and maven {{3.8.2}} we have:
{code:java}
[ERROR]
testJarWithRuntimeScopedTestDependency(org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzerTest)
Time elapsed: 0.018 s <<< ERROR!
org.apache.maven.shared.test.plugin.TestToolsException: Error building Maven
settings.
at
org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzerTest.setUp(DefaultProjectDependencyAnalyzerTest.java:86)
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'blocked' (position: START_TAG seen ...</url>\r\n
<blocked>... @164:16)
at
org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzerTest.setUp(DefaultProjectDependencyAnalyzerTest.java:86)
{code}
> 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
> Priority: Critical
>
> 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)