You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/02/07 10:14:00 UTC

[jira] [Resolved] (PHOENIX-1913) Unable to build the website code in svn with Java 8

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

Istvan Toth resolved PHOENIX-1913.
----------------------------------
    Resolution: Fixed

This has already been fixed, the website can be built with Java 8 now.
(Now it breaks on newer Java versions)

> Unable to build the website code in svn with Java 8
> ---------------------------------------------------
>
>                 Key: PHOENIX-1913
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1913
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: maghamravikiran
>            Assignee: Mujtaba Chohan
>            Priority: Major
>
> Following the steps mentioned in http://phoenix.apache.org/building_website.html I get the below exception 
> Generate Phoenix Website
> Pre-req: On source repo run $ mvn install -DskipTests
> BUILDING LANGUAGE REFERENCE
> ===========================
> src/tools/org/h2/build/BuildBase.java:136: error: no suitable method found for replaceAll(String,String,String)
>             pattern = replaceAll(pattern, "/", File.separator);
>                       ^
>     method List.replaceAll(UnaryOperator<File>) is not applicable
>       (actual and formal argument lists differ in length)
>     method ArrayList.replaceAll(UnaryOperator<File>) is not applicable
>       (actual and formal argument lists differ in length)
> 1 error
> Error: Could not find or load main class org.h2.build.Build
> BUILDING SITE
> ===========================
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.phoenix:phoenix-site:[unknown-version] (/Users/ravimagham/git/sources/phoenix/site/source/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.phoenix:phoenix:pom:4.4.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> Can you please have a look ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)