Skip to content

Commit 37e43fa

Browse files
authored
Test PostgreSQL JDBC SNAPSHOT driver (#1105)
1 parent 0909e3a commit 37e43fa

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

build.gradle

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,23 @@ allprojects {
156156
}
157157
}
158158

159-
// Temporarily uncomment the block below and update the four-digit number to allow building with Tomcat versions that
160-
// haven't been released yet. The "VOTE" emails sent to the Tomcat dev email list include a staging repo URL. In
161-
// addition to updating the url to match, you'll also need to update apacheTomcatVersion in gradle.properties.
159+
// To build and test Tomcat versions that haven't been released yet, temporarily uncomment the block below and update
160+
// the four-digit number. The "VOTE" emails sent to the Tomcat dev email list include a staging repo URL. In addition
161+
// to updating the url to match, you'll need to update apacheTomcatVersion in gradle.properties.
162162
// maven {
163163
// url "https://repository.apache.org/content/repositories/orgapachetomcat-1322/"
164164
// }
165+
166+
// To test SNAPSHOT PostgreSQL JDBC drivers locally, temporarily uncomment the block below and update the
167+
// postgresqlDriverVersion property in gradle.properties to a SNAPSHOT version (e.g., 42.7.7-SNAPSHOT). Note that
168+
// the writeDependenciesList task does not support SNAPSHOT versions, so you'll need to build with something like:
169+
//
170+
// ./gradlew deployApp -x writeDependenciesList
171+
//
172+
// maven {
173+
// url "https://oss.sonatype.org/content/repositories/snapshots/"
174+
// }
175+
165176
maven {
166177
// Mondrian dependencies are available via this repository. It's a direct dependency of the Query
167178
// module but is declared here as many modules depend on Query and therefore need it as well.

server/embedded/src/org/labkey/embedded/LabKeyServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import org.springframework.boot.autoconfigure.SpringBootApplication;
88
import org.springframework.boot.context.ApplicationPidFileWriter;
99
import org.springframework.boot.context.properties.ConfigurationProperties;
10-
import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer;
1110
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
1211
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
1312
import org.springframework.context.annotation.Bean;

0 commit comments

Comments
 (0)