Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MPMD-407] Upgrade to Doxia 2.0.0 GA Stack #175

Merged
merged 1 commit into from
Oct 19, 2024
Merged

Conversation

michael-o
Copy link
Member

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Make sure there is a JIRA issue filed
    for the change (usually before you start working on it). Trivial changes like typos do not
    require a JIRA issue. Your pull request should address just this issue, without
    pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [MPMD-XXX] - Subject of the JIRA Ticket,
    where you replace MPMD-XXX with the appropriate JIRA issue. Best practice
    is to use the JIRA issue title in the pull request title and in the first line of the
    commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its clean verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Sorry, something went wrong.

@michael-o michael-o marked this pull request as ready for review October 19, 2024 20:03
@michael-o michael-o mentioned this pull request Oct 19, 2024
8 tasks
This closes #175
@michael-o michael-o merged commit e99d2e4 into master Oct 19, 2024
4 of 13 checks passed
@michael-o michael-o deleted the doxia-2.0.0-ga branch October 19, 2024 20:42
@adangel adangel changed the title Doxia 2.0.0 ga [MPMD-407] Doxia 2.0.0 ga Oct 25, 2024
@adangel adangel changed the title [MPMD-407] Doxia 2.0.0 ga [MPMD-407] Upgrade to Doxia 2.0.0 GA Stack Oct 25, 2024
@adangel adangel added the dependencies Pull requests that update a dependency file label Oct 25, 2024
@knoobie
Copy link

knoobie commented Feb 25, 2025

@michael-o Sorry for the ping.. I wasn't really sure where to post this, especially without a proper reproducer..

We noticed some interesting / weird behavior since this change in our internal builds - once maven-pmd-plugin 3.26.0 is in use (containing DOXIA 2.0 GA) we got problem building against an internal JFrog Artifactory where it does not return proper 404 "errors" for "missing" site.xml (instead 401) resulting in a complete build crash.

Example:

