pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedJDBC Maven Checksum
11+ messages / 5 participants
[nested] [flat]
* JDBC Maven Checksum
@ 2014-01-26 21:22 David Shepherd <daveshep666@hotmail.com>
0 siblings, 1 reply; 11+ messages in thread
From: David Shepherd @ 2014-01-26 21:22 UTC (permalink / raw)
To: pgsql-jdbc
Hi
Can someone please explain why there is a checksum difference between the JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven for the first time so am unsure which file is correct or why there is a difference.
These are the sha1 hashes I am seeing:
Maven
7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
PostgreSQL website
fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
Thank you
=
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-01-27 11:55 Dave Cramer <pg@fastcrypt.com>
parent: David Shepherd <daveshep666@hotmail.com>
0 siblings, 2 replies; 11+ messages in thread
From: Dave Cramer @ 2014-01-27 11:55 UTC (permalink / raw)
To: David Shepherd <daveshep666@hotmail.com>; +Cc: pgsql-jdbc
I create both of them from the same machine so I"m not sure. Does maven
change the jar's at all when they are uploaded?
David. Do you see any file size differences ?
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>wrote:
> Hi
>
> Can someone please explain why there is a checksum difference between the
> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
> for the first time so am unsure which file is correct or why there is a
> difference.
>
> These are the sha1 hashes I am seeing:
>
> Maven
> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>
> PostgreSQL website
> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>
> Thank you
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-01-27 12:30 David Shepherd <daveshep666@hotmail.com>
parent: Dave Cramer <pg@fastcrypt.com>
1 sibling, 1 reply; 11+ messages in thread
From: David Shepherd @ 2014-01-27 12:30 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc
I can see the files are the same size, but a hexdump of each followed by a diff is showing many differences. Its strange if they should be the same. Thanks!
From: pg@fastcrypt.com
Date: Mon, 27 Jan 2014 06:55:34 -0500
Subject: Re: [JDBC] JDBC Maven Checksum
To: daveshep666@hotmail.com
CC: pgsql-jdbc@postgresql.org
I create both of them from the same machine so I"m not sure. Does maven change the jar's at all when they are uploaded?
David. Do you see any file size differences ?
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com> wrote:
Hi
Can someone please explain why there is a checksum difference between the JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven for the first time so am unsure which file is correct or why there is a difference.
These are the sha1 hashes I am seeing:
Maven
7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
PostgreSQL website
fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
Thank you
=
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-01-27 15:52 Matt Hughes <hughes.matt@gmail.com>
parent: David Shepherd <daveshep666@hotmail.com>
0 siblings, 0 replies; 11+ messages in thread
From: Matt Hughes @ 2014-01-27 15:52 UTC (permalink / raw)
To: David Shepherd <daveshep666@hotmail.com>; +Cc: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc
Check the MANIFEST.MF. There is probably a timestamp in there. Even if
the source was 100% the same, building it at two different times would
yield different checksum.
On Mon, Jan 27, 2014 at 7:30 AM, David Shepherd <daveshep666@hotmail.com>wrote:
> I can see the files are the same size, but a hexdump of each followed by a
> diff is showing many differences. Its strange if they should be the same.
> Thanks!
>
> ------------------------------
> From: pg@fastcrypt.com
> Date: Mon, 27 Jan 2014 06:55:34 -0500
> Subject: Re: [JDBC] JDBC Maven Checksum
> To: daveshep666@hotmail.com
> CC: pgsql-jdbc@postgresql.org
>
> I create both of them from the same machine so I"m not sure. Does maven
> change the jar's at all when they are uploaded?
>
> David. Do you see any file size differences ?
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>wrote:
>
> Hi
>
> Can someone please explain why there is a checksum difference between the
> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
> for the first time so am unsure which file is correct or why there is a
> difference.
>
> These are the sha1 hashes I am seeing:
>
> Maven
> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>
> PostgreSQL website
> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>
> Thank you
>
>
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Fwd: JDBC Maven Checksum
@ 2014-01-27 22:20 Stephen Nelson <stephen@eccostudio.com>
parent: Dave Cramer <pg@fastcrypt.com>
1 sibling, 1 reply; 11+ messages in thread
From: Stephen Nelson @ 2014-01-27 22:20 UTC (permalink / raw)
To: pgsql-jdbc
On Mon, Jan 27, 2014 at 11:55 AM, Dave Cramer <pg@fastcrypt.com> wrote:
> I create both of them from the same machine so I"m not sure. Does maven
> change the jar's at all when they are uploaded?
>
> David. Do you see any file size differences ?
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>
> wrote:
>>
>> Hi
>>
>> Can someone please explain why there is a checksum difference between the
>> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
>> for the first time so am unsure which file is correct or why there is a
>> difference.
>>
>> These are the sha1 hashes I am seeing:
>>
>> Maven
>> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>>
>> PostgreSQL website
>> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>>
>> Thank you
>
>
Dave,
When you build the jar for the site which targets do you run?
The Maven upload part of the build script uses the same jar target
that I presume is used for building the website jar. I'll take a look
at it to see what's happening.
Cheers
Stephen
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-01-28 13:30 Dave Cramer <pg@fastcrypt.com>
parent: Stephen Nelson <stephen@eccostudio.com>
0 siblings, 1 reply; 11+ messages in thread
From: Dave Cramer @ 2014-01-28 13:30 UTC (permalink / raw)
To: Stephen Nelson <stephen@eccostudio.com>; +Cc: pgsql-jdbc
Stephen,
I am using ant releae to create and release the jars
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Mon, Jan 27, 2014 at 5:20 PM, Stephen Nelson <stephen@eccostudio.com>wrote:
> On Mon, Jan 27, 2014 at 11:55 AM, Dave Cramer <pg@fastcrypt.com> wrote:
> > I create both of them from the same machine so I"m not sure. Does maven
> > change the jar's at all when they are uploaded?
> >
> > David. Do you see any file size differences ?
> >
> > Dave Cramer
> >
> > dave.cramer(at)credativ(dot)ca
> > http://www.credativ.ca
> >
> >
> > On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com
> >
> > wrote:
> >>
> >> Hi
> >>
> >> Can someone please explain why there is a checksum difference between
> the
> >> JDBC drivers on the PostgreSQL website and those in Maven? I am using
> Maven
> >> for the first time so am unsure which file is correct or why there is a
> >> difference.
> >>
> >> These are the sha1 hashes I am seeing:
> >>
> >> Maven
> >> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
> >>
> >> PostgreSQL website
> >> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
> >>
> >> Thank you
> >
> >
>
> Dave,
>
> When you build the jar for the site which targets do you run?
>
> The Maven upload part of the build script uses the same jar target
> that I presume is used for building the website jar. I'll take a look
> at it to see what's happening.
>
> Cheers
>
> Stephen
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-02-21 20:37 Stephen Nelson <stephen@eccostudio.com>
parent: Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 11+ messages in thread
From: Stephen Nelson @ 2014-02-21 20:37 UTC (permalink / raw)
To: pgsql-jdbc
>
>
>> > On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <
>> daveshep666@hotmail.com>
>> > wrote:
>> >>
>> >> Hi
>> >>
>> >> Can someone please explain why there is a checksum difference between
>> the
>> >> JDBC drivers on the PostgreSQL website and those in Maven? I am using
>> Maven
>> >> for the first time so am unsure which file is correct or why there is a
>> >> difference.
>> >>
>> >> These are the sha1 hashes I am seeing:
>> >>
>> >> Maven
>> >> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>> >>
>> >> PostgreSQL website
>> >> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>> >>
>> >> Thank you
>> >
>> >
>>
>> Dave,
>>
>> When you build the jar for the site which targets do you run?
>>
>> The Maven upload part of the build script uses the same jar target
>> that I presume is used for building the website jar. I'll take a look
>> at it to see what's happening.
>>
>>
I just took a look into this and can't seem to find that jar on the
postgresql jdbc website anymore.
So I tried it with the latest
9.3-1101-jdbc41<http://search.maven.org/#artifactdetails%7Corg.postgresql%7Cpostgresql%7C9.3-1101-jdbc41%7Cjar;
jar
and found them to be exactly the same. I also confirmed from the build
script that it is using the same jar file for the website and uploading to
Maven. There is a Java version string put into the MANIFEST.MF file but
that should be constant across the jars.
If you have the older jar, what I did was extract both of them into
separate directories and then perform a recursive diff.
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-02-22 18:15 David Shepherd <daveshep666@hotmail.com>
parent: Stephen Nelson <stephen@eccostudio.com>
0 siblings, 2 replies; 11+ messages in thread
From: David Shepherd @ 2014-02-22 18:15 UTC (permalink / raw)
To: Stephen Nelson <stephen@eccostudio.com>; pgsql-jdbc
Hi
Sorry but I am not seeing the same checksums, even with the latest build of driver. I noticed the filename is different for the jars depending on where it comes from, maybe that's the issue? Contents of the jar looks the same after extracting it and doing a directory diff with meld. Apologies if I am doing something stupid, I am new to Maven.
SAH1 From PostgreSQL website
dfa6c29a6c81094260cd903d40475e84c731cbd9 postgresql-9.3-1101.jdbc41.jar
66bb9af92e4b399cb4563a9efe51ea20433ec0a4 postgresql-9.3-1101.jdbc4.jar
SAH1 From Maven
f68c2783393afc9a642035964869417043d2c7dc postgresql-9.3-1101-jdbc41.jar
9da59f12badea19b3b2884161f624bcf6750f985 postgresql-9.3-1101-jdbc4.jar
Date: Fri, 21 Feb 2014 20:37:00 +0000
Subject: Re: [JDBC] JDBC Maven Checksum
From: stephen@eccostudio.com
To: pgsql-jdbc@postgresql.org
> On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>
> wrote:
>>
>> Hi
>>
>> Can someone please explain why there is a checksum difference between the
>> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
>> for the first time so am unsure which file is correct or why there is a
>> difference.
>>
>> These are the sha1 hashes I am seeing:
>>
>> Maven
>> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>>
>> PostgreSQL website
>> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>>
>> Thank you
>
>
Dave,
When you build the jar for the site which targets do you run?
The Maven upload part of the build script uses the same jar target
that I presume is used for building the website jar. I'll take a look
at it to see what's happening.
I just took a look into this and can't seem to find that jar on the postgresql jdbc website anymore.
So I tried it with the latest 9.3-1101-jdbc41 jar and found them to be exactly the same. I also confirmed from the build script that it is using the same jar file for the website and uploading to Maven. There is a Java version string put into the MANIFEST.MF file but that should be constant across the jars.
If you have the older jar, what I did was extract both of them into separate directories and then perform a recursive diff.
=
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-02-22 18:39 David Shepherd <daveshep666@hotmail.com>
parent: David Shepherd <daveshep666@hotmail.com>
1 sibling, 1 reply; 11+ messages in thread
From: David Shepherd @ 2014-02-22 18:39 UTC (permalink / raw)
To: Stephen Nelson <stephen@eccostudio.com>; pgsql-jdbc
Hi
Possibly answering my own question. Looking at the extracted jar contents the dates are different between the Maven and website versions. E.g.
jar1 - Feb 19 18:44 META-INF/
jar2 - Feb 19 19:49 META-INF/
It would explain the difference in checksum. Are the jars rebuilt before uploading to each site?
Thanks
From: daveshep666@hotmail.com
To: stephen@eccostudio.com; pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] JDBC Maven Checksum
Date: Sat, 22 Feb 2014 18:15:37 +0000
Hi
Sorry but I am not seeing the same checksums, even with the latest build of driver. I noticed the filename is different for the jars depending on where it comes from, maybe that's the issue? Contents of the jar looks the same after extracting it and doing a directory diff with meld. Apologies if I am doing something stupid, I am new to Maven.
SAH1 From PostgreSQL website
dfa6c29a6c81094260cd903d40475e84c731cbd9 postgresql-9.3-1101.jdbc41.jar
66bb9af92e4b399cb4563a9efe51ea20433ec0a4 postgresql-9.3-1101.jdbc4.jar
SAH1 From Maven
f68c2783393afc9a642035964869417043d2c7dc postgresql-9.3-1101-jdbc41.jar
9da59f12badea19b3b2884161f624bcf6750f985 postgresql-9.3-1101-jdbc4.jar
Date: Fri, 21 Feb 2014 20:37:00 +0000
Subject: Re: [JDBC] JDBC Maven Checksum
From: stephen@eccostudio.com
To: pgsql-jdbc@postgresql.org
> On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>
> wrote:
>>
>> Hi
>>
>> Can someone please explain why there is a checksum difference between the
>> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
>> for the first time so am unsure which file is correct or why there is a
>> difference.
>>
>> These are the sha1 hashes I am seeing:
>>
>> Maven
>> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
>>
>> PostgreSQL website
>> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
>>
>> Thank you
>
>
Dave,
When you build the jar for the site which targets do you run?
The Maven upload part of the build script uses the same jar target
that I presume is used for building the website jar. I'll take a look
at it to see what's happening.
I just took a look into this and can't seem to find that jar on the postgresql jdbc website anymore.
So I tried it with the latest 9.3-1101-jdbc41 jar and found them to be exactly the same. I also confirmed from the build script that it is using the same jar file for the website and uploading to Maven. There is a Java version string put into the MANIFEST.MF file but that should be constant across the jars.
If you have the older jar, what I did was extract both of them into separate directories and then perform a recursive diff.
=
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-02-22 18:41 Dave Cramer <pg@fastcrypt.com>
parent: David Shepherd <daveshep666@hotmail.com>
1 sibling, 0 replies; 11+ messages in thread
From: Dave Cramer @ 2014-02-22 18:41 UTC (permalink / raw)
To: David Shepherd <daveshep666@hotmail.com>; +Cc: Stephen Nelson <stephen@eccostudio.com>; pgsql-jdbc
David,
The jars are created on one machine it looks like maven is somehow adding
something.
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Sat, Feb 22, 2014 at 1:15 PM, David Shepherd <daveshep666@hotmail.com>wrote:
> Hi
>
> Sorry but I am not seeing the same checksums, even with the latest build
> of driver. I noticed the filename is different for the jars depending on
> where it comes from, maybe that's the issue? Contents of the jar looks the
> same after extracting it and doing a directory diff with meld. Apologies if
> I am doing something stupid, I am new to Maven.
>
> SAH1 From PostgreSQL website
> dfa6c29a6c81094260cd903d40475e84c731cbd9 postgresql-9.3-1101.jdbc41.jar
> 66bb9af92e4b399cb4563a9efe51ea20433ec0a4 postgresql-9.3-1101.jdbc4.jar
>
> SAH1 From Maven
> f68c2783393afc9a642035964869417043d2c7dc postgresql-9.3-1101-jdbc41.jar
> 9da59f12badea19b3b2884161f624bcf6750f985 postgresql-9.3-1101-jdbc4.jar
>
> ------------------------------
> Date: Fri, 21 Feb 2014 20:37:00 +0000
>
> Subject: Re: [JDBC] JDBC Maven Checksum
> From: stephen@eccostudio.com
> To: pgsql-jdbc@postgresql.org
>
>
>
> > On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com
> >
> > wrote:
> >>
> >> Hi
> >>
> >> Can someone please explain why there is a checksum difference between
> the
> >> JDBC drivers on the PostgreSQL website and those in Maven? I am using
> Maven
> >> for the first time so am unsure which file is correct or why there is a
> >> difference.
> >>
> >> These are the sha1 hashes I am seeing:
> >>
> >> Maven
> >> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
> >>
> >> PostgreSQL website
> >> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
> >>
> >> Thank you
> >
> >
>
> Dave,
>
> When you build the jar for the site which targets do you run?
>
> The Maven upload part of the build script uses the same jar target
> that I presume is used for building the website jar. I'll take a look
> at it to see what's happening.
>
>
> I just took a look into this and can't seem to find that jar on the
> postgresql jdbc website anymore.
>
> So I tried it with the latest 9.3-1101-jdbc41<http://search.maven.org/#artifactdetails%7corg.postgresql%7cpostgresql%7c9.3-1101-jdbc41%7cjar; jar
> and found them to be exactly the same. I also confirmed from the build
> script that it is using the same jar file for the website and uploading to
> Maven. There is a Java version string put into the MANIFEST.MF file but
> that should be constant across the jars.
>
> If you have the older jar, what I did was extract both of them into
> separate directories and then perform a recursive diff.
>
>
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: JDBC Maven Checksum
@ 2014-02-25 14:10 Adib Saikali <adib.saikali@gmail.com>
parent: David Shepherd <daveshep666@hotmail.com>
0 siblings, 0 replies; 11+ messages in thread
From: Adib Saikali @ 2014-02-25 14:10 UTC (permalink / raw)
To: David Shepherd <daveshep666@hotmail.com>; +Cc: Stephen Nelson <stephen@eccostudio.com>; pgsql-jdbc
Jar files are zip files and zip files contain a timestamp in their header. If you execute the the jar task on the same directory to output two jars then the generated jars will have identical content but different SHA1 because of the timestamps in the zip file headers will be different.
Check the build scripts to see if they invoke jar task twice once to generate the maven jar and once to generate the website jar. If jar is invoked twice that explains they different SHA and the timestamps you have below.
I guess the fix would be to generate the jars only once in the build script.
On Feb 22, 2014, at 1:39 PM, David Shepherd <daveshep666@hotmail.com> wrote:
> Hi
>
> Possibly answering my own question. Looking at the extracted jar contents the dates are different between the Maven and website versions. E.g.
> jar1 - Feb 19 18:44 META-INF/
> jar2 - Feb 19 19:49 META-INF/
> It would explain the difference in checksum. Are the jars rebuilt before uploading to each site?
>
> Thanks
>
> From: daveshep666@hotmail.com
> To: stephen@eccostudio.com; pgsql-jdbc@postgresql.org
> Subject: Re: [JDBC] JDBC Maven Checksum
> Date: Sat, 22 Feb 2014 18:15:37 +0000
>
> Hi
>
> Sorry but I am not seeing the same checksums, even with the latest build of driver. I noticed the filename is different for the jars depending on where it comes from, maybe that's the issue? Contents of the jar looks the same after extracting it and doing a directory diff with meld. Apologies if I am doing something stupid, I am new to Maven.
>
> SAH1 From PostgreSQL website
> dfa6c29a6c81094260cd903d40475e84c731cbd9 postgresql-9.3-1101.jdbc41.jar
> 66bb9af92e4b399cb4563a9efe51ea20433ec0a4 postgresql-9.3-1101.jdbc4.jar
>
> SAH1 From Maven
> f68c2783393afc9a642035964869417043d2c7dc postgresql-9.3-1101-jdbc41.jar
> 9da59f12badea19b3b2884161f624bcf6750f985 postgresql-9.3-1101-jdbc4.jar
>
> Date: Fri, 21 Feb 2014 20:37:00 +0000
> Subject: Re: [JDBC] JDBC Maven Checksum
> From: stephen@eccostudio.com
> To: pgsql-jdbc@postgresql.org
>
>
> > On Sun, Jan 26, 2014 at 4:22 PM, David Shepherd <daveshep666@hotmail.com>
> > wrote:
> >>
> >> Hi
> >>
> >> Can someone please explain why there is a checksum difference between the
> >> JDBC drivers on the PostgreSQL website and those in Maven? I am using Maven
> >> for the first time so am unsure which file is correct or why there is a
> >> difference.
> >>
> >> These are the sha1 hashes I am seeing:
> >>
> >> Maven
> >> 7a09dd2b8c01babc07617973fd6f99c007e2b786 postgresql-9.3-1100-jdbc4.jar
> >>
> >> PostgreSQL website
> >> fe6ed26ff71d75ebb99e2ec2123003e05ea16dc5 postgresql-9.3-1100.jdbc4.jar
> >>
> >> Thank you
> >
> >
>
> Dave,
>
> When you build the jar for the site which targets do you run?
>
> The Maven upload part of the build script uses the same jar target
> that I presume is used for building the website jar. I'll take a look
> at it to see what's happening.
>
>
> I just took a look into this and can't seem to find that jar on the postgresql jdbc website anymore.
>
> So I tried it with the latest 9.3-1101-jdbc41 jar and found them to be exactly the same. I also confirmed from the build script that it is using the same jar file for the website and uploading to Maven. There is a Java version string put into the MANIFEST.MF file but that should be constant across the jars.
>
> If you have the older jar, what I did was extract both of them into separate directories and then perform a recursive diff.
^ permalink raw reply [nested|flat] 11+ messages in thread
end of thread, other threads:[~2014-02-25 14:10 UTC | newest]
Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-26 21:22 JDBC Maven Checksum David Shepherd <daveshep666@hotmail.com>
2014-01-27 11:55 ` Dave Cramer <pg@fastcrypt.com>
2014-01-27 12:30 ` David Shepherd <daveshep666@hotmail.com>
2014-01-27 15:52 ` Matt Hughes <hughes.matt@gmail.com>
2014-01-27 22:20 ` Stephen Nelson <stephen@eccostudio.com>
2014-01-28 13:30 ` Dave Cramer <pg@fastcrypt.com>
2014-02-21 20:37 ` Stephen Nelson <stephen@eccostudio.com>
2014-02-22 18:15 ` David Shepherd <daveshep666@hotmail.com>
2014-02-22 18:39 ` David Shepherd <daveshep666@hotmail.com>
2014-02-25 14:10 ` Adib Saikali <adib.saikali@gmail.com>
2014-02-22 18:41 ` Dave Cramer <pg@fastcrypt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox