pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feed[pgjdbc/pgjdbc] issue #3787: junit scope in *pom.xml
3+ messages / 2 participants
[nested] [flat]
* [pgjdbc/pgjdbc] issue #3787: junit scope in *pom.xml
@ 2025-09-04 14:15 "Dmole (@Dmole)" <[email protected]>
0 siblings, 0 replies; 3+ messages in thread
From: Dmole (@Dmole) @ 2025-09-04 14:15 UTC (permalink / raw)
To: pgjdbc/pgjdbc <[email protected]>
**Describe the issue**
The ~/.m2 file
org/postgresql/postgresql/42.7.7/postgresql-42.7.7.pom
seems to be most closely related to
https://github.com/pgjdbc/pgjdbc/blob/release/42.7.x/pgjdbc/reduced-pom.xml
but the former has
```
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.12.2</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
```
and the later has
```
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>%{org.junit.jupiter:junit-jupiter-params}</version>
<scope>test</scope>
</dependency>
```
**Driver Version?**
42.7.7
**To Reproduce**
Include pgjdbc in maven
**Expected behaviour**
junit* have scope test
**Actual behaviour**
junit* has scope runtime
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [pgjdbc/pgjdbc] issue #3787: junit scope in *pom.xml
@ 2025-09-04 15:00 "davecramer (@davecramer)" <[email protected]>
1 sibling, 0 replies; 3+ messages in thread
From: davecramer (@davecramer) @ 2025-09-04 15:00 UTC (permalink / raw)
To: pgjdbc/pgjdbc <[email protected]>
Please provide a PR
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [pgjdbc/pgjdbc] issue #3787: junit scope in *pom.xml
@ 2025-09-04 19:18 "Dmole (@Dmole)" <[email protected]>
1 sibling, 0 replies; 3+ messages in thread
From: Dmole (@Dmole) @ 2025-09-04 19:18 UTC (permalink / raw)
To: pgjdbc/pgjdbc <[email protected]>
https://github.com/pgjdbc/pgjdbc/blob/master/build-logic/publishing/src/main/kotlin/build-logic.publ...
appears to create postgresql-42.7.7.pom from pom-default.xml but pom-default.xml is not referenced anywhere else. Additionally the pom made by gradlew generatePomFileForPostgresqlPublication differs from what is on the maven repository
```
grep -c \<dependency ./pgjdbc/build/local-maven-repo/org/postgresql/postgresql/42.7.7-SNAPSHOT/postgresql-42.7.7-20250904.185040-1.pom
2
grep -c \<dependency ~/.m2/repository/org/postgresql/postgresql/42.7.7/postgresql-42.7.7.pom
5
```
Tracing the execution flow through the gradle is non-trivial:
```
./gradlew --debug generatePomFileForPostgresqlPublication | wc -l
66,148
```
@davecramer perhaps someone who is familiar with the project could indicate the source of the discrepancies.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2025-09-04 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-09-04 14:15 [pgjdbc/pgjdbc] issue #3787: junit scope in *pom.xml "Dmole (@Dmole)" <[email protected]>
2025-09-04 15:00 ` "davecramer (@davecramer)" <[email protected]>
2025-09-04 19:18 ` "Dmole (@Dmole)" <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox