pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [pgjdbc] chore: migrate the build to Maven (#322)
5+ messages / 1 participants
[nested] [flat]
* Re: [pgjdbc] chore: migrate the build to Maven (#322)
@ 2015-06-20 16:59 Markus KARG <markus@headcrashing.eu>
4 siblings, 0 replies; 5+ messages in thread
From: Markus KARG @ 2015-06-20 16:59 UTC (permalink / raw)
To: pgsql-jdbc
Actually I would even like to add <classifier/> in case the build provides different editions of JARs.
Sad to read that there is another false decision of the past that we have to keep forever. :-(
The idea to prevent too much change might become major drawback some day, we should have in mind that argument, too. It might encourage people to fork some day.
-Markus
From: Dave Cramer [mailto:notifications@github.com]
Sent: Samstag, 20. Juni 2015 15:15
To: pgjdbc/pgjdbc
Cc: Markus KARG
Subject: Re: [pgjdbc] chore: migrate the build to Maven (#322)
Yes, IMO changing the coords is a non-starter this would affect many
automated builds, and tools. As Stephen pointed out we already did it once
(somewhat at our peril)
I am thinking of pushing a branch we can use or we can just use Stephen's
branch for now.
PS. just got back from pgcon.... the lack of sleep and hangover(s) is
abating
Dave Cramer
On 20 June 2015 at 09:09, Stephen Nelson <notifications@github.com> wrote:
> There's a few more changes to do before it's ready to merge. I've been a
> bit busy to complete this week. If you want to create a PR against my
> branch I'll accept them so it can be finished quicker.
>
> Briefly in answer to your points:
>
> 1. The coordinates are already published on OSS so need to match. We
> already changed once a while back so it wouldn't be wise to do it again.
> 2. Agree
> 3. Agree
> 4. Build properties are within pom.xml so additional files not really
> needed now.
> 5. Agree
> 6. Agree
> 7. It needs to be confirmed as working but @davecramer
> <https://github.com/davecramer; already has a process for existing
> build.
>
> I wanted to ensure contents of jar files are exactly the same too. Also
> should we use the maven release plugin?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-113764796;.
>
—
Reply to this email directly or view it on GitHub <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-113767637; . <https://github.com/notifications/beacon/ABn3t8mbBKg2wK5uq9bpVEWof-OWuzgQks5oVV7IgaJpZM4FCDIg.gif;
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [pgjdbc] chore: migrate the build to Maven (#322)
@ 2015-06-20 20:07 Markus KARG <markus@headcrashing.eu>
4 siblings, 0 replies; 5+ messages in thread
From: Markus KARG @ 2015-06-20 20:07 UTC (permalink / raw)
To: pgsql-jdbc
If the ANT build uses a properties file to adapt the build to the needs of the local user, we can copy that behaviour in Maven using the exact same file, see this Stack Overflow posting: http://stackoverflow.com/questions/7144620/reading-properties-file-from-maven-pom-file.
From: Vladimir Sitnikov [mailto:notifications@github.com]
Sent: Samstag, 20. Juni 2015 15:18
To: pgjdbc/pgjdbc
Cc: Markus KARG
Subject: Re: [pgjdbc] chore: migrate the build to Maven (#322)
Yes, IMO changing the coords is a non-starter this would affect many
automated builds,
I completely forgot the pgjdbc already has maven coordinates. Shame on me.
Build properties are within pom.xml so additional files not really needed now.
In fact, the name of the database I use for testing does not match test/test/test pattern. It was somewhat useful for me to have my local values in the build.local.properties, so I do not have to provide the exact values each time.
It needs to be confirmed as working but @davecramer <https://github.com/davecramer; already has a process for existing build.
Sure. Committers should pick a way of publishing that will work for them the best.
—
Reply to this email directly or view it on GitHub <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-113768436; . <https://github.com/notifications/beacon/ABn3t7h_8pUjLEVy9pjAiLAA2EoP89fsks5oVV9qgaJpZM4FCDIg.gif;
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [pgjdbc] chore: migrate the build to Maven (#322)
@ 2015-06-22 20:15 Markus KARG <markus@headcrashing.eu>
4 siblings, 0 replies; 5+ messages in thread
From: Markus KARG @ 2015-06-22 20:15 UTC (permalink / raw)
To: pgsql-jdbc
I doubt that anyone will have a problem if you rebase a *non-pulled PR*. But it is not me to decide.
From: Stephen Nelson [mailto:notifications@github.com]
Sent: Montag, 22. Juni 2015 22:03
To: pgjdbc/pgjdbc
Cc: Markus KARG
Subject: Re: [pgjdbc] chore: migrate the build to Maven (#322)
I've made a number of changes to add in the missing features:
* OSGI
* build.properties
* Distribution generation in zip, tar.gz and tar.bz2
* Javadoc generation
* Modified readme
I'm not sure if the correct github etiquette is to rebase my changes or just add the commits? Ideally if this gets merged in I'd like it to be a single commit rather than my many commits.
—
Reply to this email directly or view it on GitHub <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-114240955; . <https://github.com/notifications/beacon/ABn3t3VYbkTgaMfyJ292YhdbFXDiPaEsks5oWGGKgaJpZM4FCDIg.gif;
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [pgjdbc] chore: migrate the build to Maven (#322)
@ 2015-08-25 19:47 Markus KARG <markus@headcrashing.eu>
4 siblings, 0 replies; 5+ messages in thread
From: Markus KARG @ 2015-08-25 19:47 UTC (permalink / raw)
To: pgsql-jdbc
I need to correct you here. Maven is pretty happy with any number of artifacts per POM. All you need to do is to use the assembly plugin to supply a description of the content and name of each, and the plugin will care for packaging and deploying these.
-Markus
From: Stephen Nelson [mailto:notifications@github.com]
Sent: Dienstag, 25. August 2015 21:08
To: pgjdbc/pgjdbc
Cc: Markus KARG
Subject: Re: [pgjdbc] chore: migrate the build to Maven (#322)
@sehrope <https://github.com/sehrope; Ok I'll try that. If not we might need to go with multiple artifacts and as Maven expects one per pom.xml that would mean 3 poms which doesn't feel optimal.
—
Reply to this email directly or view it on GitHub <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-134704074; . <https://github.com/notifications/beacon/ABn3t8PXVgTFspPuBdfllapiz5GhfkRzks5orLSAgaJpZM4FCDIg.gif;
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [pgjdbc] chore: migrate the build to Maven (#322)
@ 2015-08-27 17:54 Markus KARG <markus@headcrashing.eu>
4 siblings, 0 replies; 5+ messages in thread
From: Markus KARG @ 2015-08-27 17:54 UTC (permalink / raw)
To: pgsql-jdbc
This is something Nexus should do automatically, if configured correctly. There is no manual way AFAIK.
From: Dave Cramer [mailto:notifications@github.com]
Sent: Donnerstag, 27. August 2015 15:44
To: pgjdbc/pgjdbc
Cc: Markus KARG
Subject: Re: [pgjdbc] chore: migrate the build to Maven (#322)
Does anyone know how to delete old snapshots from the oss version of nexus ?
Dave Cramer
On 25 August 2015 at 16:49, Vladimir Sitnikov <notifications@github.com>
wrote:
> To be honest I'm not seeing the upside in the amount of work that this is
> taking.
>
> Split modules would make "implements Connection" easier for different jre
> versions.
> Different modules would just use different JREs.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-134736426;.
>
—
Reply to this email directly or view it on GitHub <https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-135435711; . <https://github.com/notifications/beacon/ABn3t6ZtaOwdfRgxEtATi8uh-_zKnHHnks5orwu9gaJpZM4FCDIg.gif;
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2015-08-27 17:54 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-20 16:59 ` Markus KARG <markus@headcrashing.eu>
2015-06-20 20:07 ` Markus KARG <markus@headcrashing.eu>
2015-06-22 20:15 ` Markus KARG <markus@headcrashing.eu>
2015-08-25 19:47 ` Markus KARG <markus@headcrashing.eu>
2015-08-27 17:54 ` Markus KARG <markus@headcrashing.eu>
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