An error has occurred in PMD report generation. The site descriptor cannot be resolved from the repository: 
Unable to locate site descriptor: The following artifacts could not be resolved: internal:parent-pom:xml:site:version (absent): 
Could not transfer artifact internal:parent-pom:xml:site:version from/to repo (https://internal-jfrog-instance/artifactory/repos): status code: 401, reason phrase:  (401) -> [Help 1]

@michael-o
Copy link
Member Author

@michael-o Sorry for the ping.. I wasn't really sure where to post this, especially without a proper reproducer..

We noticed some interesting / weird behavior since this change in our internal builds - once maven-pmd-plugin 3.26.0 is in use (containing DOXIA 2.0 GA) we got problem building against an internal JFrog Artifactory where it does not return proper 404 "errors" for "missing" site.xml (instead 401) resulting in a complete build crash.

Example:

An error has occurred in PMD report generation. The site descriptor cannot be resolved from the repository: 
Unable to locate site descriptor: The following artifacts could not be resolved: internal:parent-pom:xml:site:version (absent): 
Could not transfer artifact internal:parent-pom:xml:site:version from/to repo (https://internal-jfrog-instance/artifactory/repos): status code: 401, reason phrase:  (401) -> [Help 1]

Did you update Maven Site Plugin as well? Did you purge your local repository?

@knoobie
Copy link

knoobie commented Feb 25, 2025

Thanks for the fast response! We don't have Maven Site Plugin in any of our projects directly configured. Our local repository is always purged / newly build inside Jenkins build pipeline using -Dmaven.repo.local=.random-folder

@michael-o
Copy link
Member Author

Thanks for the fast response! We don't have Maven Site Plugin in any of our projects directly configured. Our local repository is always purged / newly build inside Jenkins build pipeline using -Dmaven.repo.local=.random-folder

Then I need to see a verbose log output.

@knoobie
Copy link

knoobie commented Feb 25, 2025

I've got a "small" (but sadly) internal project to reproduce it.. the verbose output is 300mb.. This is hopfully the interesting part for you:

What I found while trying to create a test project:

Using

  <parent>
    <groupId>internal</groupId>
    <artifactId>internal</artifactId>
    <version>2025.1</version>
    <relativePath/>
  </parent>

creates a problem - but using a SNAPSHOT version does not create a problem / the build works - even tho none of our parent poms have site.xml published.

Edit: I found why SNAPSHOT works differently.. our artifactory returns a proper 404.. not 401 for our SNAPSHOT repository


[main] DEBUG org.apache.maven.doxia.tools.DefaultSiteTool - Looking for site descriptor of level 1 parent project: internal:internal-parent:pom:2025.1
[main] DEBUG org.eclipse.aether.internal.impl.DefaultArtifactResolver - Resolving artifact internal:internal-parent:xml:site:2025.1 from [repo (https://internal.artifactory/artifactory/repos, default, releases+snapshots)]
[main] DEBUG org.eclipse.aether.internal.impl.DefaultArtifactResolver - Resolving artifact internal:internal-parent:xml:site:2025.1 from [repo (https://internal.artifactory/artifactory/repos, default, releases+snapshots)]
[main] DEBUG org.eclipse.aether.internal.impl.DefaultTransporterProvider - Using transporter HttpTransporter with priority 5.0 for https://internal.artifactory/artifactory/repos
[main] DEBUG org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider - Using connector BasicRepositoryConnector with priority 0.0 for https://internal.artifactory/artifactory/repos
[main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading from repo: https://internal.artifactory/artifactory/repos/internal-parent/2025.1/internal-parent-2025.1-site.xml
[main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: standard
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://internal.artifactory:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 494][route: {s}->https://internal.artifactory:443][total available: 0; route allocated: 1 of 50; total allocated: 1 of 100]
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://internal.artifactory:443
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request GET /artifactory/repos/internal-parent/2025.1/internal-parent-2025.1-site.xml HTTP/1.1
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> GET /artifactory/repos/internal-parent/2025.1/internal-parent-2025.1-site.xml HTTP/1.1
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> Cache-Control: no-cache, no-store
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> Pragma: no-cache
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> Host: internal.artifactory
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> Connection: Keep-Alive
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> User-Agent: Apache-Maven/3.9.9 (Java 17.0.4.1; Linux 3.10.0-1160.119.1.el7.x86_64)
[main] DEBUG org.apache.http.headers - http-outgoing-494 >> Accept-Encoding: gzip,deflate
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "GET /artifactory/repos/internal-parent/2025.1/internal-parent-2025.1-site.xml HTTP/1.1[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "Cache-Control: no-cache, no-store[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "Pragma: no-cache[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "Host: internal.artifactory[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "Connection: Keep-Alive[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "User-Agent: Apache-Maven/3.9.9 (Java 17.0.4.1; Linux 3.10.0-1160.119.1.el7.x86_64)[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "Accept-Encoding: gzip,deflate[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 >> "[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "HTTP/1.1 401 [\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Date: Tue, 25 Feb 2025 10:13:09 GMT[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Strict-Transport-Security: max-age=31536000[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "X-JFrog-Version: Artifactory/7.71.18 77118900[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "X-Artifactory-Id: 07bdfebacc61d46b:29f5673d:1909fcb9f43:-8000[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "X-Artifactory-Node-Id: x-ra1603[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "WWW-Authenticate: Basic realm="Artifactory Realm"[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Content-Type: application/json;charset=ISO-8859-1[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Connection: close[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "Transfer-Encoding: chunked[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "[\r][\n]"
[main] DEBUG org.apache.http.headers - http-outgoing-494 << HTTP/1.1 401 
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Date: Tue, 25 Feb 2025 10:13:09 GMT
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Strict-Transport-Security: max-age=31536000
[main] DEBUG org.apache.http.headers - http-outgoing-494 << X-JFrog-Version: Artifactory/7.71.18 77118900
[main] DEBUG org.apache.http.headers - http-outgoing-494 << X-Artifactory-Id: 07bdfebacc61d46b:29f5673d:1909fcb9f43:-8000
[main] DEBUG org.apache.http.headers - http-outgoing-494 << X-Artifactory-Node-Id: x-ra1603
[main] DEBUG org.apache.http.headers - http-outgoing-494 << WWW-Authenticate: Basic realm="Artifactory Realm"
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Content-Type: application/json;charset=ISO-8859-1
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Connection: close
[main] DEBUG org.apache.http.headers - http-outgoing-494 << Transfer-Encoding: chunked
[main] DEBUG org.apache.http.impl.auth.HttpAuthenticator - Authentication required
[main] DEBUG org.apache.http.impl.auth.HttpAuthenticator - internal.artifactory:443 requested authentication
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Authentication schemes in the order of preference: [Negotiate, Kerberos, NTLM, CredSSP, Digest, Basic]
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Challenge for Negotiate authentication scheme not available
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Challenge for Kerberos authentication scheme not available
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Challenge for NTLM authentication scheme not available
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Challenge for CredSSP authentication scheme not available
[main] DEBUG org.apache.http.impl.client.TargetAuthenticationStrategy - Challenge for Digest authentication scheme not available
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "4d[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "{[\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "  "errors" : [ {[\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "    "status" : 401,[\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "    "message" : "Unauthorized"[\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "  } ][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "}"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "0[\r][\n]"
[main] DEBUG org.apache.http.wire - http-outgoing-494 << "[\r][\n]"
[main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-494: Close connection
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 494][route: {s}->https://internal.artifactory:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener - [buildinfo] Could not resolve artifact: internal:internal-parent:xml:site:2025.1:project
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Summary for example root 1.0.0.java17-SNAPSHOT:
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - 
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example root .......................... FAILURE [01:07 min]
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example parent ........................ SKIPPED
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example project1 ...................... SKIPPED
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example project2 ...................... SKIPPED
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example BOM ........................... SKIPPED
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - example test-coverage-report .......... SKIPPED
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time:  01:09 min
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: 2025-02-25T11:13:09+01:00
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.26.0:pmd (pmd) on project example-root: An error has occurred in PMD report generation. The site descriptor cannot be resolved from the repository: Unable to locate site descriptor: The following artifacts could not be resolved: internal:internal-parent:xml:site:2025.1 (absent): Could not transfer artifact internal:internal-parent:xml:site:2025.1 from/to repo (https://internal.artifactory/artifactory/repos): status code: 401, reason phrase:  (401) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.26.0:pmd (pmd) on project example-root: An error has occurred in PMD report generation.
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error has occurred in PMD report generation.
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:283)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.doxia.tools.SiteToolException: The site descriptor cannot be resolved from the repository
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:983)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:1037)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:396)
    at org.apache.maven.reporting.AbstractMavenReport.createSiteRenderingContext (AbstractMavenReport.java:289)
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:254)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.doxia.tools.SiteToolException: Unable to locate site descriptor
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteDescriptorFromRepository (DefaultSiteTool.java:373)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:981)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:1037)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:396)
    at org.apache.maven.reporting.AbstractMavenReport.createSiteRenderingContext (AbstractMavenReport.java:289)
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:254)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: internal:internal-parent:xml:site:2025.1 (absent): Could not transfer artifact internal:internal-parent:xml:site:2025.1 from/to repo (https://internal.artifactory/artifactory/repos): status code: 401, reason phrase:  (401)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:473)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:261)
    at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver.resolveArtifacts (ArtifactoryEclipseArtifactResolver.java:56)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:243)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:278)
    at org.apache.maven.doxia.tools.DefaultSiteTool.resolveSiteDescriptor (DefaultSiteTool.java:917)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteDescriptorFromRepository (DefaultSiteTool.java:365)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:981)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:1037)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:396)
    at org.apache.maven.reporting.AbstractMavenReport.createSiteRenderingContext (AbstractMavenReport.java:289)
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:254)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact internal:internal-parent:xml:site:2025.1 from/to repo (https://internal.artifactory/artifactory/repos): status code: 401, reason phrase:  (401)
    at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:44)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:417)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:260)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:537)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:449)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:261)
    at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver.resolveArtifacts (ArtifactoryEclipseArtifactResolver.java:56)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:243)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:278)
    at org.apache.maven.doxia.tools.DefaultSiteTool.resolveSiteDescriptor (DefaultSiteTool.java:917)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteDescriptorFromRepository (DefaultSiteTool.java:365)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:981)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:1037)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:396)
    at org.apache.maven.reporting.AbstractMavenReport.createSiteRenderingContext (AbstractMavenReport.java:289)
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:254)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.http.client.HttpResponseException: status code: 401, reason phrase:  (401)
    at org.eclipse.aether.transport.http.HttpTransporter.handleStatus (HttpTransporter.java:620)
    at org.eclipse.aether.transport.http.HttpTransporter.execute (HttpTransporter.java:489)
    at org.eclipse.aether.transport.http.HttpTransporter.implGet (HttpTransporter.java:436)
    at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get (AbstractTransporter.java:64)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask (BasicRepositoryConnector.java:482)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:414)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:260)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:537)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:449)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:261)
    at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseArtifactResolver.resolveArtifacts (ArtifactoryEclipseArtifactResolver.java:56)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:243)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:278)
    at org.apache.maven.doxia.tools.DefaultSiteTool.resolveSiteDescriptor (DefaultSiteTool.java:917)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteDescriptorFromRepository (DefaultSiteTool.java:365)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:981)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:1037)
    at org.apache.maven.doxia.tools.DefaultSiteTool.getSiteModel (DefaultSiteTool.java:396)
    at org.apache.maven.reporting.AbstractMavenReport.createSiteRenderingContext (AbstractMavenReport.java:289)
    at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:254)
    at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:448)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:311)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[main] ERROR org.apache.maven.cli.MavenCli - 
