[
https://issues.apache.org/jira/browse/PHOENIX-6853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832750#comment-17832750
]
Hari Krishna Dara commented on PHOENIX-6853:
--------------------------------------------
Right now, either using an older Maven version (I tried 3.6.0) or 3.8.1 with
the [mirror workaround|https://stackoverflow.com/a/67835542/95750] is not
working. It seems like conjars.org is down and it times out while trying to
download various site.xml files from conjars.org so had to workaround by
creating the following empty files:
{{touch
~/.m2/repository/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site_en.xml}}
{{touch
~/.m2/repository/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site.xml}}
{{touch ~/.m2/repository/org/apache/apache/14/apache-14-site_en.xml}}
{{touch ~/.m2/repository/org/apache/apache/14/apache-14-site.xml}}
> Phoenix site build is broken
> ----------------------------
>
> Key: PHOENIX-6853
> URL: https://issues.apache.org/jira/browse/PHOENIX-6853
> Project: Phoenix
> Issue Type: Bug
> Reporter: Viraj Jasani
> Assignee: Lokesh Khurana
> Priority: Major
>
> Building site requires executing build.sh (guidelines:
> [https://phoenix.apache.org/building_website.html])
> For python3, we can use this command to start the http server locally on port
> 8000
> {code:java}
> python3 -m http.server 8000 {code}
> The error while building site:
> {code:java}
> $ ./build.sh
> Generate Phoenix Website
> BUILDING LANGUAGE REFERENCE
> ===========================
> Target: docs
> Deleting temp
> Deleting docs
> Compiling 541 classes
> Copying 1 files to temp
> Compiling 515 classes
> Copying 15 files to temp
> Compiling 35 classes
> Deleting docs
> Running org.h2.build.doc.XMLChecker
> Running org.h2.build.code.CheckTextFiles
> Running org.h2.build.doc.GenerateDoc
> Running org.h2.build.doc.WebSite
> Running org.h2.build.doc.LinkChecker
> Running org.h2.build.doc.XMLChecker
> Running org.h2.build.doc.SpellChecker
> Done in 18858 ms
> BUILDING SITE
> ===========================
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.phoenix:phoenix-site:jar:4.3.1
> [WARNING] Reporting configuration should be done in <reporting> section, not
> in maven-site-plugin <configuration> as reportPlugins parameter. @ line 52,
> column 23
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------< org.apache.phoenix:phoenix-site
> >-------------------
> [INFO] Building Phoenix 4.3.1
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix-site ---
> [INFO]
> [INFO] --- maven-site-plugin:3.3:site (default-site) @ phoenix-site ---
> [INFO] configuring report plugin org.codehaus.mojo:findbugs-maven-plugin:2.5.2
> [INFO] Parent project loaded from repository:
> org.apache.phoenix:phoenix:pom:4.3.1
> [INFO] Parent project loaded from repository: org.apache:apache:pom:14
> Downloading from apache release:
> https://repository.apache.org/content/repositories/releases/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site_en.xml
> Downloading from apache snapshot:
> https://repository.apache.org/content/repositories/snapshots/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site_en.xml
> Downloading from sonatype-nexus-snapshots:
> https://oss.sonatype.org/content/repositories/snapshots/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site_en.xml
> Downloading from central:
> https://repo.maven.apache.org/maven2/org/apache/phoenix/phoenix/4.3.1/phoenix-4.3.1-site_en.xml
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.414 s
> [INFO] Finished at: 2023-01-12T10:14:39-08:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project
> phoenix-site: SiteToolException: The site descriptor cannot be resolved from
> the repository: ArtifactResolutionException: Unable to locate site
> descriptor: Could not transfer artifact
> org.apache.phoenix:phoenix:xml:site_en:4.3.1 from/to
> maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for
> repositories: [conjars.org (http://conjars.org/repo, default,
> releases+snapshots), apache.snapshots
> (http://repository.apache.org/snapshots, default, snapshots)]
> [ERROR] org.apache.phoenix:phoenix:xml:4.3.1
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] apache release
> (https://repository.apache.org/content/repositories/releases/, releases=true,
> snapshots=true),
> [ERROR] maven-default-http-blocker (http://0.0.0.0/, releases=true,
> snapshots=true),
> [ERROR] apache snapshot
> (https://repository.apache.org/content/repositories/snapshots/,
> releases=true, snapshots=true),
> [ERROR] sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapshots, releases=true,
> snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [ERROR]
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)