You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2023/11/10 09:19:04 UTC
(phoenix-connectors) branch master updated: PHOENIX-7104 Remove phoenix 4.x info from Connectors BUILDING.md
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git
The following commit(s) were added to refs/heads/master by this push:
new 11329d3 PHOENIX-7104 Remove phoenix 4.x info from Connectors BUILDING.md
11329d3 is described below
commit 11329d3597849f5199b821e8addf23703eb84c4e
Author: Istvan Toth <st...@apache.org>
AuthorDate: Fri Nov 10 10:08:13 2023 +0100
PHOENIX-7104 Remove phoenix 4.x info from Connectors BUILDING.md
---
BUILDING.md | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/BUILDING.md b/BUILDING.md
index 308d3f8..b6edf29 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -24,23 +24,18 @@ Copyright ©2019 [Apache Software Foundation](http://www.apache.org/). All Right
## Building Apache Phoenix Connectors
This repository will build jars for the different Phoenix connectors.
-Phoenix 4 and Phoenix 5 versions use different Hadoop and HBase versions, and require separate versions of the connectors.
-Phoenix 4 requires Hadoop 2.x and HBase 1.x, while Phoenix 5 requires Hadoop 3.x and HBase 2.x
-The standard build process builds the connectors both for Phoenix 4 and Phoenix 5.
```
$ mvn package
```
### Building against specific Phoenix version
-To build a release of Phoenix Connectors which packages a specific version of Phoenix, specify the `phoenix-four.version` or the `phoenix-five.version` system property to indicate a specific Phoenix version.
+To build a release of Phoenix Connectors which packages a specific version of Phoenix, specify the `phoenix.version` system property to indicate a specific Phoenix version.
-Phoenix Connectors will package the same version of Phoenix used for build/test. This version is controlled by the
-`phoenix-four.version` and the `phoenix-five.version` system properties.
-When specifying `phoenix-four.version` and the `phoenix-five.version`, also specify the HBase version to be used
-by the corresponding `hbase-one.version` and `hbase-two.version` system properties.
-Similarly you can overwrite the `hadoop-two.version` and the `hadoop-three.version` system properties if necessary.
+When specifying `phoenix.version`, also specify the HBase version to be used
+by the corresponding `hbase-two.version` system property.
+Similarly you can override the `hadoop-three.version` system properties if necessary.
```
$ mvn package -Dphoenix-five.version=5.1.0-SNAPSHOT
@@ -51,19 +46,8 @@ $ mvn package -Dphoenix-five.version=5.1.0-SNAPSHOT
`mvn package` will run the unit tests while building, but it will not run the integration test suite.
The IT suite is run when executing `mvn install` or `mvn verify`. The Phoenix version specified
-with `phoenix-four.version` and the `phoenix-five.version` are used for running the integration tests.
+with `phoenix.version` is used for running the integration tests.
-```
-$ mvn verify -Dphoenix-four.version=4.16.0-SNAPSHOT -Dhbase-one.version=1.5.0
-```
```
$ mvn install -Dphoenix-five.version=5.1.0-SNAPSHOT -Dhbase-one.version=2.1.9 -Dhadoop-three.version=3.0.3
```
-
-### Skipping Phoenix 4/5 modules
-
-You can specify `-Dskip-phoenix4` or `-Dskip-phoenix5` system property to skip building the connectors for Phoenix 4 or Phoenix 5 altogether. It is useful to reduce the feedback time while working on a change for a specific Phoenix version or when you don't actually need the connectors for both Phoenix 4 and 5.
-
-```
-mvn clean package -DskipTests -Dskip-phoenix4
-```
\ No newline at end of file