Attila Doroszlai created RATIS-2206:
---------------------------------------
Summary: Jars in Maven repo and binary tarball are not the same
Key: RATIS-2206
URL: https://issues.apache.org/jira/browse/RATIS-2206
Project: Ratis
Issue Type: Bug
Components: build
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
Jars published to the Maven repo are not the same as those included in binary
tarballs.
{code}
# download binary tarball
$ curl -LO https://dlcdn.apache.org/ratis/3.1.2/apache-ratis-3.1.2-bin.tar.gz
$ tar zxvf apache-ratis-3.1.2-bin.tar.gz
# download from Maven
$ curl -LO
https://repo.maven.apache.org/maven2/org/apache/ratis/ratis-common/3.1.2/ratis-common-3.1.2.jar
$ diff -q ratis-common-3.1.2.jar
apache-ratis-3.1.2-bin/jars/ratis-common-3.1.2.jar
Files ratis-common-3.1.2.jar and
apache-ratis-3.1.2-bin/jars/ratis-common-3.1.2.jar differ
$ diffoscope ratis-common-3.1.2.jar
apache-ratis-3.1.2-bin/jars/ratis-common-3.1.2.jar
--- ratis-common-3.1.2.jar
+++ apache-ratis-3.1.2-bin/jars/ratis-common-3.1.2.jar
├── zipinfo {}
│ @@ -1,8 +1,8 @@
│ -Zip file size: 380752 bytes, number of entries: 281
│ +Zip file size: 380721 bytes, number of entries: 281
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06 META-INF/
│ -rw-r--r-- 2.0 unx 335 b- defN 24-Nov-04 07:06 META-INF/MANIFEST.MF
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06 org/
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06 org/apache/
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06 org/apache/ratis/
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06 org/apache/ratis/conf/
│ drwxr-xr-x 2.0 unx 0 b- stor 24-Nov-04 07:06
org/apache/ratis/datastream/
│ @@ -273,11 +273,11 @@
│ -rw-r--r-- 2.0 unx 1627 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/CheckedRunnable.class
│ -rw-r--r-- 2.0 unx 433 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/CheckedSupplier.class
│ -rw-r--r-- 2.0 unx 1417 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/FunctionUtils.class
│ -rw-r--r-- 2.0 unx 973 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/StringSupplier$1.class
│ -rw-r--r-- 2.0 unx 922 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/StringSupplier.class
│ -rw-r--r-- 2.0 unx 411 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/TriConsumer.class
│ -rw-r--r-- 2.0 unx 402 b- defN 24-Nov-04 07:06
org/apache/ratis/util/function/UncheckedAutoCloseableSupplier.class
│ --rw-r--r-- 2.0 unx 878 b- defN 24-Nov-04 07:06 ratis-version.properties
│ +-rw-r--r-- 2.0 unx 845 b- defN 24-Nov-04 07:06 ratis-version.properties
│ -rw-r--r-- 2.0 unx 2385 b- defN 24-Nov-04 07:06
META-INF/maven/org.apache.ratis/ratis-common/pom.xml
│ -rw-r--r-- 2.0 unx 63 b- defN 24-Nov-04 07:06
META-INF/maven/org.apache.ratis/ratis-common/pom.properties
│ -281 files, 822282 bytes uncompressed, 332470 bytes compressed: 59.6%
│ +281 files, 822249 bytes uncompressed, 332439 bytes compressed: 59.6%
├── ratis-version.properties
│ @@ -13,8 +13,8 @@
│ # distributed under the License is distributed on an "AS IS" BASIS,
│ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
│ # See the License for the specific language governing permissions and
│ # limitations under the License.
│ #
│ name=Apache Ratis Common
│ version=3.1.2
│ -revision=ebc9c3e6599af8805bd456e14abd024b0a6ddb86
│ +revision=Unknown
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)