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.git
The following commit(s) were added to refs/heads/master by this push:
new 96f5198153 PHOENIX-7628 Don't add Apache Snapshot Maven Repo by
Default (#2262)
96f5198153 is described below
commit 96f519815393af43027f767ed96f1de7cf5ce415
Author: Istvan Toth <[email protected]>
AuthorDate: Tue Aug 5 07:02:00 2025 +0200
PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default (#2262)
---
.../org/apache/phoenix/schema/MetaDataClient.java | 6 ++--
pom.xml | 35 ++++++++++++++++++++++
2 files changed, 38 insertions(+), 3 deletions(-)
diff --git
a/phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
b/phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
index fdaeed259d..ae2248b86f 100644
---
a/phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
+++
b/phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java
@@ -4745,9 +4745,9 @@ public class MetaDataClient {
/**
* To check if TTL is defined at any of the child below we are
checking it at
* {@link
org.apache.phoenix.coprocessor.MetaDataEndpointImpl#mutateColumn(List,
ColumnMutator, int, PTable, PTable, boolean)}
- * level where in function
- * {@link org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
validateIfMutationAllowedOnParent(PTable, List, PTableType, long, byte[],
byte[], byte[], List, int)}
- * we are already traversing through allDescendantViews.
+ * level where in function {@link
org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
+ * validateIfMutationAllowedOnParent(PTable, List, PTableType, long,
byte[], byte[],
+ * byte[], List, int)} we are already traversing through
allDescendantViews.
*/
}
diff --git a/pom.xml b/pom.xml
index 6ca282593c..a4cae3de8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2068,6 +2068,41 @@
</plugins>
</build>
</profile>
+ <!-- Duplicate the functionality of MPOM-451 for our older ASF parent pom
-->
+ <profile>
+ <id>dont-use-apache-snapshots</id>
+ <activation>
+ <property>
+ <name>!apache.snapshots</name>
+ </property>
+ </activation>
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
<!-- See BUILDING.md for profile selection-->
<!-- The dependencies should be defined only in phoenix-core
,but maven doesn't seem to support that -->