You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/04/24 20:02:40 UTC

[jira] [Commented] (PHOENIX-1913) Unable to build the website code in svn

    [ https://issues.apache.org/jira/browse/PHOENIX-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511445#comment-14511445 ] 

Nick Dimiduk commented on PHOENIX-1913:
---------------------------------------

Can you make sure your svn is up to date? What versions of Java and Maven are you using?

{noformat}
hw11397:apache-phoenix.apache.org ndimiduk$ java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
hw11397:apache-phoenix.apache.org ndimiduk$ mvn --version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00)
Maven home: /usr/local/Cellar/maven/3.2.5/libexec
Java version: 1.7.0_67, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
hw11397:apache-phoenix.apache.org ndimiduk$ svn up
Updating '.':
At revision 1675906.
hw11397:apache-phoenix.apache.org ndimiduk$ ls
build.sh         doap_phoenix.rdf phoenix-docs     site
hw11397:apache-phoenix.apache.org ndimiduk$ ./build.sh 
Generate Phoenix Website
Pre-req: On source repo run $ mvn install -DskipTests

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 18212 ms

BUILDING SITE
===========================
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Phoenix 4.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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.4.0-SNAPSHOT
[INFO] Parent project loaded from repository: org.apache:apache:pom:14
[INFO] Relativizing decoration links with respect to project URL: http://phoenix.apache.org/
[INFO] Rendering site with lt.velykis.maven.skins:reflow-maven-skin:jar:1.1.0 skin.
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (Merge Language Reference) @ phoenix-site ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.020 s
[INFO] Finished at: 2015-04-24T11:00:35-07:00
[INFO] Final Memory: 16M/245M
[INFO] ------------------------------------------------------------------------

Removing temp directories
===========================
{noformat}

> Unable to build the website code in svn
> ---------------------------------------
>
>                 Key: PHOENIX-1913
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1913
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: maghamravikiran
>            Assignee: Mujtaba Chohan
>
> 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
(v6.3.4#6332)