[main] ERROR org.apache.maven.cli.MavenCli - 
[main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles:
[main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[main] DEBUG org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactoryImpl - Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[main] DEBUG org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactoryImpl - Shutting down 'file-lock' factory
[main] DEBUG org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactoryImpl - Shutting down 'rwlock-local' factory
[main] DEBUG org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactoryImpl - Shutting down 'semaphore-local' factory
[main] DEBUG org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactoryImpl - Shutting down 'noop' factory
ERROR: Couldn't execute Maven task. RuntimeException: Maven build failed with exit code 1

@michael-o
Copy link
Member Author

I mean, have you set up authentication for that repo? Obviously, no auth has been configured. Can you fix this before we go further? Here is the code: https://github.com/apache/maven-doxia-sitetools/blob/b8f8ab4d1f5bdeaf40d944e9d7d93fc13ebed4a0/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java#L826-L932
The 401 is expected to bubble up.

@knoobie
Copy link

knoobie commented Feb 25, 2025

I've reported this internally to our Artifactory Admin Team. I think it could be a bug within JFrog's Artifactory. All our repositories are public (no auth is required)

Thanks for your really fast response and time! I'm gonna come back to you once I know more about this behaviour to inform you about (hopefully a fix on our side). A workaround for us (at the moment) is to downgrade maven-pmd-plugin to 3.24.0 where DOXIA 1.x is in use (which.. is more lenient in this case?)

@michael-o
Copy link
Member Author

I've reported this internally to our Artifactory Admin Team. I think it could be a bug within JFrog's Artifactory. All our repositories are public (no auth is required)

Thanks for your really fast response and time! I'm gonna come back to you once I know more about this behaviour to inform you about (hopefully a fix on our side). A workaround for us (at the moment) is to downgrade maven-pmd-plugin to 3.24.0 where DOXIA 1.x is in use (which.. is more lenient in this case?)

Thanks to hear, but honestly the older version was less lenient from my enterprise experience, but YMMV. See the comment in the work, the workaround I have implemented. Can you share logs with the old version as well?

@knoobie
Copy link

knoobie commented Feb 25, 2025

I tried to find the exact same place in the logs but that's kinda hard with 300mb.. What I found: the old version (3.24.0) never tried to access the -site.xml from our parent and therefore never failed.. That's interesting

@knoobie
Copy link

knoobie commented Mar 3, 2025

@michael-o Thanks for your time! We found the culprit.. within our Jfrog's virtual repositories.. one mirrored repository had authentication enabled.. which in turn broke our anonymous access to artefacts (-site.xml) that were not available in other mirrored repositories because Jfrog tried to search within the authentication required repo (without auth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants