You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2026/04/03 00:55:13 UTC

(datasketches-java) 01/01: update update_main

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch update_main
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git

commit dbc6979c58b00a1cdd3c15021a79fbb78ddaf0f0
Author: Lee Rhodes <le...@gmail.com>
AuthorDate: Thu Apr 2 17:54:57 2026 -0700

    update update_main
---
 pom.xml                      | 96 +++++++++++++++++++++++++-------------------
 tools/SketchesCheckstyle.xml |  4 +-
 2 files changed, 57 insertions(+), 43 deletions(-)

diff --git a/pom.xml b/pom.xml
index b14a31954..e3b0697fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,14 @@ under the License.
   <url>https://datasketches.apache.org/</url>
   <inceptionYear>2015</inceptionYear>
 
+  <licenses>
+    <license>
+      <name>Apache-2.0</name>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
   <mailingLists>
     <mailingList>
       <name>DataSketches Developers</name>
@@ -59,6 +67,19 @@ under the License.
     <tag>HEAD</tag>
   </scm>
 
+  <distributionManagement>
+    <repository>
+      <id>apache.releases.https</id>
+      <name>Apache Release Distribution Repository</name>
+      <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+    </repository>
+    <snapshotRepository>
+      <id>apache.snapshots.https</id>
+      <name>Apache Development Snapshot Repository</name>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+
   <issueManagement>
     <system>GitHub</system>
     <url>https://github.com/apache/${project.artifactId}/issues</url>
@@ -93,30 +114,30 @@ under the License.
     <jvm.locale.encoding>-Dfile.encoding=UTF-8</jvm.locale.encoding>
     <jvm.args>${jvm.mem} ${jvm.locale.language} ${jvm.locale.country} ${jvm.locale.encoding}</jvm.args>
     <charset.encoding>UTF-8</charset.encoding>
+    <project.build.outputTimestamp>2026-01-09T19:00:20Z</project.build.outputTimestamp>
     <project.build.sourceEncoding>${charset.encoding}</project.build.sourceEncoding>
     <project.build.resourceEncoding>${charset.encoding}</project.build.resourceEncoding>
+    <project.reporting.inputEncoding>${charset.encoding}</project.reporting.inputEncoding>
     <project.reporting.outputEncoding>${charset.encoding}</project.reporting.outputEncoding>
     <project.reporting.outputDirectory>${project.build.directory}/site</project.reporting.outputDirectory>
     <maven.build.timestamp.format>yyyy-MM-dd'T'HH-mm-ss'Z'</maven.build.timestamp.format>
 
-    <!--    org.apache.maven plugins -->
-    <maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version>
+    <!--  org.apache.maven plugins -->
     <maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
     <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
     <maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
     <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
+    <maven-install-plugin.version>3.1.4</maven-install-plugin.version>
     <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
     <maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
     <maven-release-plugin.version>3.3.1</maven-release-plugin.version>
     <maven-source-plugin.version>3.4.0</maven-source-plugin.version>
     <maven-surefire-failsafe-plugins.version>3.5.4</maven-surefire-failsafe-plugins.version> <!-- surefire, failsafe, surefire-report -->
+    <maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
 
-    <!--    org.apache.rat plugins -->
+    <!--  org.apache.rat plugins -->
     <apache-rat-plugin.version>0.17</apache-rat-plugin.version>
 
-    <!-- Not covered by Apache Parent POM-->
-    <maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
-
     <!-- com.github maven plugins -->
     <coveralls-repo-token></coveralls-repo-token>
     <coveralls-maven-plugin.version>5.0.0</coveralls-maven-plugin.version>
@@ -131,6 +152,31 @@ under the License.
     <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
   </properties>
 
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/content/groups/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+    <repository>
+      <id>apache</id>
+      <name>Apache Releases Repository</name>
+      <url>https://repository.apache.org/content/groups/public</url>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
   <dependencies>
     <!-- Test Scope -->
     <dependency>
@@ -145,12 +191,6 @@ under the License.
     <pluginManagement>
       <plugins>
 
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <version>${maven-assembly-plugin.version}</version>
-        </plugin>
-
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
@@ -178,10 +218,8 @@ under the License.
               </goals>
               <configuration>
                 <rules>
-                  <!-- The normal Java enforcer rule out of the box is toolchain unaware
-                  and is really only useful for checking what java version is available
-                  via the users shell environment. It does not check that the java compiler
-                  version is sane or matches the java command version.
+                  <!-- The Java enforcer rule is toolchain unaware
+                  and is only checks the compiler used by the Maven runtime.
                   In the context of toolchains this rule is useless.
                   See: https://github.com/paulmoloney/maven-enforcer-toolchain-rules
                   <requireJavaVersion> ... </requireJavaVersion>
@@ -394,11 +432,6 @@ under the License.
 
     <plugins>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-      </plugin>
-
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -554,6 +587,7 @@ under the License.
                     <addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
                   </manifest>
                   <manifestEntries>
+                    <Automatic-Module-Name>org.apache.datasketches</Automatic-Module-Name>
                     <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
                     <GroupId-ArtifactId>${project.groupId}:${project.artifactId}</GroupId-ArtifactId>
                     <!-- these properties are generated by the git-commit-id-maven-plugin during initialize -->
@@ -614,26 +648,6 @@ under the License.
       </build>
     </profile>
 
-    <!-- Disable source release assembly for 'apache-release' profile.
-             This is performed from a script outside Maven -->
-    <profile>
-      <id>apache-release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <version>${maven-assembly-plugin.version}</version>
-            <executions>
-              <execution>
-                <id>source-release-assembly</id>
-                <phase>none</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
     <profile>
       <id>generate-java-files</id>
       <build>
diff --git a/tools/SketchesCheckstyle.xml b/tools/SketchesCheckstyle.xml
index 0ced9d3e3..1d4a387b5 100644
--- a/tools/SketchesCheckstyle.xml
+++ b/tools/SketchesCheckstyle.xml
@@ -226,8 +226,7 @@ under the License.
       <property name="allowedAnnotations" value="Override, Test"/>
     </module>
 
-    <!-- disabled because of a Checkstyle bug with <p> after @param -->
-    <!-- <module name="JavadocParagraph"/>  -->
+    <module name="JavadocParagraph"/>
 
     <module name="JavadocTagContinuationIndentation">
       <property name="severity" value="ignore"/>
@@ -256,6 +255,7 @@ under the License.
       <property name="severity" value="warning"/>
       <property name="allowEscapesForControlCharacters" value="true"/>
       <property name="allowByTailComment" value="true"/>
+      <property name="allowIfAllCharactersEscaped" value="true"/>
       <property name="allowNonPrintableEscapes" value="true"/>
       <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
     </module>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org